summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.cxx4
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx4
2 files changed, 2 insertions, 6 deletions
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
index a05305575606..0cb1b075f5c1 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
@@ -79,9 +79,7 @@ namespace slideshow
MetaCommentAction* pAct = static_cast<MetaCommentAction*>(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 ) )
{
// fill classification vector with NOOPs,
// then insert corresponding classes at
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<MetaCommentAction *>(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") ))