summaryrefslogtreecommitdiff
path: root/include/svl
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-29 10:40:31 +0100
commit7f3682ecb8a40fe85b6525be9e73d49d76bb308b (patch)
tree9f71d9a89ecb3d579cea72ebbd454817ae9dad51 /include/svl
parent91622529794f0c519bec2938513a756f660e849c (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>
Diffstat (limited to 'include/svl')
-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;