summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs/graphite_features.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 08:38:29 +0200
committerNoel Grandin <noel@peralex.com>2014-03-13 08:39:26 +0200
commit78a2020846b855ed925ab88f06fa70a282a75e5a (patch)
treedd316d41417704fc02387700f2b664b55945773b /vcl/source/glyphs/graphite_features.cxx
parent39c7532933bb4f1630e821a2a38b213eb05dcc59 (diff)
vcl: prefer passing OUString and OString by reference
Change-Id: I6c2c6f597ca62c004ad7dc606cef3a3b10e810b6
Diffstat (limited to 'vcl/source/glyphs/graphite_features.cxx')
-rw-r--r--vcl/source/glyphs/graphite_features.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/glyphs/graphite_features.cxx b/vcl/source/glyphs/graphite_features.cxx
index 690193146f8d..2e999b4aa66f 100644
--- a/vcl/source/glyphs/graphite_features.cxx
+++ b/vcl/source/glyphs/graphite_features.cxx
@@ -38,14 +38,14 @@ const char GrFeatureParser::FEAT_PREFIX = ':';
const char GrFeatureParser::FEAT_SEPARATOR = '&';
const char GrFeatureParser::FEAT_ID_VALUE_SEPARATOR = '=';
-GrFeatureParser::GrFeatureParser(const gr_face * pFace, const OString lang)
+GrFeatureParser::GrFeatureParser(const gr_face * pFace, const OString& lang)
: mnNumSettings(0), mbErrors(false), mpSettings(NULL)
{
maLang.label[0] = maLang.label[1] = maLang.label[2] = maLang.label[3] = '\0';
setLang(pFace, lang);
}
-GrFeatureParser::GrFeatureParser(const gr_face * pFace, const OString features, const OString lang)
+GrFeatureParser::GrFeatureParser(const gr_face * pFace, const OString& features, const OString& lang)
: mnNumSettings(0), mbErrors(false), mpSettings(NULL)
{
sal_Int32 nEquals = 0;