[Libreoffice-commits] .: 2 commits - filter/source writerfilter/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Thu Feb 24 11:04:25 PST 2011


 filter/source/flash/swfwriter.hxx           |    2 --
 writerfilter/source/dmapper/PropertyMap.cxx |    1 -
 2 files changed, 3 deletions(-)

New commits:
commit a880f4a26554250bc2aa2e1343b55b2599cbfbc2
Author: Michael Lefevre <lefevre00 at yahoo.fr>
Date:   Wed Feb 23 23:03:34 2011 +0100

    Remove more commented unused variables
    
    Keep cleaning the code, line by line.

diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index e758a6f..35e04ab 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -197,9 +197,7 @@ public:
     void write( SvStream& out );
 
     void addUI32( sal_uInt32 nValue );
-    //unused as of yet void addI32( sal_Int32 nValue );
     void addUI16( sal_uInt16 nValue );
-    //unused as of yet void addI16( sal_Int16 nValue );
     void addUI8( sal_uInt8 nValue );
     void addBits( BitStream& rIn );
 
commit 788cf6d328eaf82418d64da6cae8dca6987cd8cf
Author: Michael Lefevre <lefevre00 at yahoo.fr>
Date:   Wed Feb 23 22:47:27 2011 +0100

    Remove unused commented variable

diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index 07fee7f..1d07cb4 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -420,7 +420,6 @@ void SectionPropertyMap::ApplyBorderToPageStyles(
     uno::Reference< beans::XPropertySet >  xFirst;
     uno::Reference< beans::XPropertySet >  xSecond;
     sal_Int32 nOffsetFrom = (nValue & 0x00E0) >> 5;
-    //sal_Int32 bPageDepth = (nValue & 0x0018) >> 3; //unused infromation: 0 - in front 1 - in back
     //todo: negative spacing (from ww8par6.cxx)
     switch( nValue & 0x07)
     {


More information about the Libreoffice-commits mailing list