[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sw/source

Ashod Nakashian ashod.nakashian at collabora.co.uk
Wed May 25 02:31:53 UTC 2016


 sw/source/core/crsr/viscrs.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit bc304ac66e56e6040bb810cfd23efbc35235eccb
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Tue May 24 22:01:38 2016 -0400

    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 at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 9833bcd..0a835dd 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


More information about the Libreoffice-commits mailing list