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 /svx | |
parent | 402ae4c06c0935b0b2bfe9aeb6f961a65702e307 (diff) |
convert BUTTON_ constants to enum class
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/prtqry.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/layctrl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/prtqry.cxx b/svx/source/dialog/prtqry.cxx index 14a2c9a8d0d5..6d65338ce3ed 100644 --- a/svx/source/dialog/prtqry.cxx +++ b/svx/source/dialog/prtqry.cxx @@ -33,7 +33,7 @@ SvxPrtQryBox::SvxPrtQryBox(vcl::Window* pParent) : BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON); AddButton(SVX_RESSTR(RID_SVXSTR_QRY_PRINT_ALL), 2, 0); - AddButton(BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON); + AddButton(StandardButtonType::CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON); SetButtonHelpText( RET_OK, OUString() ); } diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index 53ed61eb72e2..3f7cfb924f3e 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -665,7 +665,7 @@ void ColumnsWindow::Paint( const Rectangle& ) if ( nCol ) aText = OUString::number(nCol); else - aText = comphelper::string::remove(Button::GetStandardText(BUTTON_CANCEL), '~'); + aText = comphelper::string::remove(Button::GetStandardText(StandardButtonType::CANCEL), '~'); Size aTextSize(GetTextWidth( aText ), GetTextHeight()); DrawText( Point( ( aSize.Width() - aTextSize.Width() ) / 2, aSize.Height() - nTextHeight + 2 ), aText ); |