summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-05-13 22:33:44 +0530
committerDennis Francis <dennis.francis@collabora.com>2020-06-22 22:32:36 +0200
commitfcb176a46c6ad9fa5bf09830141e01e204290aaf (patch)
tree8870c5d0ca8484536742d75eaeb364a2dc3dfc68 /sc
parent2a7d29c51dca6d23a677f1e12ae68b6d7fc71ad5 (diff)
add row/col limits to the JSON
Change-Id: I92cead8212f30d0cc9b811be21b6639830e84fa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96903 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 4df6a2d60a05..ff88024319c8 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2765,6 +2765,8 @@ OString ScTabView::getSheetGeometryData(bool bColumns, bool bRows, bool bSizes,
{
boost::property_tree::ptree aTree;
aTree.put("commandName", ".uno:SheetGeometryData");
+ aTree.put("maxtiledcolumn", MAXCOL);
+ aTree.put("maxtiledrow", MAXTILEDROW);
auto getJSONString = [](const boost::property_tree::ptree& rTree) {
std::stringstream aStream;