summaryrefslogtreecommitdiff
path: root/include/sot/storage.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-19 10:56:57 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-10-27 13:59:09 +0100
commitd1eb389d7081276bb08f4cf3be16e5301a4c39cb (patch)
tree8428f085d6d8def34f6f68090e2645530a45b768 /include/sot/storage.hxx
parentf8dac0391c4aa6d4d378919326aacd935d7bd462 (diff)
sal_uLong/long to ErrCode
Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r--include/sot/storage.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 316bc41ee9a4..b51afe43e6e6 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -86,7 +86,7 @@ friend class SotStorageStream;
BaseStorage * m_pOwnStg; // target storage
SvStream * m_pStorStm; // only for SDSTORAGES
- sal_uLong m_nError;
+ ErrCode m_nError;
OUString m_aName; // name of the storage
bool m_bIsRoot; // e.g.: File Storage
bool m_bDelStm;
@@ -135,8 +135,8 @@ public:
return m_nVersion;
}
- sal_uLong GetError() const { return ERRCODE_TOERROR(m_nError); }
- void SetError( sal_uLong nErrorCode )
+ ErrCode GetError() const { return ERRCODE_TOERROR(m_nError); }
+ void SetError( ErrCode nErrorCode )
{
if( m_nError == SVSTREAM_OK )
m_nError = nErrorCode;