Use SfxModalDialog class as Hyperlink dialog's base

Change-Id: I1f592fdb5825896ad8fbe55c182936ed4ed98efc
This commit is contained in:
Pranav Kant 2017-11-22 22:04:58 +05:30 committed by Jan Holesovsky
parent 084ba859b4
commit 2d508dcc9d
2 changed files with 3 additions and 2 deletions

View file

@ -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 ),

View file

@ -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;