diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-08-15 02:26:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-08-15 02:26:53 +0300 |
commit | 5180edb7f264c6037091fd522317638d0e9505ea (patch) | |
tree | 1a13d80fee49963d143bf9089434289b4df2a487 /cui/source | |
parent | 8e279c79f88608a4ab4dfc74c0a66a7947ea1482 (diff) |
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: Ib2154a93192aa8342660b309f5307c1cb443063c
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/personalization.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/personalization.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 5aafe8379551..16def717d816 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -356,7 +356,7 @@ void SvxPersonalizationTabPage::Reset( const SfxItemSet * ) m_pDefaultPersona->Check(); } -void SvxPersonalizationTabPage::SetPersonaSettings( const OUString aPersonaSettings ) +void SvxPersonalizationTabPage::SetPersonaSettings( const OUString& aPersonaSettings ) { m_aPersonaSettings = aPersonaSettings; m_pOwnPersona->Check(); diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx index 2ef49e93b26e..4df2a68838b4 100644 --- a/cui/source/options/personalization.hxx +++ b/cui/source/options/personalization.hxx @@ -51,7 +51,7 @@ public: /// Reset to default settings ([Revert] button). virtual void Reset( const SfxItemSet *rSet ) SAL_OVERRIDE; - void SetPersonaSettings( const OUString ); + void SetPersonaSettings( const OUString& ); void LoadDefaultImages(); void LoadExtensionThemes(); |