summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fumeasur.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fumeasur.cxx')
-rw-r--r--sd/source/ui/func/fumeasur.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx
index 73fef5805709..204e1f1ec9a3 100644
--- a/sd/source/ui/func/fumeasur.cxx
+++ b/sd/source/ui/func/fumeasur.cxx
@@ -57,7 +57,7 @@ void FuMeasureDlg::DoExecute( SfxRequest& rReq )
if( !pArgs )
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- std::unique_ptr<SfxAbstractDialog> pDlg( pFact ? pFact->CreateSfxDialog( nullptr, aNewAttr, mpView, RID_SVXPAGE_MEASURE) : nullptr );
+ ScopedVclPtr<SfxAbstractDialog> pDlg( pFact ? pFact->CreateSfxDialog( nullptr, aNewAttr, mpView, RID_SVXPAGE_MEASURE) : nullptr );
if( pDlg.get() && (pDlg->Execute() == RET_OK) )
{