summaryrefslogtreecommitdiffstats
path: root/cppu
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-07-29 12:22:18 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:12:30 +0000
commitefef273e2c61b19a63572a71b103e3b1490f15af (patch)
tree1d441e00b15eabd50820cae5e300cc8a6b6bb765 /cppu
parentsc: replace IsAssciiDigit and IsAsciiAlpha with rtl equivalents (diff)
downloadcore-efef273e2c61b19a63572a71b103e3b1490f15af.tar.gz
core-efef273e2c61b19a63572a71b103e3b1490f15af.zip
tdf#100726: Improve readability of OUString concatenation
this bug fixed in the modules between canvas - cppu Change-Id: I2022b022897dafde20251352376e3facdb9b8d75 Reviewed-on: https://gerrit.libreoffice.org/27663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/lbenv.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 978f463797a5..bc5d62825287 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -924,9 +924,7 @@ inline void EnvironmentsData::getEnvironment(
*ppEnv = nullptr;
}
- OUString aKey(
- OUString::number( reinterpret_cast< sal_IntPtr >(pContext) ) );
- aKey += rEnvDcp;
+ OUString aKey = OUString::number( reinterpret_cast< sal_IntPtr >(pContext) ) + rEnvDcp;
// try to find registered mapping
OUString2EnvironmentMap::const_iterator const iFind(