summaryrefslogtreecommitdiff
path: root/include/tools
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/tools
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/tools')
-rw-r--r--include/tools/stream.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index cd7f20e57e91..0a4164e8dfa6 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -172,7 +172,7 @@ private:
unsigned char m_nCryptMask;
// Userdata
- long m_nVersion; // for external use
+ sal_Int32 m_nVersion; // for external use
SvStream ( const SvStream& rStream ) = delete;
SvStream& operator=( const SvStream& rStream ) = delete;
@@ -384,8 +384,8 @@ public:
bool IsWritable() const { return m_isWritable; }
StreamMode GetStreamMode() const { return m_eStreamMode; }
- long GetVersion() { return m_nVersion; }
- void SetVersion( long n ) { m_nVersion = n; }
+ sal_Int32 GetVersion() { return m_nVersion; }
+ void SetVersion( sal_Int32 n ) { m_nVersion = n; }
friend SvStream& operator<<( SvStream& rStr, SvStrPtr f ); // for Manips