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 /include | |
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 'include')
-rw-r--r-- | include/tools/long.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tools/long.hxx b/include/tools/long.hxx index 5e0800f2c274..2388565df077 100644 --- a/include/tools/long.hxx +++ b/include/tools/long.hxx @@ -23,6 +23,7 @@ * of tools::Long in the codebase as meaning "we're not sure what the ideal size of the datatype is", * and where possible, replace it with a better datatype like sal_Int32/sal_Int64/etc. * + * NOTE: If you change this, make sure HAVE_FEATURE_JUMBO_SHEETS matches this, as it requires at least 64bit tools::Long. */ namespace tools { |