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 /sfx2/source/doc | |
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 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/querytemplate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/querytemplate.cxx b/sfx2/source/doc/querytemplate.cxx index 3718e57922af..f61d8069ba3a 100644 --- a/sfx2/source/doc/querytemplate.cxx +++ b/sfx2/source/doc/querytemplate.cxx @@ -34,8 +34,8 @@ QueryTemplateBox::QueryTemplateBox( vcl::Window* pParent, const OUString& rMessa SetHelpId( HID_QUERY_LOAD_TEMPLATE ); AddButton( SfxResId( STR_QRYTEMPL_UPDATE_BTN ).toString(), RET_YES, - BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON ); - AddButton( SfxResId(STR_QRYTEMPL_KEEP_BTN).toString(), RET_NO, BUTTONDIALOG_CANCELBUTTON ); + ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus ); + AddButton( SfxResId(STR_QRYTEMPL_KEEP_BTN).toString(), RET_NO, ButtonDialogFlags::Cancel ); } } // end of namespace sfx2 |