diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-27 09:33:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 09:33:39 +0200 |
commit | 28a1e1dded72badd8ad16417d29b56f9476035d6 (patch) | |
tree | 10d6755de986a389add869568a327224210abbfe /uui/source | |
parent | f2d556ca02827d0d77d06388bfe1a40739f4d1f8 (diff) |
fix macro and enum name collision using CamelCase
so that the enum names remain consistent
Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/alreadyopen.cxx | 4 | ||||
-rw-r--r-- | uui/source/filechanged.cxx | 2 | ||||
-rw-r--r-- | uui/source/lockfailed.cxx | 2 | ||||
-rw-r--r-- | uui/source/openlocked.cxx | 2 | ||||
-rw-r--r-- | uui/source/trylater.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/uui/source/alreadyopen.cxx b/uui/source/alreadyopen.cxx index d5cf01b0ff02..fa83bee182e7 100644 --- a/uui/source/alreadyopen.cxx +++ b/uui/source/alreadyopen.cxx @@ -32,14 +32,14 @@ AlreadyOpenQueryBox::AlreadyOpenQueryBox( vcl::Window* pParent, ResMgr* pResMgr, AddButton( ResId(STR_ALREADYOPEN_RETRY_SAVE_BTN, *pResMgr).toString(), RET_YES, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON ); AddButton( ResId(STR_ALREADYOPEN_SAVE_BTN, *pResMgr).toString(), RET_NO, 0 ); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); } else { AddButton( ResId(STR_ALREADYOPEN_READONLY_BTN, *pResMgr).toString(), RET_YES, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON ); AddButton( ResId(STR_ALREADYOPEN_OPEN_BTN, *pResMgr).toString(), RET_NO, 0 ); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); } SetButtonHelpText( RET_YES, OUString() ); diff --git a/uui/source/filechanged.cxx b/uui/source/filechanged.cxx index 5ab63f708293..9b9946cf734f 100644 --- a/uui/source/filechanged.cxx +++ b/uui/source/filechanged.cxx @@ -29,7 +29,7 @@ FileChangedQueryBox::FileChangedQueryBox( vcl::Window* pParent, ResMgr* pResMgr AddButton(ResId(STR_FILECHANGED_SAVEANYWAY_BTN, *pResMgr).toString(), RET_YES, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); SetButtonHelpText( RET_YES, OUString() ); SetMessText(ResId(STR_FILECHANGED_MSG, *pResMgr).toString()); diff --git a/uui/source/lockfailed.cxx b/uui/source/lockfailed.cxx index aa75130525eb..875add53d5c3 100644 --- a/uui/source/lockfailed.cxx +++ b/uui/source/lockfailed.cxx @@ -30,7 +30,7 @@ LockFailedQueryBox::LockFailedQueryBox( vcl::Window* pParent, ResMgr* pResMgr ) SetImage( ErrorBox::GetStandardImage() ); AddButton( StandardButtonType::OK, RET_OK, BUTTONDIALOG_OKBUTTON ); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); SetMessText(ResId(STR_LOCKFAILED_MSG, *pResMgr ).toString()); SetCheckBoxText(ResId(STR_LOCKFAILED_DONTSHOWAGAIN, *pResMgr).toString()); diff --git a/uui/source/openlocked.cxx b/uui/source/openlocked.cxx index a1618bb7ff91..ca6883e3fdc7 100644 --- a/uui/source/openlocked.cxx +++ b/uui/source/openlocked.cxx @@ -32,7 +32,7 @@ OpenLockedQueryBox::OpenLockedQueryBox( vcl::Window* pParent, ResMgr* pResMgr, c AddButton(ResId(STR_OPENLOCKED_OPENCOPY_BTN, *pResMgr).toString(), RET_NO, 0); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); SetButtonHelpText( RET_YES, OUString() ); SetButtonHelpText( RET_NO, OUString() ); diff --git a/uui/source/trylater.cxx b/uui/source/trylater.cxx index 1446397e0d19..3f5719f3c29d 100644 --- a/uui/source/trylater.cxx +++ b/uui/source/trylater.cxx @@ -30,7 +30,7 @@ TryLaterQueryBox::TryLaterQueryBox( vcl::Window* pParent, ResMgr* pResMgr, const AddButton(ResId(STR_TRYLATER_RETRYSAVING_BTN, *pResMgr).toString(), RET_YES, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON); AddButton(ResId(STR_TRYLATER_SAVEAS_BTN, *pResMgr).toString(), RET_NO, 0); - AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); SetButtonHelpText( RET_YES, OUString() ); SetButtonHelpText( RET_NO, OUString() ); |