diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-06-27 21:06:28 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-06-27 17:08:37 +0200 |
commit | 189aed797b52284aad5777788218742f65e64ee3 (patch) | |
tree | 49166fd0f0099a34f53aed6ad949bcea8929cb5b /sd/source/ui/annotations | |
parent | 5173341825ffb3f97462d2485c909e8fd45f8daa (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/source/ui/annotations')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 2 |
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(); } |