diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 12:22:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:56:57 +0100 |
commit | 945a119675788f7c8f0a133ac0271f9340c1653a (patch) | |
tree | 36b8ec346d009628b22922e510ba19fd2ece4f58 /unotools/source | |
parent | 7b7c388fe402e14486664e36eeb6c1f0fe1e02b9 (diff) |
loplugin:constparams
Change-Id: I7c695073d9a9d3b7a641d6eb9fe01a47d8c3a504
Reviewed-on: https://gerrit.libreoffice.org/48392
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/config/useroptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index adf58180204a..fbc7aaf37f6f 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -98,7 +98,7 @@ public: OUString GetToken (UserOptToken nToken) const; void SetToken (UserOptToken nToken, OUString const& rNewToken); bool GetBoolValue (UserOptToken nToken) const; - void SetBoolValue (UserOptToken nToken, bool& bNewValue); + void SetBoolValue (UserOptToken nToken, bool bNewValue); void Notify (); private: @@ -207,7 +207,7 @@ bool SvtUserOptions::Impl::GetBoolValue (UserOptToken nToken) const return GetValue_Impl<bool>( nToken ); } -void SvtUserOptions::Impl::SetBoolValue (UserOptToken nToken, bool& bNewValue) +void SvtUserOptions::Impl::SetBoolValue (UserOptToken nToken, bool bNewValue) { SetValue_Impl<bool>( nToken, bNewValue ); } |