summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-04 10:38:45 +0200
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-04 10:40:52 +0200
commitad6c7bc74ca9aac32a47bc9428c36bf1d71c400a (patch)
treef09dd1f34cf6322e368a0f9e81faf3417d9af629
parente250a013bae4b58a9304518aefc6da0dab574103 (diff)
Fix -Werror=type-limits and -Werror=sign-compare
This time hopefully for real Change-Id: I5bf06a9353ea94aef04d862ab25dfc38129b2b12
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index c2f881973300..4ba7f2b79384 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 ) );