| commit | d4ec4b875b952b05b8b1e0ba73dc31c1bcd27e43 | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Wed May 03 15:44:52 2023 +0200 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Wed May 03 19:13:03 2023 +0200 |
| tree | 1381e6b00163eb5a6cb175ed8bf6bae87c558d5e | |
| parent | e19c102e87002f953f2eb28c154da8f54b70068e [diff] |
Portion can use sal_Int32 for its key which makes it a little more cache-dense on 64-bit platforms Change-Id: I6a7d22d94a04baac623a23d4766d4d8b7bbbb570 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151325 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 5b5a8aa..75e80ab 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx
@@ -2699,7 +2699,7 @@ void SwpHints::NoteInHistory( SwTextAttr *pAttr, const bool bNew ) namespace { struct Portion { SwTextAttr* pTextAttr; int nKey; sal_Int32 nKey; bool isRsidOnlyAutoFormat; }; typedef std::vector< Portion > PortionMap;