diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 15:48:51 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2016-12-21 16:19:37 +0000 |
commit | 6b8ee3c9ba9b9262b34743a9f4e2a5b9dda4173f (patch) | |
tree | ba5bf03e1b94e30a76ac66d5dcd3c7749e3c568f /sfx2/source/view/viewfrm.cxx | |
parent | c7964e48b6d9a85d8d08ed3b7cbd58c117ac4e0a (diff) |
convert VclButtonsType to scoped enum
Change-Id: I9b91108c18e190060dc71546977aa8a3c11f06e1
Reviewed-on: https://gerrit.libreoffice.org/32285
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index c0e4c13f94bb..6e35adef40c1 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -462,7 +462,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) { // css::sdbcx::User offering to open it as a template ScopedVclPtrInstance<MessageDialog> aBox(&GetWindow(), SfxResId(STR_QUERY_OPENASTEMPLATE), - VclMessageType::Question, VCL_BUTTONS_YES_NO); + VclMessageType::Question, VclButtonsType::YesNo); if ( RET_YES == aBox->Execute() ) { SfxApplication* pApp = SfxGetpApp(); @@ -545,7 +545,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) !rReq.IsAPI() && ( !pSilentItem || !pSilentItem->GetValue() ) ) { ScopedVclPtrInstance<MessageDialog> aBox(&GetWindow(), SfxResId(STR_QUERY_LASTVERSION), - VclMessageType::Question, VCL_BUTTONS_YES_NO); + VclMessageType::Question, VclButtonsType::YesNo); bDo = ( RET_YES == aBox->Execute() ); } @@ -721,7 +721,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) { // ask user for opening as template ScopedVclPtrInstance<MessageDialog> aBox(&GetWindow(), SfxResId(STR_QUERY_OPENASTEMPLATE), - VclMessageType::Question, VCL_BUTTONS_YES_NO); + VclMessageType::Question, VclButtonsType::YesNo); if ( RET_YES == aBox->Execute() ) { SfxAllItemSet aSet( pApp->GetPool() ); |