sw/source/uibase/uiview/viewdlg2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f6ff0c237bde50d1fab6b19d87000038b6f3f042 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Oct 27 14:32:52 2016 +0100 fix writer insert caption crash since... commit eca5ea9f79181d45cd7fbabe2313617d3025818a Date: Wed Sep 21 14:48:15 2016 +0200 Change-Id: I69b50df0ec19369fcd96d7d184c6d5f586a50b25 diff --git a/sw/source/uibase/uiview/viewdlg2.cxx b/sw/source/uibase/uiview/viewdlg2.cxx index 82adfbe..ae34348 100644 --- a/sw/source/uibase/uiview/viewdlg2.cxx +++ b/sw/source/uibase/uiview/viewdlg2.cxx @@ -54,7 +54,7 @@ void SwView::ExecDlgExt(SfxRequest &rReq) SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); assert(pFact && "SwAbstractDialogFactory fail!"); - std::unique_ptr<VclAbstractDialog> pDialog(pFact->CreateSwCaptionDialog( pMDI, *this )); + ScopedVclPtr<VclAbstractDialog> pDialog(pFact->CreateSwCaptionDialog( pMDI, *this )); assert(pDialog && "Dialog creation failed!"); if ( pDialog ) { @@ -66,7 +66,7 @@ void SwView::ExecDlgExt(SfxRequest &rReq) { SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); assert(pFact && "Dialog creation failed!"); - std::unique_ptr<AbstractInsFootNoteDlg> pDlg(pFact->CreateInsFootNoteDlg( + ScopedVclPtr<AbstractInsFootNoteDlg> pDlg(pFact->CreateInsFootNoteDlg( pMDI, *m_pWrtShell, true)); assert(pDlg && "Dialog creation failed!");
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits