[Libreoffice-commits] core.git: 2 commits - drawinglayer/source sc/source unusedcode.easy

Thomas Arnhold thomas at arnhold.org
Wed Sep 4 23:26:06 PDT 2013


 drawinglayer/source/attribute/fontattribute.cxx        |    5 -----
 drawinglayer/source/attribute/materialattribute3d.cxx  |    5 -----
 drawinglayer/source/attribute/sdrlightattribute3d.cxx  |    5 -----
 drawinglayer/source/attribute/sdrobjectattribute3d.cxx |    5 -----
 drawinglayer/source/geometry/viewinformation2d.cxx     |    5 -----
 sc/source/ui/sidebar/CellLineStyleValueSet.hxx         |    1 -
 unusedcode.easy                                        |    5 -----
 7 files changed, 31 deletions(-)

New commits:
commit 7329d9447611242637c8852deec82208cba6ec55
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Sep 5 08:25:39 2013 +0200

    WaE: -Wunused-private-field
    
    Change-Id: I9f1671d6d8a0b2b7d4c26cb2240a88ab6e74abe5

diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
index 711213c..9f66ce2 100644
--- a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
@@ -32,7 +32,6 @@ private:
     sal_uInt16      nSelItem;
     OUString        maStrUnit[CELL_LINE_STYLE_ENTRIES];
     Image           imgCus;
-    bool            bCusEnable;
 public:
     CellLineStyleValueSet( Window* pParent, const ResId& rResId);
     virtual ~CellLineStyleValueSet();
commit e03225451752ddbe9427d318d1d38c2cc1fbb764
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Sep 5 08:00:32 2013 +0200

    clean up after my cow wrapper changes
    
    Change-Id: I42fcce936750888388e80db24b529b7543f9f4bf

diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx
index 9f824ed..3a38068 100644
--- a/drawinglayer/source/attribute/fontattribute.cxx
+++ b/drawinglayer/source/attribute/fontattribute.cxx
@@ -145,11 +145,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 e0a920a..724211c 100644
--- a/drawinglayer/source/attribute/materialattribute3d.cxx
+++ b/drawinglayer/source/attribute/materialattribute3d.cxx
@@ -111,11 +111,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 8b900fb..cc4f2f1 100644
--- a/drawinglayer/source/attribute/sdrlightattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrlightattribute3d.cxx
@@ -92,11 +92,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 77926c5..7ecac3e 100644
--- a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
@@ -148,11 +148,6 @@ namespace drawinglayer
         {
         }
 
-        bool Sdr3DObjectAttribute::isDefault() const
-        {
-            return mpSdr3DObjectAttribute.same_object(theGlobalDefault::get());
-        }
-
         Sdr3DObjectAttribute& Sdr3DObjectAttribute::operator=(const Sdr3DObjectAttribute& rCandidate)
         {
             mpSdr3DObjectAttribute = rCandidate.mpSdr3DObjectAttribute;
diff --git a/drawinglayer/source/geometry/viewinformation2d.cxx b/drawinglayer/source/geometry/viewinformation2d.cxx
index 8d7bc4c..b362c01 100644
--- a/drawinglayer/source/geometry/viewinformation2d.cxx
+++ b/drawinglayer/source/geometry/viewinformation2d.cxx
@@ -447,11 +447,6 @@ namespace drawinglayer
         {
         }
 
-        bool ViewInformation2D::isDefault() const
-        {
-            return mpViewInformation2D.same_object(theGlobalDefault::get());
-        }
-
         ViewInformation2D& ViewInformation2D::operator=(const ViewInformation2D& rCandidate)
         {
             mpViewInformation2D = rCandidate.mpViewInformation2D;
diff --git a/unusedcode.easy b/unusedcode.easy
index 06a14a0..5b13ff3 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -117,12 +117,7 @@ connectivity::file::OStatement_Base::reset()
 connectivity::firebird::release(int&, cppu::OBroadcastHelperVar<cppu::OMultiTypeInterfaceContainerHelper, com::sun::star::uno::Type>&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&, com::sun::star::lang::XComponent*)
 connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
 connectivity::sdbcx::OGroup::OGroup(unsigned char)
-drawinglayer::attribute::FontAttribute::isDefault() const
-drawinglayer::attribute::MaterialAttribute3D::isDefault() const
-drawinglayer::attribute::Sdr3DLightAttribute::isDefault() const
-drawinglayer::attribute::Sdr3DObjectAttribute::isDefault() const
 drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize() const
-drawinglayer::geometry::ViewInformation2D::isDefault() const
 editeng::MisspellRange::MisspellRange()
 editeng::Section::Section()
 formula::DoubleVectorRefToken::GetArrayLength() const


More information about the Libreoffice-commits mailing list