diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-23 09:17:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-23 12:36:24 +0100 |
commit | a8c1c0ae1617c68d49deb33e9236a2c1b7cac14d (patch) | |
tree | dec7ceaca24da8340a911502fd42dd19efb882ff /sot/source/sdstor | |
parent | 38bf5f69663f64434a3a0a74e02c1a23f876b677 (diff) |
loplugin:passstuffbyref improved returns in vcl
Change-Id: I0b103df2e7ce59093869f547225c95865d33da27
Reviewed-on: https://gerrit.libreoffice.org/46916
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/source/sdstor')
-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(); |