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-01 10:48:13 +0100 |
commit | 0156eba76667fe1b0ed4355272fa77f98f9f63a4 (patch) | |
tree | e46f27cc49542c0b26253c2918b4790a9989a74e /config_host | |
parent | da77aec27e3121c895a6c6c287225216489cc8bc (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 3cc5109ca25a..de3e9d58f7d2 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -151,4 +151,10 @@ */ #define HAVE_FEATURE_PAGEIN 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 |