summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-01-28 16:32:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-31 09:06:52 +0100
commitb6ab5b3020e6c5df8a8e30009a749f42bdefbad4 (patch)
tree1f495e3733300cc850db991fe83ae9aaa170e3c0 /include
parentc6c343db72a97bb027ccb493cef6fa7f1025f119 (diff)
fix loading file with very large number of styles
where nCurrentPosition was wrapping around Change-Id: I839215f3138d58884f03509b6341147ef28edb4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129108 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 7f3682ecb8a40fe85b6525be9e73d49d76bb308b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129075
Diffstat (limited to 'include')
-rw-r--r--include/svl/style.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index b3db632c4841..5ad4d0d33773 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -216,7 +216,7 @@ private:
SVL_DLLPRIVATE bool IsTrivialSearch() const;
SfxStyleSheetBase* pCurrentStyle;
- sal_uInt16 nCurrentPosition;
+ sal_Int32 mnCurrentPosition;
bool bSearchUsed;
friend class SfxStyleSheetBasePool;