diff options
author | Henry Castro <hcastro@collabora.com> | 2016-06-01 14:24:12 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-18 01:01:25 +0100 |
commit | 5a55e78fee52864a253fbd318f4b623b1d9e1a9d (patch) | |
tree | 8a71b4378aefb950229a366de6448449a88bf00c /sc/inc | |
parent | 56cc151f8803fc57a6ac2b282483aef24d54f1b4 (diff) |
sc lok: Limit number of row with LOK to 1000 rows.
Change-Id: Ic7fe2dec012efb8ba180feb4d3df6f4bfbf6c38a
(cherry picked from commit f5e330abbf3d8cd9625b29fcc228a742b35aa657)
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/address.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index d801d0593752..2c17dfd02c73 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -70,6 +70,8 @@ const SCROW MAXROW = MAXROWCOUNT - 1; const SCCOL MAXCOL = MAXCOLCOUNT - 1; const SCTAB MAXTAB = MAXTABCOUNT - 1; const SCCOLROW MAXCOLROW = MAXROW; +// Maximun tiled rendering values +const SCROW MAXTILEDROW = 1000; // Limit the initial tab count to prevent users to set the count too high, // which could cause the memory usage of blank documents to exceed the // available system memory. |