From 1edb495a45fde1d788b409fd1a9a839bd370c426 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Thu, 15 Aug 2013 16:56:09 +0400 Subject: convert GetName/Title/Description methods to OUString Change-Id: Id16a2b29b1d6cf02b94cc6c423e2475a9cbeb8a3 --- cui/source/customize/cfg.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cui/source/customize/cfg.cxx') diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 8cf9483c56b7..7e1d9a36defb 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -2535,7 +2535,7 @@ IMPL_LINK( SvxMenuConfigPage, MenuSelectHdl, MenuButton *, pButton ) { SvxConfigEntry* pMenuData = GetTopLevelSelection(); - String aNewName( stripHotKey( pMenuData->GetName() ) ); + OUString aNewName( stripHotKey( pMenuData->GetName() ) ); String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME ); SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc ); @@ -2593,7 +2593,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton ) { case ID_ADD_SUBMENU: { - String aNewName; + OUString aNewName; String aDesc = CUI_RESSTR( RID_SVXSTR_SUBMENU_NAME ); SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc ); @@ -2639,7 +2639,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton ) SvxConfigEntry* pEntry = (SvxConfigEntry*) pActEntry->GetUserData(); - String aNewName( stripHotKey( pEntry->GetName() ) ); + OUString aNewName( stripHotKey( pEntry->GetName() ) ); String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME ); SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc ); @@ -3272,7 +3272,7 @@ IMPL_LINK( SvxToolbarConfigPage, ToolbarSelectHdl, MenuButton *, pButton ) } case ID_RENAME: { - String aNewName( stripHotKey( pToolbar->GetName() ) ); + OUString aNewName( stripHotKey( pToolbar->GetName() ) ); String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME ); SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc ); @@ -3363,7 +3363,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton ) SvxConfigEntry* pEntry = (SvxConfigEntry*) pActEntry->GetUserData(); - String aNewName( stripHotKey( pEntry->GetName() ) ); + OUString aNewName( stripHotKey( pEntry->GetName() ) ); String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME ); SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc ); -- cgit