summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index c46dbc2498a6..bc9037b43b1f 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -672,7 +672,7 @@ SmCategoryDesc::SmCategoryDesc(const ResId& rResId, sal_uInt16 nCategoryIdx) :
if (IsAvailableRes(ResId(nI2,*rResId.GetResMgr()).SetRT(RSC_STRING)))
{
- Strings [i] = new XubString(ResId(nI2,*rResId.GetResMgr()));
+ Strings [i] = new rtl::OUString(ResId::toString(ResId(nI2,*rResId.GetResMgr())));
Graphics [i] = new Bitmap(ResId(10*nI2,*rResId.GetResMgr()));
}
else