summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpnumericfmt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:10:47 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:49 +0200
commit6319265b13321d6bfb527c7bd5b910d4dce4f203 (patch)
treee7ebfa9f8b20e288326f9e80b0a2f51017f7cb6e /lotuswordpro/source/filter/lwpnumericfmt.cxx
parentf0dc2d755932b00b83db884334bcd0741056c884 (diff)
lotuswordpro: prefer passing OUString by reference
Change-Id: Ic94616a7bc34ec5a85ea84178c7d798194201ebe
Diffstat (limited to 'lotuswordpro/source/filter/lwpnumericfmt.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index 2c3993313929..1eacc7c31c99 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -461,7 +461,7 @@ XFStyle* LwpNumericFormat::Convert()
* @param
* @return fix wrong encoding of POUND symbol
*/
-OUString LwpNumericFormat::reencode(OUString sCode)
+OUString LwpNumericFormat::reencode(const OUString& sCode)
{
const sal_Unicode * pString = sCode.getStr();
sal_uInt16 nLen = sCode.getLength();