diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-16 10:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:03:44 +0000 |
commit | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch) | |
tree | 66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /drawinglayer | |
parent | 4e59eecc077d27dd9762e7c890b2aaf92a212959 (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 'drawinglayer')
5 files changed, 0 insertions, 57 deletions
diff --git a/drawinglayer/source/attribute/fillgraphicattribute.cxx b/drawinglayer/source/attribute/fillgraphicattribute.cxx index 9465af23b054..5331f47a4fc4 100644 --- a/drawinglayer/source/attribute/fillgraphicattribute.cxx +++ b/drawinglayer/source/attribute/fillgraphicattribute.cxx @@ -104,11 +104,6 @@ namespace drawinglayer { } - FillGraphicAttribute::FillGraphicAttribute() - : mpFillGraphicAttribute(theGlobalDefault::get()) - { - } - FillGraphicAttribute::FillGraphicAttribute(const FillGraphicAttribute& rCandidate) : mpFillGraphicAttribute(rCandidate.mpFillGraphicAttribute) { diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx index 110404e26e66..20d743d314ec 100644 --- a/drawinglayer/source/attribute/fontattribute.cxx +++ b/drawinglayer/source/attribute/fontattribute.cxx @@ -144,11 +144,6 @@ namespace drawinglayer { } - bool FontAttribute::isDefault() const - { - return mpFontAttribute.same_object(theGlobalDefault::get()); - } - FontAttribute& FontAttribute::operator=(const FontAttribute& rCandidate) { mpFontAttribute = rCandidate.mpFontAttribute; diff --git a/drawinglayer/source/attribute/materialattribute3d.cxx b/drawinglayer/source/attribute/materialattribute3d.cxx index 72fce36ac8b1..59d39a07265e 100644 --- a/drawinglayer/source/attribute/materialattribute3d.cxx +++ b/drawinglayer/source/attribute/materialattribute3d.cxx @@ -110,11 +110,6 @@ namespace drawinglayer { } - bool MaterialAttribute3D::isDefault() const - { - return mpMaterialAttribute3D.same_object(theGlobalDefault::get()); - } - MaterialAttribute3D& MaterialAttribute3D::operator=(const MaterialAttribute3D& rCandidate) { mpMaterialAttribute3D = rCandidate.mpMaterialAttribute3D; diff --git a/drawinglayer/source/attribute/sdrlightattribute3d.cxx b/drawinglayer/source/attribute/sdrlightattribute3d.cxx index 868bc9c4bf02..e249a88c2677 100644 --- a/drawinglayer/source/attribute/sdrlightattribute3d.cxx +++ b/drawinglayer/source/attribute/sdrlightattribute3d.cxx @@ -47,13 +47,6 @@ namespace drawinglayer { } - ImpSdr3DLightAttribute() - : maColor(), - maDirection(), - mbSpecular(false) - { - } - // data read access const basegfx::BColor& getColor() const { return maColor; } const basegfx::B3DVector& getDirection() const { return maDirection; } @@ -82,11 +75,6 @@ namespace drawinglayer { } - Sdr3DLightAttribute::Sdr3DLightAttribute() - : mpSdr3DLightAttribute(theGlobalDefault::get()) - { - } - Sdr3DLightAttribute::Sdr3DLightAttribute(const Sdr3DLightAttribute& rCandidate) : mpSdr3DLightAttribute(rCandidate.mpSdr3DLightAttribute) { @@ -96,11 +84,6 @@ namespace drawinglayer { } - bool Sdr3DLightAttribute::isDefault() const - { - return mpSdr3DLightAttribute.same_object(theGlobalDefault::get()); - } - Sdr3DLightAttribute& Sdr3DLightAttribute::operator=(const Sdr3DLightAttribute& rCandidate) { mpSdr3DLightAttribute = rCandidate.mpSdr3DLightAttribute; diff --git a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx index 8f7f93bef8b9..d513c39eb4aa 100644 --- a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx +++ b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx @@ -70,21 +70,6 @@ namespace drawinglayer { } - ImpSdr3DObjectAttribute() - : maNormalsKind(css::drawing::NormalsKind_SPECIFIC), - maTextureProjectionX(css::drawing::TextureProjectionMode_OBJECTSPECIFIC), - maTextureProjectionY(css::drawing::TextureProjectionMode_OBJECTSPECIFIC), - maTextureKind(css::drawing::TextureKind2_LUMINANCE), - maTextureMode(css::drawing::TextureMode_REPLACE), - maMaterial(), - mbNormalsInvert(false), - mbDoubleSided(false), - mbShadow3D(false), - mbTextureFilter(false), - mbReducedLineGeometry(false) - { - } - // data read access css::drawing::NormalsKind getNormalsKind() const { return maNormalsKind; } css::drawing::TextureProjectionMode getTextureProjectionX() const { return maTextureProjectionX; } @@ -143,20 +128,10 @@ namespace drawinglayer { } - Sdr3DObjectAttribute::Sdr3DObjectAttribute() - : mpSdr3DObjectAttribute(theGlobalDefault::get()) - { - } - Sdr3DObjectAttribute::~Sdr3DObjectAttribute() { } - bool Sdr3DObjectAttribute::isDefault() const - { - return mpSdr3DObjectAttribute.same_object(theGlobalDefault::get()); - } - Sdr3DObjectAttribute& Sdr3DObjectAttribute::operator=(const Sdr3DObjectAttribute& rCandidate) { mpSdr3DObjectAttribute = rCandidate.mpSdr3DObjectAttribute; |