summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-05-24 22:01:38 -0400
committerAshod Nakashian <ashnakash@gmail.com>2016-05-25 02:31:29 +0000
commitbc304ac66e56e6040bb810cfd23efbc35235eccb (patch)
tree05349a47affcf752ee3fc9b1aa1b25f7138663fd
parent0d7920952a8748e3e2f02f7b27d624598d974006 (diff)
lok don't supress start/end when there is selection
Change-Id: I347d90cfa5432e18b9a0091ab575c0833538d941 Reviewed-on: https://gerrit.libreoffice.org/25422 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--sw/source/core/crsr/viscrs.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 9833bcd529b8..0a835dd61ec9 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -364,8 +364,7 @@ void SwSelPaintRects::Show(std::vector<OString>* pSelectionRectangles)
// being edited.
if (comphelper::LibreOfficeKit::isActive() && !pView->GetTextEditObject())
{
- // If pSelectionRectangles is set, we're just collecting the text selections -> don't emit start/end.
- if (!empty() && !pSelectionRectangles)
+ if (!empty())
{
// The selection may be a complex polygon, emit the logical
// start/end cursor rectangle of the selection as separate