diff options
Diffstat (limited to 'sd/source/ui/dlg')
-rw-r--r-- | sd/source/ui/dlg/PhotoAlbumDialog.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index 18978ee448c8..adf5a386ee9f 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -26,6 +26,7 @@ #include <officecfg/Office/Impress.hxx> #include <svx/svdview.hxx> #include <vcl/msgbox.hxx> +#include <vcl/weld.hxx> #include <svx/unoshape.hxx> #include <svx/xfltrit.hxx> #include <svx/xfillit.hxx> @@ -490,8 +491,10 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, CreateHdl, Button*, void) } else { - ScopedVclPtrInstance< InfoBox > aInfo(this, OUString("Function is not implemented!")); - aInfo->Execute(); + std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(GetFrameWeld(), + VclMessageType::Info, VclButtonsType::Ok, + "Function is not implemented!")); + xInfoBox->run(); } EndDialog(); } |