[Libreoffice-commits] core.git: writerfilter/source

Stephan Bergmann sbergman at redhat.com
Mon Jun 8 00:56:26 PDT 2015


 writerfilter/source/dmapper/NumberingManager.cxx |   18 ------------------
 1 file changed, 18 deletions(-)

New commits:
commit b0168403e2d090777b16bfcda742fce947dd136d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 8 09:55:44 2015 +0200

    loplugin:unreffun
    
    Change-Id: Id6171e120094b1f9b08c291b525b80c8670345b6

diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx
index e7bc722..4d4dae1 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -49,24 +49,6 @@ namespace dmapper {
 
 //---------------------------------------------------  Utility functions
 
-#ifdef DEBUG_WRITERFILTER
-void lcl_printProperties( uno::Sequence< beans::PropertyValue > const & aProps )
-{
-    sal_Int32 nLen = aProps.getLength( );
-    for ( sal_Int32 i = 0; i < nLen; i++ )
-    {
-        uno::Any aValue = aProps[i].Value;
-        sal_Int32 nValue = 0;
-        OUString sValue;
-
-        if ( !( aValue >>= sValue ) && ( aValue >>= nValue ) )
-            sValue = OUString::number( nValue );
-
-        SAL_INFO("writerfilter", "Property " << aProps[i].Name << ": " << sValue);
-    }
-}
-#endif
-
 sal_Int32 lcl_findProperty( const uno::Sequence< beans::PropertyValue >& aProps, const OUString& sName )
 {
     sal_Int32 i = 0;


More information about the Libreoffice-commits mailing list