diff options
author | nadith <nadmalinda@gmail.com> | 2016-07-29 12:22:18 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-01 06:12:30 +0000 |
commit | efef273e2c61b19a63572a71b103e3b1490f15af (patch) | |
tree | 1d441e00b15eabd50820cae5e300cc8a6b6bb765 /cppu/source | |
parent | dadb28a2fbe3e50361b60cee9dda43b1fba3629e (diff) |
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/source')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 4 |
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( |