summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 11:25:03 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:53 +0200
commit1d6fd96df71265730550e68878a1d2856761a2f3 (patch)
treec5328c6cac129ef678c755bd9387c8bbb11d87e7 /i18nlangtag
parent96b5d4f62709a7db0c1a85f35938abdedea578e3 (diff)
framework: prefer passing OUString by reference
Change-Id: I23c2ac9ef6bfc3eedb8ad6cb199c12d42ed642c8
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/qa/cppunit/test_languagetag.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx
index 8946969b2562..fb49ad864ca9 100644
--- a/i18nlangtag/qa/cppunit/test_languagetag.cxx
+++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx
@@ -579,7 +579,7 @@ void TestLanguageTag::testAllTags()
}
}
-static bool checkMapping( const OUString rStr1, const OUString& rStr2 )
+static bool checkMapping( const OUString& rStr1, const OUString& rStr2 )
{
if (rStr1 == "la-Latn" ) return rStr2 == "la";
if (rStr1 == "tzm-Latn-DZ" ) return rStr2 == "kab-DZ";