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>
This commit is contained in:
nadith
2016-07-29 12:22:18 +05:30
committed by Noel Grandin
parent dadb28a2fb
commit efef273e2c
13 changed files with 22 additions and 52 deletions

View File

@@ -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(