From bd249877a47bb1c97b46be1ff0b1b3c356ebd42d Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Mon, 2 Nov 2009 20:49:14 +0100 Subject: #i106421#: create new cui resource file --- cui/source/dialogs/dlgname.cxx | 58 +++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'cui/source/dialogs/dlgname.cxx') diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx index 12b58542f605..8cf36980decf 100644 --- a/cui/source/dialogs/dlgname.cxx +++ b/cui/source/dialogs/dlgname.cxx @@ -37,12 +37,12 @@ #include #include -#include +#include #include "dlgname.hxx" #include "defdlgname.hxx" //CHINA001 #include "dlgname.hrc" -#include +#include #define MAX_DESCRIPTION_LINES ((long)5) @@ -53,12 +53,12 @@ \************************************************************************/ SvxNameDialog::SvxNameDialog( Window* pWindow, const String& rName, const String& rDesc ) : - ModalDialog ( pWindow, SVX_RES( RID_SVXDLG_NAME ) ), - aFtDescription ( this, SVX_RES( FT_DESCRIPTION ) ), - aEdtName ( this, SVX_RES( EDT_STRING ) ), - aBtnOK ( this, SVX_RES( BTN_OK ) ), - aBtnCancel ( this, SVX_RES( BTN_CANCEL ) ), - aBtnHelp ( this, SVX_RES( BTN_HELP ) ) + ModalDialog ( pWindow, CUI_RES( RID_SVXDLG_NAME ) ), + aFtDescription ( this, CUI_RES( FT_DESCRIPTION ) ), + aEdtName ( this, CUI_RES( EDT_STRING ) ), + aBtnOK ( this, CUI_RES( BTN_OK ) ), + aBtnCancel ( this, CUI_RES( BTN_CANCEL ) ), + aBtnHelp ( this, CUI_RES( BTN_HELP ) ) { FreeResource(); @@ -101,13 +101,13 @@ IMPL_LINK(SvxNameDialog, ModifyHdl, Edit*, EMPTYARG) SvxObjectNameDialog::SvxObjectNameDialog( Window* pWindow, const String& rName) -: ModalDialog(pWindow, SVX_RES(RID_SVXDLG_OBJECT_NAME)), - aFtName(this, SVX_RES(NTD_FT_NAME)), - aEdtName(this, SVX_RES(NTD_EDT_NAME)), - aFlSeparator(this, SVX_RES(FL_SEPARATOR_A)), - aBtnHelp(this, SVX_RES(BTN_HELP)), - aBtnOK(this, SVX_RES(BTN_OK)), - aBtnCancel(this, SVX_RES(BTN_CANCEL)) +: ModalDialog(pWindow, CUI_RES(RID_SVXDLG_OBJECT_NAME)), + aFtName(this, CUI_RES(NTD_FT_NAME)), + aEdtName(this, CUI_RES(NTD_EDT_NAME)), + aFlSeparator(this, CUI_RES(FL_SEPARATOR_A)), + aBtnHelp(this, CUI_RES(BTN_HELP)), + aBtnOK(this, CUI_RES(BTN_OK)), + aBtnCancel(this, CUI_RES(BTN_CANCEL)) { FreeResource(); @@ -138,15 +138,15 @@ SvxObjectTitleDescDialog::SvxObjectTitleDescDialog( Window* pWindow, const String& rTitle, const String& rDescription) -: ModalDialog(pWindow, SVX_RES(RID_SVXDLG_OBJECT_TITLE_DESC)), - aFtTitle(this, SVX_RES(NTD_FT_TITLE)), - aEdtTitle(this, SVX_RES(NTD_EDT_TITLE)), - aFtDescription(this, SVX_RES(NTD_FT_DESC)), - aEdtDescription(this, SVX_RES(NTD_EDT_DESC)), - aFlSeparator(this, SVX_RES(FL_SEPARATOR_B)), - aBtnHelp(this, SVX_RES(BTN_HELP)), - aBtnOK(this, SVX_RES(BTN_OK)), - aBtnCancel(this, SVX_RES(BTN_CANCEL)) +: ModalDialog(pWindow, CUI_RES(RID_SVXDLG_OBJECT_TITLE_DESC)), + aFtTitle(this, CUI_RES(NTD_FT_TITLE)), + aEdtTitle(this, CUI_RES(NTD_EDT_TITLE)), + aFtDescription(this, CUI_RES(NTD_FT_DESC)), + aEdtDescription(this, CUI_RES(NTD_EDT_DESC)), + aFlSeparator(this, CUI_RES(FL_SEPARATOR_B)), + aBtnHelp(this, CUI_RES(BTN_HELP)), + aBtnOK(this, CUI_RES(BTN_OK)), + aBtnCancel(this, CUI_RES(BTN_CANCEL)) { FreeResource(); @@ -167,11 +167,11 @@ SvxObjectTitleDescDialog::SvxObjectTitleDescDialog( \************************************************************************/ SvxMessDialog::SvxMessDialog( Window* pWindow, const String& rText, const String& rDesc, Image* pImg ) : - ModalDialog ( pWindow, SVX_RES( RID_SVXDLG_MESSBOX ) ), - aFtDescription ( this, SVX_RES( FT_DESCRIPTION ) ), - aBtn1 ( this, SVX_RES( BTN_1 ) ), - aBtn2 ( this, SVX_RES( BTN_2 ) ), - aBtnCancel ( this, SVX_RES( BTN_CANCEL ) ), + ModalDialog ( pWindow, CUI_RES( RID_SVXDLG_MESSBOX ) ), + aFtDescription ( this, CUI_RES( FT_DESCRIPTION ) ), + aBtn1 ( this, CUI_RES( BTN_1 ) ), + aBtn2 ( this, CUI_RES( BTN_2 ) ), + aBtnCancel ( this, CUI_RES( BTN_CANCEL ) ), aFtImage ( this ) { FreeResource(); -- cgit