summaryrefslogtreecommitdiff
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-05-25 00:39:53 +0530
commit8173d6894e46c8522c29ac233fa6a7a3c856de2f (patch)
treeb29ac17880a9247a774103cdbea62d740d62d8ca
parent3304f17fee8ca8b24acc7efae0f2241193bf9630 (diff)
add row/col limits to the JSON
Change-Id: I92cead8212f30d0cc9b811be21b6639830e84fa4
-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 3e2f2fa3bdf5..53c811726029 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;