summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--svx/source/svdraw/svdopath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 28b449442522..48726caa1ee9 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -1969,7 +1969,7 @@ void SdrPathObj::TakeObjNameSingul(XubString& rName) const
if(STRING_NOTFOUND != nPos)
{
rName.Erase(nPos, 2);
- rName.Insert(UniString::CreateFromInt32(nPointCount), nPos);
+ rName.Insert(rtl::OUString::valueOf(static_cast<sal_Int32>(nPointCount)), nPos);
}
}
}