diff options
Diffstat (limited to 'include/tools/stream.hxx')
-rw-r--r-- | include/tools/stream.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index abf25b1e4a70..640dca026598 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -203,7 +203,7 @@ public: SvLockBytes* GetLockBytes() const { return m_xLockBytes.get(); } ErrCode GetError() const { return m_nError.IgnoreWarning(); } - ErrCode GetErrorCode() const { return m_nError; } + ErrCode const & GetErrorCode() const { return m_nError; } void SetError( ErrCode nErrorCode ); virtual void ResetError(); |