diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 4a41aa5385aa..7db424ce70ef 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -1101,7 +1101,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const break; case '\\': cChar = sTheDateEditFormat.iterateCodePoints( &nIndex); - break; + goto handleDefault; case '-': case '.': case '/': @@ -1114,6 +1114,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const cDateSep2 = cChar; // fallthru default: + handleDefault: if (!cDateSep) cDateSep = cChar; if (!cDateSep2)