summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-22 22:04:58 +0530
committerAndras Timar <andras.timar@collabora.com>2018-03-19 14:55:31 +0100
commit749c38d5db9e11fc748e1cab00d46eb53f28ea54 (patch)
tree6cfc19f01bcd6657eadcdbc3178ad42b99aa30cf /cui
parent5bc6c41dd0d9cbbc556f15106017697762efdd80 (diff)
Use SfxModalDialog class as Hyperlink dialog's base
Change-Id: I1f592fdb5825896ad8fbe55c182936ed4ed98efc (cherry picked from commit 2d508dcc9d6e9d589af32a76468ef3247f8c6674)
Diffstat (limited to 'cui')
-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;