summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-16 10:11:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-18 10:03:44 +0000
commit2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch)
tree66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /include/drawinglayer
parent4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff)
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/attribute/fillgraphicattribute.hxx1
-rw-r--r--include/drawinglayer/attribute/fontattribute.hxx3
-rw-r--r--include/drawinglayer/attribute/materialattribute3d.hxx3
-rw-r--r--include/drawinglayer/attribute/sdrlightattribute3d.hxx5
-rw-r--r--include/drawinglayer/attribute/sdrobjectattribute3d.hxx4
-rw-r--r--include/drawinglayer/primitive3d/baseprimitive3d.hxx1
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx8
7 files changed, 0 insertions, 25 deletions
diff --git a/include/drawinglayer/attribute/fillgraphicattribute.hxx b/include/drawinglayer/attribute/fillgraphicattribute.hxx
index fc1b8029f9d6..87304c6cd71a 100644
--- a/include/drawinglayer/attribute/fillgraphicattribute.hxx
+++ b/include/drawinglayer/attribute/fillgraphicattribute.hxx
@@ -56,7 +56,6 @@ namespace drawinglayer
bool bTiling = false,
double fOffsetX = 0.0,
double fOffsetY = 0.0);
- FillGraphicAttribute();
FillGraphicAttribute(const FillGraphicAttribute& rCandidate);
FillGraphicAttribute& operator=(const FillGraphicAttribute& rCandidate);
~FillGraphicAttribute();
diff --git a/include/drawinglayer/attribute/fontattribute.hxx b/include/drawinglayer/attribute/fontattribute.hxx
index 82c183f6a486..1b35189a6993 100644
--- a/include/drawinglayer/attribute/fontattribute.hxx
+++ b/include/drawinglayer/attribute/fontattribute.hxx
@@ -71,9 +71,6 @@ namespace drawinglayer
FontAttribute& operator=(const FontAttribute& rCandidate);
~FontAttribute();
- // checks if the incarnation is default constructed
- bool isDefault() const;
-
// compare operator
bool operator==(const FontAttribute& rCandidate) const;
diff --git a/include/drawinglayer/attribute/materialattribute3d.hxx b/include/drawinglayer/attribute/materialattribute3d.hxx
index e5d3f68bef55..db144b7a030a 100644
--- a/include/drawinglayer/attribute/materialattribute3d.hxx
+++ b/include/drawinglayer/attribute/materialattribute3d.hxx
@@ -59,9 +59,6 @@ namespace drawinglayer
MaterialAttribute3D(const MaterialAttribute3D& rCandidate);
~MaterialAttribute3D();
- // checks if the incarnation is default constructed
- bool isDefault() const;
-
// assignment operator
MaterialAttribute3D& operator=(const MaterialAttribute3D& rCandidate);
diff --git a/include/drawinglayer/attribute/sdrlightattribute3d.hxx b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
index 49b9685b6177..3d91e54d7189 100644
--- a/include/drawinglayer/attribute/sdrlightattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
@@ -54,17 +54,12 @@ namespace drawinglayer
const basegfx::BColor& rColor,
const basegfx::B3DVector& rDirection,
bool bSpecular);
- explicit Sdr3DLightAttribute(const basegfx::BColor& rColor);
Sdr3DLightAttribute(const Sdr3DLightAttribute& rCandidate);
- Sdr3DLightAttribute();
~Sdr3DLightAttribute();
// assignment operator
Sdr3DLightAttribute& operator=(const Sdr3DLightAttribute& rCandidate);
- // checks if the incarnation is default constructed
- bool isDefault() const;
-
// compare operator
bool operator==(const Sdr3DLightAttribute& rCandidate) const;
diff --git a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
index 85019eff89b5..b4ea75bfbf87 100644
--- a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
@@ -64,15 +64,11 @@ namespace drawinglayer
bool bTextureFilter,
bool bReducedLineGeometry);
Sdr3DObjectAttribute(const Sdr3DObjectAttribute& rCandidate);
- Sdr3DObjectAttribute();
~Sdr3DObjectAttribute();
// assignment operator
Sdr3DObjectAttribute& operator=(const Sdr3DObjectAttribute& rCandidate);
- // checks if the incarnation is default constructed
- bool isDefault() const;
-
// compare operator
bool operator==(const Sdr3DObjectAttribute& rCandidate) const;
diff --git a/include/drawinglayer/primitive3d/baseprimitive3d.hxx b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
index 9cc610a52dcf..0fa964e7b91a 100644
--- a/include/drawinglayer/primitive3d/baseprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
@@ -60,7 +60,6 @@ namespace drawinglayer { namespace primitive3d {
explicit Primitive3DContainer( size_type count ) : vector(count) {}
Primitive3DContainer( const Primitive3DContainer& other ) : vector(other) {}
Primitive3DContainer( const Primitive3DContainer&& other ) : vector(other) {}
- Primitive3DContainer( const vector< Primitive3DReference >& other ) : vector(other) {}
Primitive3DContainer( std::initializer_list<Primitive3DReference> init ) : vector(init) {}
void append(const Primitive3DContainer& rSource);
diff --git a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
index bd30c33cca38..e9199c4d8087 100644
--- a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
@@ -64,14 +64,6 @@ namespace drawinglayer
maPolyPolygon.transform(aTransform);
}
- explicit Slice3D(
- const basegfx::B3DPolyPolygon& rPolyPolygon,
- SliceType3D aSliceType = SLICETYPE3D_REGULAR)
- : maPolyPolygon(rPolyPolygon),
- maSliceType(aSliceType)
- {
- }
-
// data access
const basegfx::B3DPolyPolygon& getB3DPolyPolygon() const { return maPolyPolygon; }
SliceType3D getSliceType() const { return maSliceType; }