diff options
Diffstat (limited to 'sd/source/filter/ppt/propread.cxx')
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 00c62388a5e3..a8cb6dda470b 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -108,7 +108,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign ) rString = OUString(pWString, lcl_getMaxSafeStrLen(nItemSize)); } else - rString = OUString(); + rString.clear(); bRetValue = true; } else @@ -119,7 +119,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign ) if ( nItemSize > 1 ) rString = OUString(pString, rtl_str_getLength(pString), mnTextEnc); else - rString = OUString(); + rString.clear(); bRetValue = true; } } @@ -149,7 +149,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign ) if ( (sal_uInt16)nItemSize > 1 ) rString = OUString(pString, lcl_getMaxSafeStrLen(nItemSize)); else - rString = OUString(); + rString.clear(); bRetValue = true; } delete[] pString; |