Use SfxModalDialog class as Hyperlink dialog's base
Change-Id: I1f592fdb5825896ad8fbe55c182936ed4ed98efc
This commit is contained in:
parent
084ba859b4
commit
2d508dcc9d
2 changed files with 3 additions and 2 deletions
|
@ -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 ),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue