diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-03 15:44:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-03 19:13:03 +0200 |
commit | d4ec4b875b952b05b8b1e0ba73dc31c1bcd27e43 (patch) | |
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>
-rw-r--r-- | sw/source/core/txtnode/thints.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 5b5a8aa96f2e..75e80abb242a 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; |