diff options
author | Asela Dasanayaka <rukmal.tb@gmail.com> | 2016-09-23 06:13:58 +0530 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-09-23 07:00:50 +0000 |
commit | bb06f2c00eea15c287fc06988d6f9b1f21098936 (patch) | |
tree | c6f59d6c9f0e42511044aef0877f7a9b92847eb6 /i18npool | |
parent | 70c7e82003a539ed7f7ccbe596bde5ac9031d15c (diff) |
tdf#100726 Improve readability of OUString concatination
concat string in module i18npool to improve readability
Change-Id: I7f447d64703cf5eb07742329ff2656f67214898b
Reviewed-on: https://gerrit.libreoffice.org/29206
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 13ff853018d1..1aad3d431cc4 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -723,13 +723,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const OUString aKey( aUsage + "," + aType); if (!aDefaultsSet.insert( aKey).second) { - OUString aStr( "Duplicated default for usage=\""); - aStr += aUsage; - aStr += "\" type=\""; - aStr += aType; - aStr += "\": formatindex=\""; - aStr += aFormatIndex; - aStr += "\"."; + OUString aStr = "Duplicated default for usage=\"" + aUsage + "\" type=\"" + aType + "\": formatindex=\"" + aFormatIndex + "\"."; incError( aStr); } } |