diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:19:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:22 +0100 |
commit | b98352996c24a3b21c52c32d62d0a7fdbc8e4246 (patch) | |
tree | 3f4a8c74e2bce383274ae6c0308d0db3c80161ff /sfx2 | |
parent | 564fe23374fa544c34875da0dd695cb8a939f0f2 (diff) |
framework: Use appropriate OUString functions on string constants
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/menu/mnuitem.cxx | 2 |
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 ) ); |