summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-03-29 17:17:59 +0200
committerDavid Tardon <dtardon@redhat.com>2011-03-29 17:17:59 +0200
commit15e66f2e60774c79df4f87421b13e48e44486c22 (patch)
treeb2488f686b23bec0cc7f382570246568a2ddccdf
parentb8cd2caeaa4cd7b57f667e981d9df8b5be592144 (diff)
WaE: comparison between signed and unsigned integer expr.
-rw-r--r--starmath/source/cfgitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 714f1d510d..8ed4121094 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -816,7 +816,7 @@ void SmMathConfig::SaveFontFormatList()
pVal->Value <<= (sal_Int16) aFntFmt.nItalic;
pVal++;
}
- OSL_ENSURE( pVal - pValues == nCount * nSymbolProps, "properties missing" );
+ OSL_ENSURE( sal::static_int_cast<size_t>(pVal - pValues) == nCount * nSymbolProps, "properties missing" );
ReplaceSetProperties( A2OU( FONT_FORMAT_LIST ) , aValues );
rFntFmtList.SetModified( false );