diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 09:11:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 09:12:27 +0200 |
commit | 09cb92096919e5a7bf4cf5fe66689e312ebc7f9c (patch) | |
tree | 91af4abe382007a45f6e18c88eba11fc0fe5795f /sw/source/uibase/table | |
parent | loplugin:expandablemethods in sd (diff) | |
download | core-09cb92096919e5a7bf4cf5fe66689e312ebc7f9c.tar.gz core-09cb92096919e5a7bf4cf5fe66689e312ebc7f9c.zip |
convert std::unique_ptr<VclAbstractDialog> to VclPtr
Change-Id: Ifdd2a0599efd701def02b4a4d2a1c489cb1b27fa
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r-- | sw/source/uibase/table/tablemgr.cxx | 2 |
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(); } |