[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - 2 commits - sc/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 8 09:34:33 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 88417fb01bf03969970b574421a7688768dff6ef
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 8 11:34:12 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>
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 8fb3ae746c18..e240f3e57cc0 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -508,7 +508,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);
commit 7e8bcf38f00b3c45a78ba7a60aeb9e6dee11a23e
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 8 11:33:57 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>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 2ffc54a129b8..6d354e93ae4b 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6393,6 +6393,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 )
More information about the Libreoffice-commits
mailing list