summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata/LocaleNode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/localedata/LocaleNode.cxx')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index b71e769008c2..2b1fed680665 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -631,7 +631,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const
if ( strFrom == "[CURRENCY]" )
sTheCurrencyReplaceTo = str;
// Remember the currency symbol if present.
- if (str.indexOfAsciiL( "[$", 2) == 0)
+ if (str.startsWith( "[$" ))
{
sal_Int32 nHyphen = str.indexOf( '-');
if (nHyphen >= 3)