diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-06 14:21:26 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-07 13:27:55 +0000 |
commit | 2c8dc0373377a6e801c9a9246ffdc3641f3be4ec (patch) | |
tree | 12389cf068030129f4d9b9fc51e12bad45957888 /basctl/source | |
parent | 90d8bf72d9ea8fa678707326a3cc4b84fae154a1 (diff) |
convert BUTTONDIALOG constants to scoped enum
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061
Reviewed-on: https://gerrit.libreoffice.org/15648
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 1af65b64180b..afaa5e2349f9 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -908,9 +908,9 @@ NameClashQueryBox::NameClashQueryBox( vcl::Window* pParent, maMessText = rMessage; AddButton( IDE_RESSTR(RID_STR_DLGIMP_CLASH_RENAME), RET_YES, - BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON ); - AddButton( IDE_RESSTR(RID_STR_DLGIMP_CLASH_REPLACE), RET_NO, 0 ); - AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); + ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus ); + AddButton( IDE_RESSTR(RID_STR_DLGIMP_CLASH_REPLACE), RET_NO ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, ButtonDialogFlags::Cancel ); SetImage( QueryBox::GetStandardImage() ); } @@ -932,10 +932,10 @@ LanguageMismatchQueryBox::LanguageMismatchQueryBox( vcl::Window* pParent, maMessText = rMessage; AddButton( IDE_RESSTR(RID_STR_DLGIMP_MISMATCH_ADD), RET_YES, - BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON ); - AddButton( IDE_RESSTR(RID_STR_DLGIMP_MISMATCH_OMIT), RET_NO, 0 ); - AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); - AddButton( StandardButtonType::Help, RET_HELP, BUTTONDIALOG_HELPBUTTON, 4 ); + ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus ); + AddButton( IDE_RESSTR(RID_STR_DLGIMP_MISMATCH_OMIT), RET_NO ); + AddButton( StandardButtonType::Cancel, RET_CANCEL, ButtonDialogFlags::Cancel ); + AddButton( StandardButtonType::Help, RET_HELP, ButtonDialogFlags::Help, 4 ); SetImage( QueryBox::GetStandardImage() ); } |