From 4d87443bf59c3242d58b56cc1583d73213ae1f2f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Sep 2016 12:43:17 +0200 Subject: loplugin:constantparam Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/graphic/grfmgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 7552caf077e6..780acab62b26 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -610,7 +610,7 @@ void GraphicObject::DrawTiled( OutputDevice* pOut, const Rectangle& rArea, const } bool GraphicObject::StartAnimation( OutputDevice* pOut, const Point& rPt, const Size& rSz, - long nExtraData, const GraphicAttr* pAttr, GraphicManagerDrawFlags /*nFlags*/, + long nExtraData, OutputDevice* pFirstFrameOutDev ) { bool bRet = false; @@ -619,7 +619,7 @@ bool GraphicObject::StartAnimation( OutputDevice* pOut, const Point& rPt, const if( !IsSwappedOut() ) { - const GraphicAttr aAttr( pAttr ? *pAttr : GetAttr() ); + const GraphicAttr aAttr( GetAttr() ); if( mbAnimated ) { -- cgit