summaryrefslogtreecommitdiff
path: root/include/sot/storage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 10:32:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 11:27:55 +0200
commit80b04f3d767bced56c68839731c48284bc1a59e3 (patch)
tree8ab1c9b8201c72864e6103f748d24809953c80e1 /include/sot/storage.hxx
parent64fb35889d76d44ac293918c4e475d0272ec903e (diff)
long->sal_Int32 in various Get/SetVersion
sal_Int32 appears to be the widest type we need here Change-Id: I1859936dbe7b6a95840c638c8ca5d4148849e12d Reviewed-on: https://gerrit.libreoffice.org/42154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r--include/sot/storage.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 2aa3ac0131d8..4ca0bc9d9387 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -40,7 +40,7 @@ friend class SotStorage;
protected:
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 sal_uInt64 SeekPos(sal_uInt64 nPos) override;
virtual void FlushData() override;
virtual ~SotStorageStream() override;
public:
@@ -70,7 +70,7 @@ friend class SotStorageStream;
bool m_bIsRoot; // e.g.: File Storage
bool m_bDelStm;
OString m_aKey; // aKey.Len != 0 -> encryption
- long m_nVersion;
+ sal_Int32 m_nVersion;
protected:
virtual ~SotStorage() override;
@@ -96,11 +96,11 @@ public:
const OString& GetKey() const { return m_aKey;}
- void SetVersion( long nVers )
+ void SetVersion( sal_Int32 nVers )
{
m_nVersion = nVers;
}
- long GetVersion() const
+ sal_Int32 GetVersion() const
{
return m_nVersion;
}