diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-28 16:06:09 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-23 09:09:05 +0100 |
commit | 12053ebd076ca3d94440069274152ec3fde44ed8 (patch) | |
tree | 618ad04ddc6777620717c3e532acc85105eb8857 /config_host | |
parent | 32ef28868f7379f0d78664032339a4ce46df4dc5 (diff) |
make Calc jumbo sheets an explicit build feature
On 32bit platforms tools::Long is 32bit, which is not enough
for pixel coordinates with 1m+ Calc rows+. So do not allow jumbo
sheets for such platforms.
Change-Id: I2ebd56a051470d33fca967918af3e7d2b0172dc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130713
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_features.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 0f610a5646bc..53fe9fe5abd9 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -156,4 +156,10 @@ #define HAVE_FEATURE_XMLHELP 0 +/* + * Whether Calc supports jumbo sheets (more than 1m rows), which can overflow + * 32bit drawing coordinates (see tools::Long definition). + */ +#define HAVE_FEATURE_JUMBO_SHEETS 0 + #endif |