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 /svx/source/dialog/prtqry.cxx | |
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 'svx/source/dialog/prtqry.cxx')
-rw-r--r-- | svx/source/dialog/prtqry.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/prtqry.cxx b/svx/source/dialog/prtqry.cxx index 9a6d750f9774..b67d5916473d 100644 --- a/svx/source/dialog/prtqry.cxx +++ b/svx/source/dialog/prtqry.cxx @@ -30,10 +30,10 @@ SvxPrtQryBox::SvxPrtQryBox(vcl::Window* pParent) : SetImage( QueryBox::GetStandardImage() ); AddButton(SVX_RESSTR(RID_SVXSTR_QRY_PRINT_SELECTION), RET_OK, - BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON); + ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus); - AddButton(SVX_RESSTR(RID_SVXSTR_QRY_PRINT_ALL), 2, 0); - AddButton(StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON); + AddButton(SVX_RESSTR(RID_SVXSTR_QRY_PRINT_ALL), 2); + AddButton(StandardButtonType::Cancel, RET_CANCEL, ButtonDialogFlags::Cancel); SetButtonHelpText( RET_OK, OUString() ); } |