summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fulinend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fulinend.cxx')
-rw-r--r--sd/source/ui/func/fulinend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fulinend.cxx b/sd/source/ui/func/fulinend.cxx
index e8f441cc7398..b963b06e5cf8 100644
--- a/sd/source/ui/func/fulinend.cxx
+++ b/sd/source/ui/func/fulinend.cxx
@@ -138,9 +138,9 @@ void FuLineEnd::DoExecute( SfxRequest& )
}
else
{
- WarningBox aWarningBox( mpWindow, WinBits( WB_OK ),
+ ScopedVclPtrInstance<WarningBox> aWarningBox( mpWindow, WinBits( WB_OK ),
SD_RESSTR( STR_WARN_NAME_DUPLICATE ) );
- aWarningBox.Execute();
+ aWarningBox->Execute();
}
}
}