summaryrefslogtreecommitdiff
path: root/uui/source/filechanged.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-06 14:21:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-07 13:27:55 +0000
commit2c8dc0373377a6e801c9a9246ffdc3641f3be4ec (patch)
tree12389cf068030129f4d9b9fc51e12bad45957888 /uui/source/filechanged.cxx
parent90d8bf72d9ea8fa678707326a3cc4b84fae154a1 (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 'uui/source/filechanged.cxx')
-rw-r--r--uui/source/filechanged.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/filechanged.cxx b/uui/source/filechanged.cxx
index 9b9946cf734f..33b5dee6b777 100644
--- a/uui/source/filechanged.cxx
+++ b/uui/source/filechanged.cxx
@@ -28,8 +28,8 @@ FileChangedQueryBox::FileChangedQueryBox( vcl::Window* pParent, ResMgr* pResMgr
SetImage( QueryBox::GetStandardImage() );
AddButton(ResId(STR_FILECHANGED_SAVEANYWAY_BTN, *pResMgr).toString(), RET_YES,
- BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON);
- AddButton( StandardButtonType::Cancel, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
+ ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus);
+ AddButton( StandardButtonType::Cancel, RET_CANCEL, ButtonDialogFlags::Cancel );
SetButtonHelpText( RET_YES, OUString() );
SetMessText(ResId(STR_FILECHANGED_MSG, *pResMgr).toString());