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

Jacobo Aragunde Pérez jaragunde at igalia.com
Thu Apr 3 15:10:54 PDT 2014


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 240b8c63ff67510a0694cee9ebec310157e24307
Author: Jacobo Aragunde Pérez <jaragunde at igalia.com>
Date:   Fri Apr 4 00:06:28 2014 +0200

    Fix -Werror=sign-compare
    
    Change-Id: I3c6ff1750d3e6aa6b3b19c957847289067fc5a54

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index a37282a..c2f8819 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2153,7 +2153,7 @@ static void impl_borderLine( FSHelperPtr pSerializer, sal_Int32 elementToken, co
     if( rStyleProps != NULL && pBorderLine && !pBorderLine->isEmpty() &&
             pBorderLine->GetBorderLineStyle() == rStyleProps->LineStyle &&
             pBorderLine->GetColor() == rStyleProps->Color &&
-            pBorderLine->GetWidth() == MM100_TO_TWIP_UNSIGNED( rStyleProps->LineWidth ) )
+            pBorderLine->GetWidth() == MM100_TO_TWIP( rStyleProps->LineWidth ) )
         return;
 
     pAttr->add( FSNS( XML_w, XML_val ), OString( pVal ) );


More information about the Libreoffice-commits mailing list