diff options
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper_Impl.cxx')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 5b1f4d2839eb..de03396973c1 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -2786,7 +2786,7 @@ void DomainMapper_Impl::CloseFieldCommand() while (aPartIt != aItEnd) { - if (aPartIt->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("\\l"))) + if ( *aPartIt == "\\l" ) { ++aPartIt; @@ -2796,12 +2796,10 @@ void DomainMapper_Impl::CloseFieldCommand() sURL = OUString('#'); sURL += *aPartIt; } - else if (aPartIt->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("\\m")) || - aPartIt->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("\\n"))) + else if ( *aPartIt == "\\m" || *aPartIt == "\\n" ) { } - else if (aPartIt->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("\\o")) || - aPartIt->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("\\t"))) + else if ( *aPartIt == "\\o" || *aPartIt == "\\t" ) { ++aPartIt; |