i18npool/source/localedata/LocaleNode.cxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit bb06f2c00eea15c287fc06988d6f9b1f21098936
Author: Asela Dasanayaka <[email protected]>
Date:   Fri Sep 23 06:13:58 2016 +0530

    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 <[email protected]>
    Reviewed-by: jan iversen <[email protected]>

diff --git a/i18npool/source/localedata/LocaleNode.cxx 
b/i18npool/source/localedata/LocaleNode.cxx
index 13ff853..1aad3d4 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);
             }
         }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to