summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-06-27 21:06:28 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-06-27 17:08:37 +0200
commit189aed797b52284aad5777788218742f65e64ee3 (patch)
tree49166fd0f0099a34f53aed6ad949bcea8929cb5b /sd
parent5173341825ffb3f97462d2485c909e8fd45f8daa (diff)
use ESelection::NoSelection() instead of manually setting values
Change-Id: I65f378d0178c0fcd209dc629f49befacfce02de2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169640 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 1430e2875e28..14952248f5e6 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -351,7 +351,7 @@ void AnnotationWindow::FillMenuButton()
void AnnotationWindow::StartEdit()
{
- GetOutlinerView()->SetSelection(ESelection(EE_PARA_MAX_COUNT,EE_TEXTPOS_MAX_COUNT,EE_PARA_MAX_COUNT,EE_TEXTPOS_MAX_COUNT));
+ GetOutlinerView()->SetSelection(ESelection::NoSelection());
GetOutlinerView()->ShowCursor();
}