diff options
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 10 | ||||
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 0ce36604fda3..151f33774d38 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -3627,17 +3627,17 @@ sal_Unicode DomainMapper::getFillCharFromValue(const sal_Int32 nIntValue) switch (nIntValue) { case NS_ooxml::LN_Value_ST_TabTlc_dot: - return sal_Unicode(0x002e); + return u'.'; case NS_ooxml::LN_Value_ST_TabTlc_hyphen: - return sal_Unicode(0x002d); + return u'-'; case NS_ooxml::LN_Value_ST_TabTlc_underscore: case NS_ooxml::LN_Value_ST_TabTlc_heavy: // FIXME ??? - return sal_Unicode(0x005f); + return u'_'; case NS_ooxml::LN_Value_ST_TabTlc_middleDot: // middleDot - return sal_Unicode(0x00b7); + return u'\x00b7'; case NS_ooxml::LN_Value_ST_TabTlc_none: default: - return sal_Unicode(0x0020); // blank space + return u' '; // blank space } } diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index 3fbc70eb56a1..ee2c8afe3370 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -603,7 +603,7 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper, } if (bLabelFollowedBy && nNumberFormat == style::NumberingType::NUMBER_NONE) - rSuffix = OUString(static_cast<sal_Unicode>(0x200B)); + rSuffix = OUString(u'\x200B'); } } |