summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-30 15:37:11 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-30 15:37:11 +0200
commita6cd6d0f70c5527d8ffff41425a87415fb0bf6ed (patch)
treed2d717a40797a4e82158acae88aa18683650d090
parent036057baeb33f79854f400cade701870cc750fc6 (diff)
coverity: bin superfluous copy ctors
-rw-r--r--src/lib/VSDXTypes.h51
1 files changed, 0 insertions, 51 deletions
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;
};