From 1d6fd96df71265730550e68878a1d2856761a2f3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Mar 2014 11:25:03 +0200 Subject: framework: prefer passing OUString by reference Change-Id: I23c2ac9ef6bfc3eedb8ad6cb199c12d42ed642c8 --- i18nlangtag/qa/cppunit/test_languagetag.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18nlangtag') 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"; -- cgit v1.2.3