diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-14 15:14:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-17 09:00:07 +0200 |
commit | bd8ce8b959f6147a2175a8ce84fd212151ca05dc (patch) | |
tree | fef0085c85c2efd43b54e5dbf332a1b6d2f6bd71 /unotools | |
parent | d593f45886cbe6ee9d54af1cf84b11a9004efc61 (diff) |
sal,toolkit,unotools: prefer passing OUString by reference
Change-Id: Ie62a59fd9ff3d6f6a34240fd562fbc91a143bf3a
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/compatibility.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index c56b579e611f..2fed816580f8 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -227,7 +227,7 @@ class SvtCompatibilityOptions_Impl : public ConfigItem SvtCompatibilityOptions_Impl(); ~SvtCompatibilityOptions_Impl(); - void SetDefault( OUString sName, bool bValue ); + void SetDefault( const OUString & sName, bool bValue ); // overloaded methods of baseclass @@ -426,7 +426,7 @@ SvtCompatibilityOptions_Impl::~SvtCompatibilityOptions_Impl() } } -void SvtCompatibilityOptions_Impl::SetDefault( OUString sName, bool bValue ) +void SvtCompatibilityOptions_Impl::SetDefault( const OUString & sName, bool bValue ) { if ( COMPATIBILITY_PROPERTYNAME_USEPRTMETRICS.equals( sName ) ) m_aDefOptions.SetUsePrtMetrics( bValue ); @@ -689,7 +689,7 @@ void SvtCompatibilityOptions::Clear() m_pDataContainer->Clear(); } -void SvtCompatibilityOptions::SetDefault( OUString sName, bool bValue ) +void SvtCompatibilityOptions::SetDefault( const OUString & sName, bool bValue ) { m_pDataContainer->SetDefault( sName, bValue ); } |