summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:19:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:22 +0100
commitb98352996c24a3b21c52c32d62d0a7fdbc8e4246 (patch)
tree3f4a8c74e2bce383274ae6c0308d0db3c80161ff /sfx2
parent564fe23374fa544c34875da0dd695cb8a939f0f2 (diff)
framework: Use appropriate OUString functions on string constants
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/menu/mnuitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index 49fe481d54b6..32797e37757a 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -314,7 +314,7 @@ SfxAppMenuControl_Impl::SfxAppMenuControl_Impl(
::framework::MenuConfiguration aConf( ::comphelper::getProcessComponentContext() );
Reference<com::sun::star::frame::XFrame> aXFrame( GetBindings().GetDispatcher_Impl()->GetFrame()->GetFrame().GetFrameInterface() );
- pMenu = aConf.CreateBookmarkMenu( aXFrame, GetId() == SID_NEWDOCDIRECT ? BOOKMARK_NEWMENU : BOOKMARK_WIZARDMENU );
+ pMenu = aConf.CreateBookmarkMenu( aXFrame, GetId() == SID_NEWDOCDIRECT ? OUString(BOOKMARK_NEWMENU) : OUString(BOOKMARK_WIZARDMENU) );
if( pMenu )
{
pMenu->SetSelectHdl( Link( &(this->GetBindings()), Select_Impl ) );