From d1eb389d7081276bb08f4cf3be16e5301a4c39cb Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 19 Sep 2015 10:56:57 +0200 Subject: sal_uLong/long to ErrCode Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57 --- include/sot/storage.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/sot/storage.hxx') 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; -- cgit