From 5112f6a6c6e4cd76045f31e269a679b50dc83fb2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Nov 2013 11:10:15 +0200 Subject: remove RTL_CONSTASCII_STRINGPARAM in OString constructor Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f --- slideshow/source/engine/shapes/gdimtftools.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'slideshow/source/engine/shapes/gdimtftools.cxx') diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 9850f3e3a546..484548999dac 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -450,9 +450,7 @@ bool getRectanglesFromScrollMtf( ::basegfx::B2DRectangle& o_rScrollRect, MetaCommentAction * pAct = static_cast(pCurrAct); // skip comment if not a special XTEXT... comment - if( pAct->GetComment().matchIgnoreAsciiCase( - OString(RTL_CONSTASCII_STRINGPARAM("XTEXT")), - 0) ) + if( pAct->GetComment().matchIgnoreAsciiCase( OString("XTEXT"), 0 ) ) { if (pAct->GetComment().equalsIgnoreAsciiCaseL( RTL_CONSTASCII_STRINGPARAM("XTEXT_SCROLLRECT") )) -- cgit