[Libreoffice-commits] core.git: 2 commits - sc/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 15 13:08:28 UTC 2020


 sc/source/ui/app/inputhdl.cxx |    2 +-
 sc/source/ui/view/gridwin.cxx |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 07ad277ce32410d02dca9933c005bac7fe0ce972
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Jul 8 10:08:05 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Jul 15 15:07:42 2020 +0200

    Empty reference marks on selection reset
    
    Change-Id: Id085b6b608335e1bcc085d7a8c972622a918f1ab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98316
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit 7e8bcf38f00b3c45a78ba7a60aeb9e6dee11a23e)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98341
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98813
    Tested-by: Jenkins

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 6e173754b79a..ab19bd42488f 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6387,6 +6387,8 @@ void ScGridWindow::UpdateSelectionOverlay()
         pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_TEXT_SELECTION, "EMPTY");
         pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_SELECTION_AREA, "EMPTY");
         SfxLokHelper::notifyOtherViews(pViewShell, LOK_CALLBACK_TEXT_VIEW_SELECTION, "selection", "EMPTY");
+        std::vector<ReferenceMark> aReferenceMarks;
+        ScInputHandler::SendReferenceMarks(pViewShell, aReferenceMarks);
     }
 
     if ( aOldMode != aDrawMode )
commit 9e3e318d9d20dc2d5738bdb6140567a0cfea8ff9
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jul 7 15:56:19 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Jul 15 15:07:27 2020 +0200

    Get correct tab for current selection
    
    Change-Id: Ie3146675a5b6cca5357fccc668ce17b859836147
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98315
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit 88417fb01bf03969970b574421a7688768dff6ef)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98340
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98814
    Tested-by: Jenkins

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 2211057458e0..a62887cbbb50 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -509,7 +509,7 @@ void ScInputHandler::UpdateLokReferenceMarks()
         long nX2 = rViewData.GetRefEndX();
         long nY1 = rViewData.GetRefStartY();
         long nY2 = rViewData.GetRefEndY();
-        long nTab = rViewData.GetRefTabNo();
+        long nTab = rViewData.GetTabNo();
 
         PutInOrder(nX1, nX2);
         PutInOrder(nY1, nY2);


More information about the Libreoffice-commits mailing list