diff options
Diffstat (limited to 'sc/source/ui/vba/vbafont.cxx')
-rw-r--r-- | sc/source/ui/vba/vbafont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx index 216b0b7232c4..c3630abb9b06 100644 --- a/sc/source/ui/vba/vbafont.cxx +++ b/sc/source/ui/vba/vbafont.cxx @@ -321,10 +321,10 @@ ScVbaFont::setFontStyle( const uno::Any& aValue ) throw( uno::RuntimeException ) std::vector< rtl::OUString >::iterator it; for( it = aTokens.begin(); it != aTokens.end(); ++it ) { - if( (*it).equalsIgnoreAsciiCaseAscii( "Bold" ) ) + if( (*it).equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("Bold")) ) bBold = sal_True; - if( (*it).equalsIgnoreAsciiCaseAscii( "Italic" ) ) + if( (*it).equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("Italic")) ) bItalic = sal_True; } |