summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsi.cxx')
-rw-r--r--sd/source/ui/view/drviewsi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx
index e969c84a3a16..930e9b0305ce 100644
--- a/sd/source/ui/view/drviewsi.cxx
+++ b/sd/source/ui/view/drviewsi.cxx
@@ -164,10 +164,10 @@ void DrawViewShell::AssignFrom3DWindow()
}
else
{
- InfoBox aInfoBox (
+ ScopedVclPtrInstance<InfoBox> aInfoBox (
GetActiveWindow(),
SD_RESSTR(STR_ACTION_NOTPOSSIBLE));
- aInfoBox.Execute();
+ aInfoBox->Execute();
}
// get focus back