summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 13:02:42 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:17 +0200
commit7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (patch)
treef04de671670a533ccffe20bf3aa0fa9c5f837a5d /slideshow
parent0670872ce0d191cf93481215025cafd2062b8a8f (diff)
loplugin: defaultparams
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.cxx2
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx2
-rw-r--r--slideshow/source/engine/slide/layer.cxx2
-rw-r--r--slideshow/source/engine/slideview.cxx4
4 files changed, 5 insertions, 5 deletions
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<MetaCommentAction*>(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<MetaCommentAction *>(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