summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unocrsrhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unocrsrhelper.cxx')
-rw-r--r--sw/source/core/unocore/unocrsrhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx
index d5b8a6422a48..ea77e4f3103e 100644
--- a/sw/source/core/unocore/unocrsrhelper.cxx
+++ b/sw/source/core/unocore/unocrsrhelper.cxx
@@ -987,11 +987,11 @@ void makeRedline( SwPaM& rPaM,
IDocumentRedlineAccess* pRedlineAccess = rPaM.GetDoc();
RedlineType_t eType = nsRedlineType_t::REDLINE_INSERT;
- if( rRedlineType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "Delete" ) ))
+ if ( rRedlineType == "Delete" )
eType = nsRedlineType_t::REDLINE_DELETE;
- else if( rRedlineType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "Format" ) ))
+ else if ( rRedlineType == "Format" )
eType = nsRedlineType_t::REDLINE_FORMAT;
- else if( rRedlineType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "TextTable" ) ))
+ else if ( rRedlineType == "TextTable" )
eType = nsRedlineType_t::REDLINE_TABLE;
else if( !rRedlineType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "Insert" ) ))
throw lang::IllegalArgumentException();