diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/html/pubdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<MessageDialog> 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<MessageDialog> 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() ); } |