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

Michael Stahl mstahl at redhat.com
Wed Apr 3 06:35:23 PDT 2013


 writerfilter/source/dmapper/StyleSheetTable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a61682bca23670a59e13ca6b46b27ca4a24e48d
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Apr 3 15:32:42 2013 +0200

    writerfilter: -Werror=sign-compare
    
    Change-Id: I3fd0dfee676e511fb882d46729c214fbab525651

diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 2a216fe..7fac285 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -240,7 +240,7 @@ PropertyMapPtr TableStyleSheetEntry::GetLocalPropertiesFromMask( sal_Int32 nMask
 
     // Get the properties applying according to the mask
     PropertyMapPtr pProps( new PropertyMap( ) );
-    for( int i = 0; i < sizeof( aOrderedStyleTable ); i++ )
+    for (size_t i = 0; i < sizeof(aOrderedStyleTable); ++i)
     {
         TblStylePrs::iterator pIt = m_aStyles.find( aOrderedStyleTable[ i ].type );
         if ( ( nMask & aOrderedStyleTable[ i ].mask ) && ( pIt != m_aStyles.end( ) ) )


More information about the Libreoffice-commits mailing list