[Libreoffice-commits] .: 3 commits - comphelper/inc comphelper/source svx/source unusedcode.easy

Marc-André Laverdière malaverdiere at kemper.freedesktop.org
Sun Mar 4 18:53:16 PST 2012


 comphelper/inc/comphelper/accessibleselectionhelper.hxx |    2 --
 comphelper/inc/comphelper/accessibletexthelper.hxx      |    1 -
 comphelper/source/misc/accessibleselectionhelper.cxx    |    5 -----
 comphelper/source/misc/accessibletexthelper.cxx         |    6 ------
 svx/source/table/propertyset.cxx                        |   14 --------------
 svx/source/table/propertyset.hxx                        |    2 --
 unusedcode.easy                                         |    4 ----
 7 files changed, 34 deletions(-)

New commits:
commit 6457d8bf66c7860dcde037cda98a7d3363d6f651
Author: Marc-André Laverdière-Papineau <marc-andre at atc.tcs.com>
Date:   Sun Mar 4 20:31:05 2012 -0500

    Removed dead code

diff --git a/svx/source/table/propertyset.cxx b/svx/source/table/propertyset.cxx
index ef15231..9043a7c 100644
--- a/svx/source/table/propertyset.cxx
+++ b/svx/source/table/propertyset.cxx
@@ -40,12 +40,6 @@ namespace comphelper {
 // FastPropertySetInfo
 // -----------------------------------------------------------------------------
 
-FastPropertySetInfo::FastPropertySetInfo()
-{
-}
-
-// -----------------------------------------------------------------------------
-
 FastPropertySetInfo::FastPropertySetInfo( const PropertyVector& rProps )
 {
     addProperties( rProps );
@@ -59,14 +53,6 @@ FastPropertySetInfo::~FastPropertySetInfo()
 
 // -----------------------------------------------------------------------------
 
-void FastPropertySetInfo::addProperty( const Property& rProperty )
-{
-    maProperties.push_back( rProperty );
-    maMap[ rProperty.Name ] = maProperties.size() - 1;
-}
-
-// -----------------------------------------------------------------------------
-
 void FastPropertySetInfo::addProperties( const PropertyVector& rProps )
 {
     sal_uInt32 nIndex = maProperties.size();
diff --git a/svx/source/table/propertyset.hxx b/svx/source/table/propertyset.hxx
index 31cce85..3f1cc3f 100644
--- a/svx/source/table/propertyset.hxx
+++ b/svx/source/table/propertyset.hxx
@@ -52,11 +52,9 @@ typedef boost::unordered_map< ::rtl::OUString, ::sal_uInt32, ::rtl::OUStringHash
 class FastPropertySetInfo : public ::cppu::WeakAggImplHelper1< ::com::sun::star::beans::XPropertySetInfo >
 {
 public:
-    FastPropertySetInfo();
     FastPropertySetInfo( const PropertyVector& rProps );
     virtual ~FastPropertySetInfo();
 
-    void addProperty( const ::com::sun::star::beans::Property& rProperty );
     void addProperties( const PropertyVector& rProps );
 
     const ::com::sun::star::beans::Property& getProperty( const ::rtl::OUString& aName ) throw (::com::sun::star::beans::UnknownPropertyException );
diff --git a/unusedcode.easy b/unusedcode.easy
index 1fd951b..2f9f7df 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -886,8 +886,6 @@ canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRang
 cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&)
 cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&)
 comphelper::EventLogger::EventLogger(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&)
-comphelper::FastPropertySetInfo::FastPropertySetInfo()
-comphelper::FastPropertySetInfo::addProperty(com::sun::star::beans::Property const&)
 comphelper::MimeConfigurationHelper::GetFilterFlags(rtl::OUString const&)
 comphelper::OPropertyContainerHelper::modifyAttributes(int, int, int)
 comphelper::OSelectionChangeListener::disposeAdapter()
commit 1d6cadf516c682b9cad0a103519569da8a104016
Author: Marc-André Laverdière-Papineau <marc-andre at atc.tcs.com>
Date:   Sun Mar 4 20:26:22 2012 -0500

    Removed dead code

diff --git a/comphelper/inc/comphelper/accessibletexthelper.hxx b/comphelper/inc/comphelper/accessibletexthelper.hxx
index 4456c99..b47bc30 100644
--- a/comphelper/inc/comphelper/accessibletexthelper.hxx
+++ b/comphelper/inc/comphelper/accessibletexthelper.hxx
@@ -121,7 +121,6 @@ namespace comphelper
                                   public OAccessibleTextHelper_Base
     {
     protected:
-        OAccessibleTextHelper();
         // see the respective base class ctor for an extensive comment on this, please
         OAccessibleTextHelper( IMutex* _pExternalLock );
 
diff --git a/comphelper/source/misc/accessibletexthelper.cxx b/comphelper/source/misc/accessibletexthelper.cxx
index ffdd6c3..754aefe 100644
--- a/comphelper/source/misc/accessibletexthelper.cxx
+++ b/comphelper/source/misc/accessibletexthelper.cxx
@@ -790,12 +790,6 @@ namespace comphelper
     // OAccessibleTextHelper
     //==============================================================================
 
-    OAccessibleTextHelper::OAccessibleTextHelper()
-    {
-    }
-
-    // -----------------------------------------------------------------------------
-
     OAccessibleTextHelper::OAccessibleTextHelper( IMutex* _pExternalLock )
         :OAccessibleExtendedComponentHelper( _pExternalLock )
     {
diff --git a/unusedcode.easy b/unusedcode.easy
index 0f9a9e9..1fd951b 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -889,7 +889,6 @@ comphelper::EventLogger::EventLogger(com::sun::star::uno::Reference<com::sun::st
 comphelper::FastPropertySetInfo::FastPropertySetInfo()
 comphelper::FastPropertySetInfo::addProperty(com::sun::star::beans::Property const&)
 comphelper::MimeConfigurationHelper::GetFilterFlags(rtl::OUString const&)
-comphelper::OAccessibleTextHelper::OAccessibleTextHelper()
 comphelper::OPropertyContainerHelper::modifyAttributes(int, int, int)
 comphelper::OSelectionChangeListener::disposeAdapter()
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
commit 0586306a5481e3cb5f5c89bc5897c707b2f2dfd6
Author: Marc-André Laverdière-Papineau <marc-andre at atc.tcs.com>
Date:   Sun Mar 4 20:24:26 2012 -0500

    Removed dead code

diff --git a/comphelper/inc/comphelper/accessibleselectionhelper.hxx b/comphelper/inc/comphelper/accessibleselectionhelper.hxx
index d91693b..972113f 100644
--- a/comphelper/inc/comphelper/accessibleselectionhelper.hxx
+++ b/comphelper/inc/comphelper/accessibleselectionhelper.hxx
@@ -101,8 +101,6 @@ namespace comphelper
     {
     protected:
 
-        OAccessibleSelectionHelper( );
-
         /// see the respective base class ctor for an extensive comment on this, please
         OAccessibleSelectionHelper( IMutex* _pExternalLock );
 
diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx
index 64714cc..44fb4cb 100644
--- a/comphelper/source/misc/accessibleselectionhelper.cxx
+++ b/comphelper/source/misc/accessibleselectionhelper.cxx
@@ -115,11 +115,6 @@ namespace comphelper
     //=====================================================================
     //= OAccessibleSelectionHelper
     //=====================================================================
-    //---------------------------------------------------------------------
-    OAccessibleSelectionHelper::OAccessibleSelectionHelper( )
-    {
-    }
-
     //--------------------------------------------------------------------
     OAccessibleSelectionHelper::OAccessibleSelectionHelper( IMutex* _pExternalLock ) : OAccessibleComponentHelper(_pExternalLock)
     {
diff --git a/unusedcode.easy b/unusedcode.easy
index 8a5a54a..0f9a9e9 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -889,7 +889,6 @@ comphelper::EventLogger::EventLogger(com::sun::star::uno::Reference<com::sun::st
 comphelper::FastPropertySetInfo::FastPropertySetInfo()
 comphelper::FastPropertySetInfo::addProperty(com::sun::star::beans::Property const&)
 comphelper::MimeConfigurationHelper::GetFilterFlags(rtl::OUString const&)
-comphelper::OAccessibleSelectionHelper::OAccessibleSelectionHelper()
 comphelper::OAccessibleTextHelper::OAccessibleTextHelper()
 comphelper::OPropertyContainerHelper::modifyAttributes(int, int, int)
 comphelper::OSelectionChangeListener::disposeAdapter()


More information about the Libreoffice-commits mailing list