summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-10-30 15:22:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-10-30 17:36:18 +0100
commit06b39e3f1b9037a1368f83b7dc948a10cc34c981 (patch)
tree353fe781a8f3b116934e5f0ca7594b2561d0a75c /include/comphelper
parentRemove unnecessary include (diff)
downloadcore-06b39e3f1b9037a1368f83b7dc948a10cc34c981.tar.gz
core-06b39e3f1b9037a1368f83b7dc948a10cc34c981.zip
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/comphelper')
-rw-r--r--include/comphelper/numberedcollection.hxx5
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