summaryrefslogtreecommitdiff
path: root/include/basic/basmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-26 08:32:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-26 19:56:02 +0100
commit2a421b26c0100b35d28b86a5d79afa15af9580dd (patch)
tree064240373eeec9600054ebb8493bb0e1fbd8576d /include/basic/basmgr.hxx
parent2bf1cc7372088ec31ac5f0fb60de57feda59d3b7 (diff)
loplugin:passstuffbyref improved return in basic,framework
Change-Id: Ib19836febb59f4e2bb07dc874cfc6baabc653237 Reviewed-on: https://gerrit.libreoffice.org/47065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic/basmgr.hxx')
-rw-r--r--include/basic/basmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index 5450228d4493..5e70e6ea138b 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -55,7 +55,7 @@ public:
BasicError( const BasicError& rErr );
BasicError( ErrCode nId, BasicErrorReason nR );
- ErrCode GetErrorId() const { return nErrorId; }
+ ErrCode const & GetErrorId() const { return nErrorId; }
};
class ErrorManager;