diff options
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index d58c488b5bc5..ba096454466e 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -156,7 +156,7 @@ VCL_BUILDER_FACTORY_ARGS(SvtIconChoiceCtrl, IconChoiceDialog::IconChoiceDialog ( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ) -: ModalDialog ( pParent, rID, rUIXMLDescription ), +: SfxModalDialog ( pParent, rID, rUIXMLDescription ), mnCurrentPageId ( USHRT_MAX ), pSet ( nullptr ), diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 2b7c014f2d1d..5bb4b530f4b8 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -30,6 +30,7 @@ #include <vcl/image.hxx> #include <vcl/layout.hxx> #include <sfx2/tabdlg.hxx> +#include <sfx2/basedlgs.hxx> #include <vector> // forward-declarations @@ -94,7 +95,7 @@ public: void DataChanged( const DataChangedEvent& rDCEvt ) override; }; -class IconChoiceDialog : public ModalDialog +class IconChoiceDialog : public SfxModalDialog { private: friend class IconChoicePage; |