summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 15:30:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-22 08:08:05 +0200
commite25fd7782ad04dc363b4265e1bd08d6e092b50c5 (patch)
tree1dd202549adbc1ed7dbe17e5a81abbe408086e85 /io
parent180dd91c189de0bf03d5062e33c20da94c5d35d9 (diff)
long->tools::Long in hwpfilter..oox
Change-Id: I9ab8876aac7b2f8b488db6dfa9c6fd0cecd2238b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104626 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/odata.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index ed543ab3c795..754cda450a94 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -25,6 +25,7 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/endian.h>
+#include <tools/long.hxx>
#include <com/sun/star/io/NotConnectedException.hpp>
#include <com/sun/star/io/XObjectInputStream.hpp>
@@ -1093,7 +1094,7 @@ Reference< XPersistObject > OObjectInputStream::readObject()
{
// grow to the right size
Reference< XPersistObject > xEmpty;
- m_aPersistVector.insert( m_aPersistVector.end(), static_cast<long>(nId - nSize + 1), xEmpty );
+ m_aPersistVector.insert( m_aPersistVector.end(), static_cast<tools::Long>(nId - nSize + 1), xEmpty );
}
m_aPersistVector[nId] = xLoadedObj;