From 73342dbb82ba074d01962359dac50fb2aa36cbeb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Nov 2013 15:52:45 +0200 Subject: remove unnecessary RTL_CONSTASCII_STRINGPARAM A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710 --- slideshow/source/engine/shapes/viewmediashape.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index 004dce8bad63..1b4ed43421c3 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -323,16 +323,13 @@ namespace slideshow aDeviceParams[ 0 ] >>= aImplName; - if( aImplName.endsWithIgnoreAsciiCaseAsciiL( - RTL_CONSTASCII_STRINGPARAM("VCL") ) || aImplName.endsWithIgnoreAsciiCaseAsciiL( - RTL_CONSTASCII_STRINGPARAM("Cairo") ) ) + if( aImplName.endsWithIgnoreAsciiCase( "VCL" ) || + aImplName.endsWithIgnoreAsciiCase( "Cairo" ) ) { implInitializeVCLBasedPlayerWindow( rBounds, aDeviceParams ); } - else if( aImplName.endsWithIgnoreAsciiCaseAsciiL( - RTL_CONSTASCII_STRINGPARAM("DX")) || - aImplName.endsWithIgnoreAsciiCaseAsciiL( - RTL_CONSTASCII_STRINGPARAM("DX9"))) + else if( aImplName.endsWithIgnoreAsciiCase("DX") || + aImplName.endsWithIgnoreAsciiCase("DX9") ) { implInitializeDXBasedPlayerWindow( rBounds, aDeviceParams ); } -- cgit