summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-22 22:04:58 +0530
committerJan Holesovsky <kendy@collabora.com>2017-11-28 17:49:12 +0100
commitd7a6ca1778784379e3fa5474a40734fd6c6026c6 (patch)
tree38d801cebe744d20b800258dd3273e16fcca1d49
parentba37662d05b484d8bd311464b896f3b10c5e2925 (diff)
Use SfxModalDialog class as Hyperlink dialog's base
Change-Id: I1f592fdb5825896ad8fbe55c182936ed4ed98efc
-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 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;