diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-11-22 22:04:58 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-11-24 02:32:03 +0530 |
commit | 3dfd42ec03da97f555869bd36393912b82836108 (patch) | |
tree | 78e2c099714fe1f4fc5cf59e3f841befa76b5a99 | |
parent | 723aae2d5b800be159e423e3a0e8f3cc282b0020 (diff) |
Use SfxModalDialog class as Hyperlink dialog's base
Change-Id: I1f592fdb5825896ad8fbe55c182936ed4ed98efc
-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 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; |