[Libreoffice-commits] core.git: sw/source
Jacobo Aragunde Pérez
jaragunde at igalia.com
Fri Apr 4 01:41:30 PDT 2014
sw/source/filter/ww8/docxattributeoutput.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ad6c7bc74ca9aac32a47bc9428c36bf1d71c400a
Author: Jacobo Aragunde Pérez <jaragunde at igalia.com>
Date: Fri Apr 4 10:38:45 2014 +0200
Fix -Werror=type-limits and -Werror=sign-compare
This time hopefully for real
Change-Id: I5bf06a9353ea94aef04d862ab25dfc38129b2b12
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index c2f8819..4ba7f2b 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( rStyleProps->LineWidth ) )
+ (sal_uInt32) pBorderLine->GetWidth() == MM100_TO_TWIP_UNSIGNED( rStyleProps->LineWidth ) )
return;
pAttr->add( FSNS( XML_w, XML_val ), OString( pVal ) );
More information about the Libreoffice-commits
mailing list