diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-26 12:54:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 08:33:43 +0200 |
commit | 93ddb2cc0bedac9a97260826741f7dfcdca0947d (patch) | |
tree | ece9d5cc3e90cda21113c429439f0713a7921016 /dbaccess/source/ui/relationdesign | |
parent | 402ae4c06c0935b0b2bfe9aeb6f961a65702e307 (diff) |
convert BUTTON_ constants to enum class
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationTableView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx index ccee13854046..dd3861ba130e 100644 --- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx @@ -342,7 +342,7 @@ void ORelationTableView::lookForUiActivities() aDlg.RemoveButton(aDlg.GetButtonId(0)); aDlg.AddButton( ModuleRes(STR_QUERY_REL_EDIT), RET_OK, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_FOCUSBUTTON); aDlg.AddButton( ModuleRes(STR_QUERY_REL_CREATE), RET_YES, 0); - aDlg.AddButton(BUTTON_CANCEL,RET_CANCEL,0); + aDlg.AddButton( StandardButtonType::CANCEL,RET_CANCEL,0); sal_uInt16 nRet = aDlg.Execute(); if( nRet == RET_CANCEL) { |