From 2c8dc0373377a6e801c9a9246ffdc3641f3be4ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 May 2015 14:21:26 +0200 Subject: convert BUTTONDIALOG constants to scoped enum Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- uui/source/filechanged.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uui/source/filechanged.cxx') 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()); -- cgit v1.2.3