From a6cd6d0f70c5527d8ffff41425a87415fb0bf6ed Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 30 Jun 2012 15:37:11 +0200 Subject: coverity: bin superfluous copy ctors --- src/lib/VSDXTypes.h | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) (limited to 'src/lib') diff --git a/src/lib/VSDXTypes.h b/src/lib/VSDXTypes.h index 4d5d0c3..d150910 100644 --- a/src/lib/VSDXTypes.h +++ b/src/lib/VSDXTypes.h @@ -93,25 +93,6 @@ struct NURBSData knots(), weights(), points() {} - NURBSData(const NURBSData &data) - : lastKnot(data.lastKnot), - degree(data.degree), - xType(data.xType), - yType(data.yType), - knots(data.knots), - weights(data.weights), - points(data.points) {} - NURBSData &operator=(const NURBSData &data) - { - lastKnot = data.lastKnot; - degree = data.degree; - xType = data.xType; - yType = data.yType; - knots = data.knots; - weights = data.weights; - points = data.points; - return *this; - } }; struct PolylineData @@ -123,17 +104,6 @@ struct PolylineData : xType(0x00), yType(0x00), points() {} - PolylineData(const PolylineData &data) - : xType(data.xType), - yType(data.yType), - points(data.points) {} - PolylineData &operator=(const PolylineData &data) - { - xType = data.xType; - yType = data.yType; - points = data.points; - return *this; - } }; @@ -162,18 +132,6 @@ struct ForeignData width(0.0), height(0.0), data() {} - ForeignData(const ForeignData &fd) - : typeId(fd.typeId), - dataId(fd.dataId), - typeLevel(fd.typeLevel), - dataLevel(fd.dataLevel), - type(fd.type), - format(fd.format), - offsetX(fd.offsetX), - offsetY(fd.offsetY), - width(fd.width), - height(fd.height), - data(fd.data) {} }; enum TextFormat @@ -198,15 +156,6 @@ public: : m_data(data), m_format(format) {} VSDXName() : m_data(), m_format(VSD_TEXT_ANSI) {} - VSDXName(const VSDXName &element) - : m_data(element.m_data), - m_format(element.m_format) {} - VSDXName &operator=(const VSDXName &element) - { - m_data = element.m_data; - m_format = element.m_format; - return *this; - } WPXBinaryData m_data; TextFormat m_format; }; -- cgit v1.2.3