summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table/tablemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/table/tablemgr.cxx')
-rw-r--r--sw/source/uibase/table/tablemgr.cxx2
1 files changed, 1 insertions, 1 deletions
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<VclAbstractDialog> pDlg(pFact->CreateSwTableWidthDlg(pParent, *this));
+ ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateSwTableWidthDlg(pParent, *this));
OSL_ENSURE(pDlg, "Dialog creation failed!");
pDlg->Execute();
}