diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-30 15:22:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-30 17:36:18 +0100 |
commit | 06b39e3f1b9037a1368f83b7dc948a10cc34c981 (patch) | |
tree | 353fe781a8f3b116934e5f0ca7594b2561d0a75c /include | |
parent | 8d6c7085e9981d5f91525ae5cf44c426b4cf777c (diff) |
TNumberedItemHash NumberedCollection::m_lComponents is indexed on pointers...
...reinterpret_cast'ed to sal_IntPtr, so consistently use sal_IntPtr throughout
here
Change-Id: If0085c2ac7e0e2c755ec034766095baa11a1b08c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105071
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/numberedcollection.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index 9ba619a94eb3..cafe975b59c7 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -28,7 +28,6 @@ #include <cppuhelper/basemutex.hxx> #include <cppuhelper/weakref.hxx> #include <cppuhelper/implbase.hxx> -#include <tools/long.hxx> #include <unordered_map> #include <vector> @@ -59,10 +58,10 @@ class COMPHELPER_DLLPUBLIC NumberedCollection final : private ::cppu::BaseMutex }; typedef std::unordered_map< - tools::Long, + sal_IntPtr, TNumberedItem > TNumberedItemHash; - typedef ::std::vector< tools::Long > TDeadItemList; + typedef ::std::vector< sal_IntPtr > TDeadItemList; // interface |