summaryrefslogtreecommitdiff
path: root/sw/source/core/doc
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2022-12-26 19:34:06 -0500
committerJustin Luth <jluth@mail.com>2022-12-28 15:36:02 +0000
commit028aa1058340803eb8dca5ad8f39ca253ad18fb3 (patch)
tree9a06362829991c08ac90ce7675d2aad8192cb1f0 /sw/source/core/doc
parentde3b4b02008d708a66f8d6a8a365974eac7de3b3 (diff)
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 3d6fca942063fe5e398c3a09f9336dc5aa549138 Change-Id: I41623424ab5c768bdc3914ae9b95d02631bb1a2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144827 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/source/core/doc')
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 64f4d7bee915..600709e339b2 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -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;