WaE: comparison between signed and unsigned integer expr.

This commit is contained in:
David Tardon 2011-03-29 17:17:59 +02:00
parent d575064888
commit 3387fc373b

View file

@ -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 );