summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx3
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)