diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 11:29:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:52 +0200 |
commit | fe8896bab01ccb595c993e54866a01f554b54f4f (patch) | |
tree | dac712df6f8aaaeaa863a84b0bc11b0ebd2a9061 /svl | |
parent | 523036daaddf466eee46183bbec9a71d45c48a41 (diff) |
loplugin:passstuffbyref in svl
Change-Id: I1434d96ae800d8e155262831472cf632d640b4c5
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/inc/passwordcontainer.hxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index 55b7101d5f9a..884a451dcfc9 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -124,7 +124,7 @@ public: return *this; } - OUString GetUserName() const + const OUString& GetUserName() const { return m_aName; } diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index e7fcccc6f909..0fc4d3c71652 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -516,7 +516,7 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage ) ImpGenerateAdditionalFormats( nCLOffset, aNumberFormatCode, true ); } -css::uno::Reference<css::uno::XComponentContext> SvNumberFormatter::GetComponentContext() const +const css::uno::Reference<css::uno::XComponentContext>& SvNumberFormatter::GetComponentContext() const { return m_xContext; } |