diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-17 09:10:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-17 13:30:49 +0200 |
commit | 6319265b13321d6bfb527c7bd5b910d4dce4f203 (patch) | |
tree | e7ebfa9f8b20e288326f9e80b0a2f51017f7cb6e /lotuswordpro/source/filter/lwpproplist.cxx | |
parent | Fix fdo#75936 set limit for decreasing indent (diff) | |
download | core-6319265b13321d6bfb527c7bd5b910d4dce4f203.tar.gz core-6319265b13321d6bfb527c7bd5b910d4dce4f203.zip |
lotuswordpro: prefer passing OUString by reference
Change-Id: Ic94616a7bc34ec5a85ea84178c7d798194201ebe
Diffstat (limited to 'lotuswordpro/source/filter/lwpproplist.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpproplist.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpproplist.cxx b/lotuswordpro/source/filter/lwpproplist.cxx index 01646b22e3c0..8bd20f55a815 100644 --- a/lotuswordpro/source/filter/lwpproplist.cxx +++ b/lotuswordpro/source/filter/lwpproplist.cxx @@ -82,12 +82,12 @@ void LwpPropListElement::Read() m_pObjStrm->SkipExtra(); } -sal_Bool LwpPropListElement::IsNamed(OUString name) +sal_Bool LwpPropListElement::IsNamed(const OUString& name) { return name.equals(m_Name.str()); } -OUString LwpPropList::GetNamedProperty(OUString name) +OUString LwpPropList::GetNamedProperty(const OUString& name) { LwpPropListElement* pProp = FindPropByName(name); if (pProp) @@ -97,7 +97,7 @@ OUString LwpPropList::GetNamedProperty(OUString name) return OUString(""); } -LwpPropListElement* LwpPropList::FindPropByName(OUString name) +LwpPropListElement* LwpPropList::FindPropByName(const OUString& name) { LwpPropListElement* pElement = GetFirst(); |