diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:18:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 10:18:44 +0100 |
commit | fe99ee368fef4059e187a81059679ca150161119 (patch) | |
tree | 7647d116d16e3cc5f5a6ab95fd9a6d86642e3604 /sw/source/filter/html/htmlcss1.cxx | |
parent | 577e90091bc72eb72b1432611c82cbdaf18b557c (diff) |
sw: Use appropriate OUString functions on string constants
Change-Id: I559d1e44d9096a2583af8e05468b3743ac210c6c
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index a2353c6af74e..04a9d7122781 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -589,17 +589,17 @@ sal_uInt16 SwCSS1Parser::GetScriptFromClass( OUString& rClass, switch( nLen ) { case 3: - if( rClass.matchIgnoreAsciiCaseAsciiL( "cjk", 3, nPos ) ) + if( rClass.matchIgnoreAsciiCase( "cjk", nPos ) ) { nScriptFlags = CSS1_SCRIPT_CJK; } - else if( rClass.matchIgnoreAsciiCaseAsciiL( "ctl", 3, nPos ) ) + else if( rClass.matchIgnoreAsciiCase( "ctl", nPos ) ) { nScriptFlags = CSS1_SCRIPT_CTL; } break; case 7: - if( rClass.matchIgnoreAsciiCaseAsciiL( "western", 7, nPos ) ) + if( rClass.matchIgnoreAsciiCase( "western", nPos ) ) { nScriptFlags = CSS1_SCRIPT_WESTERN; } |