summaryrefslogtreecommitdiff
path: root/editeng/source/items/frmitems.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/frmitems.cxx')
-rw-r--r--editeng/source/items/frmitems.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index a35808f8618a..c486f0d71099 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -95,18 +95,18 @@ inline void SetValueProp( XubString& rStr, const sal_uInt16 nValue,
const sal_uInt16 nProp )
{
if( 100 == nProp )
- rStr += String::CreateFromInt32( nValue );
+ rStr += OUString::number( nValue );
else
- ( rStr += String::CreateFromInt32( nProp )) += sal_Unicode('%');
+ ( rStr += OUString::number( nProp )) += sal_Unicode('%');
}
inline void SetValueProp( XubString& rStr, const short nValue,
const sal_uInt16 nProp )
{
if( 100 == nProp )
- rStr += String::CreateFromInt32( nValue );
+ rStr += OUString::number( nValue );
else
- ( rStr += String::CreateFromInt32( nProp )) += sal_Unicode('%');
+ ( rStr += OUString::number( nProp )) += sal_Unicode('%');
}
// -----------------------------------------------------------------------