summaryrefslogtreecommitdiffstats
path: root/include/sot
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 /include/sot
parentsd: loplugin:staticmethods (diff)
downloadcore-b647996a9babbee7b33cf45192e57df6a124628b.tar.gz
core-b647996a9babbee7b33cf45192e57df6a124628b.zip
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 'include/sot')
-rw-r--r--include/sot/storage.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 92134c20f821..fc0d4240fc1b 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -38,8 +38,8 @@ class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream
friend class SotStorage;
BaseStorageStream * pOwnStm; // pointer to the own stream
protected:
- virtual sal_uLong GetData( void* pData, sal_uLong nSize ) override;
- virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) override;
+ virtual std::size_t GetData(void* pData, std::size_t nSize) override;
+ virtual std::size_t PutData(const void* pData, std::size_t nSize) override;
virtual sal_uInt64 SeekPos(sal_uInt64 nPos) override;
virtual void FlushData() override;
virtual ~SotStorageStream() override;