From 7a5efaa02cbe4140c017d8777993479369c2f10a Mon Sep 17 00:00:00 2001 From: Marco Cecchetti Date: Wed, 13 Dec 2017 18:02:01 +0100 Subject: lok: sc: append the col, row position to the cell cursor message The payload changes from: "x, y, width, height" to: "x, y, width, height, column, row". This feature is exploited by online starting from the 3.0 release. This change is compatible with older online release: the column, row coordinates are just ignored. Change-Id: I7f8c0e3685c57ff20520ee068b215037f6137389 Reviewed-on: https://gerrit.libreoffice.org/46528 Tested-by: Jenkins Reviewed-by: Marco Cecchetti --- desktop/qa/desktop_lib/test_desktop_lib.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/qa') diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 71bd1af0adaf..ba76a8ca532d 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -774,7 +774,8 @@ void DesktopLOKTest::testCellCursor() boost::property_tree::read_json(aStream, aTree); OString aRectangle(aTree.get("commandValues").c_str()); - CPPUNIT_ASSERT_EQUAL(OString("0, 0, 1279, 255"), aRectangle); + // cell cursor geometry + col + row + CPPUNIT_ASSERT_EQUAL(OString("0, 0, 1279, 255, 0, 0"), aRectangle); comphelper::LibreOfficeKit::setActive(false); } -- cgit