summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/iconcdlg.cxx2
-rw-r--r--cui/source/inc/iconcdlg.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 245a203e0c48..41475c00233b 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -147,7 +147,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 2c82ead2534c..c5df3f09c70d 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -28,6 +28,7 @@
#include <vcl/image.hxx>
#include <vcl/layout.hxx>
#include <sfx2/tabdlg.hxx>
+#include <sfx2/basedlgs.hxx>
#include <vector>
// forward-declarations
@@ -92,7 +93,7 @@ public:
void DataChanged( const DataChangedEvent& rDCEvt ) override;
};
-class IconChoiceDialog : public ModalDialog
+class IconChoiceDialog : public SfxModalDialog
{
private:
friend class IconChoicePage;