summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r--svx/source/svdraw/svdobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 35b89c0b9b16..e35c9940fc0b 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1096,7 +1096,7 @@ void SdrObject::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, rtl::OUString& rSt
if (nPos >= 0)
// Replace '%2' with the passed value.
rStr = rStr.replaceAt(
- nPos, 2, rtl::OUString::valueOf(static_cast<sal_Int32>(nVal)));
+ nPos, 2, OUString::number(nVal));
}
void SdrObject::ImpForcePlusData()