diff options
Diffstat (limited to 'include/sot/stg.hxx')
-rw-r--r-- | include/sot/stg.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index 2c2e7ab72be2..056baf9eac9d 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -48,7 +48,7 @@ typedef struct SvGUID ClsId; class SOT_DLLPUBLIC StorageBase : public SvRefBase { protected: - mutable sal_uLong m_nError; // error code + mutable ErrCode m_nError; // error code StreamMode m_nMode; // open mode bool m_bAutoCommit; StorageBase(); @@ -58,8 +58,8 @@ public: virtual bool Validate( bool=false ) const = 0; virtual bool ValidateMode( StreamMode ) const = 0; void ResetError() const; - void SetError( sal_uLong ) const; - sal_uLong GetError() const; + void SetError( ErrCode ) const; + ErrCode GetError() const; bool Good() const { return bool( m_nError == SVSTREAM_OK ); } StreamMode GetMode() const { return m_nMode; } void SetAutoCommit( bool bSet ) |