diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-01-20 11:41:06 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-01-20 10:45:24 +0000 |
commit | dc2ad435cd148a492aba3f2b18bbba0c769f463e (patch) | |
tree | 694dbd33685f98529cce9d0980d26a8f9024394c | |
parent | 16f59f4b2b50dbca353aa468512e7f704fa903ad (diff) |
tdf#153094: it seems that DOC requires WW8_RESERVED_SLOTS = 15
Regression from commit a2a08463e0299d514e6e555ae61c68bb0e4348d0,
where I mistakenly assumed that the value is just to accommodate
enough entries. I don't know where it's documented, but this
fixes the bug.
Change-Id: Ifecf5d294222e3a40cb23f7c147694dbdf35e405
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145869
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 8f127c918781..90f12f3c32b4 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -122,7 +122,7 @@ public: // Styles // Immediately after reserved slots, character styles begin -#define WW8_RESERVED_SLOTS 10 +#define WW8_RESERVED_SLOTS 15 // tdf#153094: the value is important // GetId( SwCharFormat ) for use in text -> zero is not allowed, // use "Default Char Style" instead |