diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/slide/slideimpl.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/tools.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index c8a307d2782a..cdc164271923 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -1088,7 +1088,7 @@ bool SlideImpl::applyInitialShapeAttributes( for( ::std::size_t j=0; j<nShapePropSize; ++j ) { bool bVisible=false; - if( rShapeProps[j].Name.equalsIgnoreAsciiCaseAscii("visibility") && + if( rShapeProps[j].Name.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("visibility")) && extractValue( bVisible, rShapeProps[j].Value, pShape, diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx index 7dabb90b060e..0603d6a323f7 100644 --- a/slideshow/source/engine/tools.cxx +++ b/slideshow/source/engine/tools.cxx @@ -417,14 +417,14 @@ namespace slideshow // we also take the strings "true" and "false", // as well as "on" and "off" here - if( aString.equalsIgnoreAsciiCaseAscii("true") || - aString.equalsIgnoreAsciiCaseAscii("on") ) + if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) || + aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("on")) ) { o_rValue = true; return true; } - if( aString.equalsIgnoreAsciiCaseAscii("false") || - aString.equalsIgnoreAsciiCaseAscii("off") ) + if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("false")) || + aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("off")) ) { o_rValue = false; return true; |