diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 2802c6fbe639..9c825de52115 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1070,8 +1070,7 @@ void SvXMLNumFmtElementContext::EndElement() { case XML_TOK_STYLE_TEXT: if ( rParent.HasLongDoW() && - rParent.GetLocaleData().getLongDateDayOfWeekSep() == - String( aContent.getStr() ) ) + aContent.toString().equals(rParent.GetLocaleData().getLongDateDayOfWeekSep()) ) { // skip separator constant after long day of week // (NF_KEY_NNNN contains the separator) |