tdf#56258 tdf#106988 sw numbering IVX: fix bad indent/tab value

The comment (and the previous code) indicates a progressive
increment by 1.3cm for each level. Well, the third level
was some mid-way-between-level1-and-level2 anomaly.
So just drop it and add the proper indent for the last level.

The tenth level should be 10 times larger than the first indent.
Previously it was 283 and 2835, so the current values
of 754 and 7541 sound perfect.

This was a LO 6.0 regression by
commit 3d6fca9420

Change-Id: I41623424ab5c768bdc3914ae9b95d02631bb1a2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144827
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
This commit is contained in:
Justin Luth
2022-12-28 15:36:02 +00:00
committed by Justin Luth
parent de3b4b0200
commit 028aa10583
@@ -2069,7 +2069,7 @@ SwNumRule* DocumentStylePoolManager::GetNumRuleFromPool( sal_uInt16 nId )
static const sal_uInt16 aAbsSpace[ MAXLEVEL ] =
{
// cm: 1.33 cm intervals
754, 1508, 1191, 2262, 3016, 3771, 4525, 5279, 6033, 6787
754, 1508, 2262, 3016, 3771, 4525, 5279, 6033, 6787, 7541
};
const sal_uInt16* pArr = aAbsSpace;