summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/numberedcollection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/numberedcollection.cxx')
-rw-r--r--comphelper/source/misc/numberedcollection.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx
index c4ed3319d5c2..e0615656c231 100644
--- a/comphelper/source/misc/numberedcollection.cxx
+++ b/comphelper/source/misc/numberedcollection.cxx
@@ -21,6 +21,7 @@
#include <comphelper/numberedcollection.hxx>
#include <com/sun/star/frame/UntitledNumbersConst.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <tools/long.hxx>
namespace comphelper{
@@ -229,7 +230,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix()
void NumberedCollection::impl_cleanUpDeadItems ( TNumberedItemHash& lItems ,
const TDeadItemList& lDeadItems)
{
- for (const long& rDeadItem : lDeadItems)
+ for (const tools::Long& rDeadItem : lDeadItems)
{
lItems.erase(rDeadItem);
}