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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx
index e969c84a3a16..e15f19627216 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 (
+ VclPtr<InfoBox> aInfoBox (new InfoBox(
GetActiveWindow(),
- SD_RESSTR(STR_ACTION_NOTPOSSIBLE));
- aInfoBox.Execute();
+ SD_RESSTR(STR_ACTION_NOTPOSSIBLE)));
+ aInfoBox->Execute();
}
// get focus back