summaryrefslogtreecommitdiff
path: root/sfx2/source/control/objface.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-25 23:10:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-26 13:34:03 +0100
commitd9a00ace2ce3423c1ac08eee0bd1fd36dace8d3e (patch)
tree2a3900905792268c39f0c9596a5eb9ecdc8a3c61 /sfx2/source/control/objface.cxx
parent4f25eb2c4eb7b5ce265eefe25a5ab84a39daf574 (diff)
tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
Diffstat (limited to 'sfx2/source/control/objface.cxx')
-rw-r--r--sfx2/source/control/objface.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index f6409c56eb0c..852fb40f9a0a 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -432,7 +432,7 @@ SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId,
if ( !aResId.GetResMgr() || !aResId.GetResMgr()->IsAvailable(aResId) )
pUI->pName = new String (DEFINE_CONST_UNICODE("NoName"));
else
- pUI->pName = new String(aResId);
+ pUI->pName = new String(aResId.toString());
}
else
pUI->pName = new String(*pStr);