diff options
Diffstat (limited to 'sfx2/source/control/objface.cxx')
-rw-r--r-- | sfx2/source/control/objface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx index 9e253f0fa3cf..caf46f7c893d 100644 --- a/sfx2/source/control/objface.cxx +++ b/sfx2/source/control/objface.cxx @@ -422,7 +422,7 @@ SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId, if( ! aResId.GetResMgr() ) aResId.SetResMgr( SfxApplication::GetOrCreate()->GetOffResManager_Impl() ); if ( !aResId.GetResMgr() || !aResId.GetResMgr()->IsAvailable(aResId) ) - pUI->pName = new String (DEFINE_CONST_UNICODE("NoName")); + pUI->pName = new String ("NoName"); else pUI->pName = new String(aResId.toString()); } |