summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r--sd/source/ui/view/drviews2.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 3097f9496542..6970fe0aeb28 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -1205,8 +1205,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
// First make sure the field is selected
OutlinerView* pOutView = mpDrawView->GetTextEditOutlinerView();
if (pOutView)
+ {
pOutView->SelectFieldAtCursor();
- URLFieldHelper::RemoveURLField(pOutView->GetEditView());
+ URLFieldHelper::RemoveURLField(pOutView->GetEditView());
+ }
}
}
Cancel();