diff options
author | Eike Rathke <erack@openoffice.org> | 2010-06-11 00:38:55 +0200 |
---|---|---|
committer | Eike Rathke <erack@openoffice.org> | 2010-06-11 00:38:55 +0200 |
commit | a8dd1c5054430bce8365eedd475c3b7f3404dc75 (patch) | |
tree | 93dfc9d72366a2ce31e51d3ee1551a7160c60951 /i18npool | |
parent | dd1217b9876337aa84d5204ab4ab49569c72ba1f (diff) |
locales33a: check for equalness of QuotationStart and DoubleQuotationStart or QuotationEnd and DoubleQuotationEnd
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 4204b3636fcb..cc183336fbc5 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -493,6 +493,14 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const if (aDoubleQuoteStart == aDoubleQuoteEnd) fprintf( stderr, "Warning: %s\n", "DoubleQuotationStart equals DoubleQuotationEnd. Not necessarily an error, but unusual."); + /* TODO: should equalness of single and double quotes be an error? Would + * need to adapt quite some locales' data. */ + if (aQuoteStart == aDoubleQuoteStart) + fprintf( stderr, "Warning: %s\n", + "QuotationStart equals DoubleQuotationStart. Not necessarily an error, but unusual."); + if (aQuoteEnd == aDoubleQuoteEnd) + fprintf( stderr, "Warning: %s\n", + "QuotationEnd equals DoubleQuotationEnd. Not necessarily an error, but unusual."); writeParameterCheckLen( of, "TimeAM", "timeAM", 1, -1); writeParameterCheckLen( of, "TimePM", "timePM", 1, -1); |