diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-14 12:41:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-14 16:28:38 +0200 |
commit | 38fa68b90ae50d9bf25cf22fef36e030282b44a3 (patch) | |
tree | 9ef976d7d9cc121c9e90bf669169793b0211bfd7 /svx/source/gallery2/galbrws1.cxx | |
parent | 76f30450577bcecf0423833884e3e5215decdd07 (diff) |
weld TitleDialog
Change-Id: I009da829e2b866844e67f976582e2a9d99bd22c0
Reviewed-on: https://gerrit.libreoffice.org/54316
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/gallery2/galbrws1.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 4958e41f3ae5..89b9af36a852 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -368,9 +368,9 @@ void GalleryBrowser1::ImplExecute(const OString &rIdent) const OUString aOldName( pTheme->GetName() ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - DBG_ASSERT(pFact, "Dialog creation failed!"); - ScopedVclPtr<AbstractTitleDialog> aDlg(pFact->CreateTitleDialog( this, aOldName )); - DBG_ASSERT(aDlg, "Dialog creation failed!"); + assert(pFact && "Dialog creation failed!"); + ScopedVclPtr<AbstractTitleDialog> aDlg(pFact->CreateTitleDialog(GetFrameWeld(), aOldName)); + assert(aDlg.get() && "Dialog creation failed!"); if( aDlg->Execute() == RET_OK ) { |