diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-11-22 22:04:58 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-19 14:55:31 +0100 |
commit | 749c38d5db9e11fc748e1cab00d46eb53f28ea54 (patch) | |
tree | 6cfc19f01bcd6657eadcdbc3178ad42b99aa30cf /cui | |
parent | 5bc6c41dd0d9cbbc556f15106017697762efdd80 (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.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; |