summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-26 09:31:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-03-26 12:18:09 +0100
commit723613ab5ca5e59387dcba63d31bdb66b88035c2 (patch)
treee788a13ab35a8eb610c24d453752695616a4c40b /cui/source
parent8a539e49c4fba49bbd810a90747e1993e69a9942 (diff)
need seen for seperate CUI_RESSSTR
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/customize/cfg.cxx10
-rw-r--r--cui/source/inc/dialmgr.hxx1
2 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index de3ed22d4447..a941f4f145d7 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2581,7 +2581,7 @@ IMPL_LINK( SvxMenuConfigPage, MenuSelectHdl, MenuButton *, pButton )
SvxConfigEntry* pMenuData = GetTopLevelSelection();
String aNewName( stripHotKey( pMenuData->GetName() ) );
- String aDesc = CUI_RESSSTR( RID_SVXSTR_LABEL_NEW_NAME );
+ String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME );
SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc );
pNameDialog->SetHelpId( HID_SVX_CONFIG_RENAME_MENU );
@@ -2639,7 +2639,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton )
case ID_ADD_SUBMENU:
{
String aNewName;
- String aDesc = CUI_RESSSTR( RID_SVXSTR_SUBMENU_NAME );
+ String aDesc = CUI_RESSTR( RID_SVXSTR_SUBMENU_NAME );
SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc );
pNameDialog->SetHelpId( HID_SVX_CONFIG_NAME_SUBMENU );
@@ -2685,7 +2685,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton )
(SvxConfigEntry*) pActEntry->GetUserData();
String aNewName( stripHotKey( pEntry->GetName() ) );
- String aDesc = CUI_RESSSTR( RID_SVXSTR_LABEL_NEW_NAME );
+ String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME );
SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc );
pNameDialog->SetHelpId( HID_SVX_CONFIG_RENAME_MENU_ITEM );
@@ -3318,7 +3318,7 @@ IMPL_LINK( SvxToolbarConfigPage, ToolbarSelectHdl, MenuButton *, pButton )
case ID_RENAME:
{
String aNewName( stripHotKey( pToolbar->GetName() ) );
- String aDesc = CUI_RESSSTR( RID_SVXSTR_LABEL_NEW_NAME );
+ String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME );
SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc );
pNameDialog->SetHelpId( HID_SVX_CONFIG_RENAME_TOOLBAR );
@@ -3409,7 +3409,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
(SvxConfigEntry*) pActEntry->GetUserData();
String aNewName( stripHotKey( pEntry->GetName() ) );
- String aDesc = CUI_RESSSTR( RID_SVXSTR_LABEL_NEW_NAME );
+ String aDesc = CUI_RESSTR( RID_SVXSTR_LABEL_NEW_NAME );
SvxNameDialog* pNameDialog = new SvxNameDialog( this, aNewName, aDesc );
pNameDialog->SetHelpId( HID_SVX_CONFIG_RENAME_TOOLBAR_ITEM );
diff --git a/cui/source/inc/dialmgr.hxx b/cui/source/inc/dialmgr.hxx
index de8931edbce7..29d3eef8bf69 100644
--- a/cui/source/inc/dialmgr.hxx
+++ b/cui/source/inc/dialmgr.hxx
@@ -37,7 +37,6 @@
#define CUI_MGR() (*CuiResMgr::GetResMgr())
#define CUI_RES(i) ResId(i,CUI_MGR())
#define CUI_RESSTR(i) UniString(ResId(i,CUI_MGR()))
-#define CUI_RESSSTR(i) String(ResId(i,CUI_MGR()))
class ResMgr;
struct CuiResMgr