diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-09 14:24:47 +0000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-11-20 09:47:13 +0100 |
commit | 19a50ab615497bec8effbadbfc5d8a5d8b633520 (patch) | |
tree | 0194b2db996779de44a5fde379a23a78e55322e6 /cui | |
parent | e9def9676ba4cfa5a89f823811fff6a2f68e242a (diff) |
tdf#113647 set parent for modal gallery dialog
Change-Id: I1de801eefba135819aee992ffce826309c1c7400
Reviewed-on: https://gerrit.libreoffice.org/44551
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index ef3775226053..ee7ea7b791aa 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1007,11 +1007,11 @@ VclPtr<AbstractGalleryIdDialog> AbstractDialogFactory_Impl::CreateGalleryIdDialo return VclPtr<AbstractGalleryIdDialog_Impl>::Create( pDlg ); } -VclPtr<VclAbstractDialog2> AbstractDialogFactory_Impl::CreateGalleryThemePropertiesDialog( +VclPtr<VclAbstractDialog2> AbstractDialogFactory_Impl::CreateGalleryThemePropertiesDialog(vcl::Window* pParent, ExchangeData* pData, SfxItemSet* pItemSet) { - VclPtrInstance<GalleryThemeProperties> pDlg( nullptr, pData, pItemSet); + VclPtrInstance<GalleryThemeProperties> pDlg(pParent, pData, pItemSet); return VclPtr<VclAbstractDialog2_Impl>::Create( pDlg ); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index e333254d3cc8..290a341035dd 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -531,7 +531,7 @@ public: const OUString& rOldText) override; virtual VclPtr<AbstractGalleryIdDialog> CreateGalleryIdDialog( vcl::Window* pParent, GalleryTheme* pThm) override; - virtual VclPtr<VclAbstractDialog2> CreateGalleryThemePropertiesDialog( + virtual VclPtr<VclAbstractDialog2> CreateGalleryThemePropertiesDialog(vcl::Window* pParent, ExchangeData* pData, SfxItemSet* pItemSet) override; virtual VclPtr<AbstractURLDlg> CreateURLDialog( vcl::Window* pParent, |