From 7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Aug 2015 13:02:42 +0200 Subject: loplugin: defaultparams Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b --- slideshow/source/engine/shapes/drawshapesubsetting.cxx | 2 +- slideshow/source/engine/shapes/gdimtftools.cxx | 2 +- slideshow/source/engine/slide/layer.cxx | 2 +- slideshow/source/engine/slideview.cxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx index 1f4c7bc8b168..183eaadf89a8 100644 --- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx +++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx @@ -74,7 +74,7 @@ namespace slideshow MetaCommentAction* pAct = static_cast(pCurrAct); // skip comment if not a special XTEXT... comment - if( pAct->GetComment().matchIgnoreAsciiCase( OString("XTEXT"), 0 ) ) + if( pAct->GetComment().matchIgnoreAsciiCase( OString("XTEXT") ) ) { // 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 3422daadfc37..83fce3d442eb 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -447,7 +447,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("XTEXT"), 0 ) ) + if( pAct->GetComment().matchIgnoreAsciiCase( OString("XTEXT") ) ) { if (pAct->GetComment().equalsIgnoreAsciiCase("XTEXT_SCROLLRECT")) { diff --git a/slideshow/source/engine/slide/layer.cxx b/slideshow/source/engine/slide/layer.cxx index 80fbf94c0793..7bda7c2369d1 100644 --- a/slideshow/source/engine/slide/layer.cxx +++ b/slideshow/source/engine/slide/layer.cxx @@ -242,7 +242,7 @@ namespace slideshow // the calculated update area ::basegfx::B2DPolyPolygon aClip( maUpdateAreas.solveCrossovers() ); aClip = ::basegfx::tools::stripNeutralPolygons(aClip); - aClip = ::basegfx::tools::stripDispensablePolygons(aClip, false); + aClip = ::basegfx::tools::stripDispensablePolygons(aClip); // actually, if there happen to be shapes with zero // update area in the maUpdateAreas vector, the diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index c73ff64d3598..11f156b294d5 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -147,7 +147,7 @@ basegfx::B2DPolyPolygon prepareClip( const basegfx::B2DPolyPolygon& rClip ) aClip = basegfx::tools::correctOrientations(aClip); aClip = basegfx::tools::solveCrossovers(aClip); aClip = basegfx::tools::stripNeutralPolygons(aClip); - aClip = basegfx::tools::stripDispensablePolygons(aClip, false); + aClip = basegfx::tools::stripDispensablePolygons(aClip); return aClip; } @@ -1136,7 +1136,7 @@ void SlideView::updateClip() mpCanvas, maUserSize )); - pruneLayers( false ); + pruneLayers(); } void SlideView::pruneLayers( bool bWithViewLayerUpdate ) const -- cgit