summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/ppt/propread.cxx')
-rw-r--r--sd/source/filter/ppt/propread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index 43f35b2fe514..2c9b5b393e40 100644
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -164,7 +164,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign )
ReadUtf16( pString[ i ] );
if ( pString[ nItemSize - 1 ] == 0 )
{
- if ( (sal_uInt16)nItemSize > 1 )
+ if ( static_cast<sal_uInt16>(nItemSize) > 1 )
rString = OUString(pString.get(), lcl_getMaxSafeStrLen(nItemSize));
else
rString.clear();