From 09cb92096919e5a7bf4cf5fe66689e312ebc7f9c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Oct 2016 09:11:02 +0200 Subject: convert std::unique_ptr to VclPtr Change-Id: Ifdd2a0599efd701def02b4a4d2a1c489cb1b27fa --- sw/source/uibase/table/tablemgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/table') diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx index b2e7cd076a66..af57206b04a2 100644 --- a/sw/source/uibase/table/tablemgr.cxx +++ b/sw/source/uibase/table/tablemgr.cxx @@ -56,7 +56,7 @@ void SwTableFUNC::ColWidthDlg( vcl::Window *pParent ) SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); - std::unique_ptr pDlg(pFact->CreateSwTableWidthDlg(pParent, *this)); + ScopedVclPtr pDlg(pFact->CreateSwTableWidthDlg(pParent, *this)); OSL_ENSURE(pDlg, "Dialog creation failed!"); pDlg->Execute(); } -- cgit