diff options
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/stgcache.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx index 8c9cdb7cf315..9f311ffbd702 100644 --- a/sot/source/sdstor/stgcache.hxx +++ b/sot/source/sdstor/stgcache.hxx @@ -73,7 +73,7 @@ public: void SetStrm( SvStream*, bool ); void SetStrm( UCBStorageStream* ); bool Good() const { return m_nError == ERRCODE_NONE; } - ErrCode GetError() const { return m_nError; } + ErrCode const & GetError() const { return m_nError; } void MoveError( StorageBase const & ); void SetError( ErrCode ); void ResetError(); |