summaryrefslogtreecommitdiff
path: root/uui/source/lockfailed.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-26 12:54:04 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 08:33:43 +0200
commit93ddb2cc0bedac9a97260826741f7dfcdca0947d (patch)
treeece9d5cc3e90cda21113c429439f0713a7921016 /uui/source/lockfailed.cxx
parent402ae4c06c0935b0b2bfe9aeb6f961a65702e307 (diff)
convert BUTTON_ constants to enum class
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
Diffstat (limited to 'uui/source/lockfailed.cxx')
-rw-r--r--uui/source/lockfailed.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/lockfailed.cxx b/uui/source/lockfailed.cxx
index 48c4f23a935d..aa75130525eb 100644
--- a/uui/source/lockfailed.cxx
+++ b/uui/source/lockfailed.cxx
@@ -29,8 +29,8 @@ LockFailedQueryBox::LockFailedQueryBox( vcl::Window* pParent, ResMgr* pResMgr )
{
SetImage( ErrorBox::GetStandardImage() );
- AddButton( BUTTON_OK, RET_OK, BUTTONDIALOG_OKBUTTON );
- AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
+ AddButton( StandardButtonType::OK, RET_OK, BUTTONDIALOG_OKBUTTON );
+ AddButton( StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
SetMessText(ResId(STR_LOCKFAILED_MSG, *pResMgr ).toString());
SetCheckBoxText(ResId(STR_LOCKFAILED_DONTSHOWAGAIN, *pResMgr).toString());