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