summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx2
-rw-r--r--sot/source/sdstor/stgstrms.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 3e72d13b3fff..398e3fdb53d1 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -30,7 +30,7 @@
#include "stgio.hxx"
#include "stgole.hxx"
-static long nTmpCount = 0;
+static tools::Long nTmpCount = 0;
// The internal open mode is StreamMode::READ | StreamMode::TRUNC, which is silly
// by itself. It inhibits the checking of sharing modes and is used
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx
index 3c805283cb4b..717e4e7d175b 100644
--- a/sot/source/sdstor/stgstrms.cxx
+++ b/sot/source/sdstor/stgstrms.cxx
@@ -1272,7 +1272,7 @@ void StgTmpStrm::SetSize(sal_uInt64 n)
}
m_pStrm = s.release();
// Shrink the memory to 16 bytes, which seems to be the minimum
- ReAllocateMemory( - ( static_cast<long>(nEndOfData) - 16 ) );
+ ReAllocateMemory( - ( static_cast<tools::Long>(nEndOfData) - 16 ) );
}
else
{