From 6b8ee3c9ba9b9262b34743a9f4e2a5b9dda4173f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Dec 2016 15:48:51 +0200 Subject: convert VclButtonsType to scoped enum Change-Id: I9b91108c18e190060dc71546977aa8a3c11f06e1 Reviewed-on: https://gerrit.libreoffice.org/32285 Tested-by: Jenkins Reviewed-by: Thomas Arnhold --- sd/source/filter/html/pubdlg.cxx | 2 +- sd/source/ui/func/fupage.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 00878d6d8bf9..7da385f1cab6 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -1153,7 +1153,7 @@ IMPL_LINK_NOARG(SdPublishingDlg, FinishHdl, Button*, void) if (iter != m_aDesignList.end()) { ScopedVclPtrInstance aErrorBox(this, SD_RESSTR(STR_PUBDLG_SAMENAME), - VclMessageType::Error, VCL_BUTTONS_YES_NO); + VclMessageType::Error, VclButtonsType::YesNo); bRetry = aErrorBox->Execute() == RET_NO; if(!bRetry) diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index 998e15756133..6bf77d4ad1ff 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -379,7 +379,7 @@ const SfxItemSet* FuPage::ExecuteDialog( vcl::Window* pParent ) { ScopedVclPtrInstance aQuestionBox( pParent, SD_RESSTR(STR_PAGE_BACKGROUND_TXT), - VclMessageType::Question, VCL_BUTTONS_YES_NO); + VclMessageType::Question, VclButtonsType::YesNo); aQuestionBox->SetText(SD_RESSTR(STR_PAGE_BACKGROUND_TITLE)); bSetToAllPages = ( RET_YES == aQuestionBox->Execute() ); } -- cgit