calc: jumbo sheets on windows (never gonna happen)
Stephan Bergmann
sbergman at redhat.com
Fri Oct 9 09:10:22 UTC 2020
On 09/10/2020 11:01, Michael Stahl wrote:
> On 08.10.20 21:13, Noel Grandin wrote:
>> As some point we are going to have to deal with this "long" stuff, it
>> really is not a great thing to have one 64-bit platform operating at
>> half the bit-size of the other platform.
>>
>> Here is one option:
>>
>> (a) create some new typedef, something like the old sal_Long, aliased
>> to "long"
>> (b) replace "long" with typedef in stages (so no functional change).
>> (c) switch the typedef of sal_Long to point to sal_Int64 and fix fallout.
>>
>> Then rolling back (even if temporarily) is easy and the "flag day" is
>> a 2 line change.
>
> POSIX provides ssize_t for this purpose but likely it doesn't exist on
> MSVC...
Would that be a useful abstraction for "accumulat[ing] things like
row-heights and other things", or would a more explicit "must be at
least 64-bit wide" type be more appropriate there.
More information about the LibreOffice
mailing list