summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdmod1.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-09-14 17:01:50 +0200
committerMichael Stahl <mstahl@redhat.com>2016-09-15 12:01:11 +0200
commitb647996a9babbee7b33cf45192e57df6a124628b (patch)
treeddc6dfe8a62ec53fbacc4eeccfeb20019f3ef4f0 /sd/source/ui/app/sdmod1.cxx
parenta19a67e20e847a42063559694ec5beec71abcfb3 (diff)
replace sal_Size with std::size_t (or sal_uInt64 for SvStream pos)
... except in include/rtl, include/sal, include/uno, where sal_Size is retained for compatibility, and where callers of rtl functions pass in pointers that are incompatible on MSVC. Change-Id: I8344453780689f5120ba0870e44965b6d292450c
Diffstat (limited to 'sd/source/ui/app/sdmod1.cxx')
-rw-r--r--sd/source/ui/app/sdmod1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index d658a1a81656..b8872e307452 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -770,7 +770,7 @@ OutlineToImpressFinalizer::OutlineToImpressFinalizer (
// Create a memory stream and prepare to fill it with the content of
// the original stream.
mpStream.reset(new SvMemoryStream());
- static const sal_Size nBufferSize = 4096;
+ static const std::size_t nBufferSize = 4096;
::std::unique_ptr<sal_Int8[]> pBuffer (new sal_Int8[nBufferSize]);
sal_uInt64 nReadPosition(0);
@@ -778,7 +778,7 @@ OutlineToImpressFinalizer::OutlineToImpressFinalizer (
while (bLoop)
{
// Read the next part of the original stream.
- sal_Size nReadByteCount (0);
+ std::size_t nReadByteCount (0);
const ErrCode nErrorCode (
rBytes.ReadAt(
nReadPosition,