summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 14:29:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:50:27 +0200
commitec38966951f28a1e1d4c97f01a550c87f152cbc8 (patch)
treee5a6e35accae72cf0535b1c34ba384bf2730f9d3 /sc
parent44bc7fc5609a4930e7236b43cf445920a2a3bc77 (diff)
loplugin:checkunusedparams in svx(part3)
Change-Id: I4b9b749565750acc7f674957fd619870b0e29237 Reviewed-on: https://gerrit.libreoffice.org/37240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen9.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 077691579c3f..3373d16fdf84 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -319,7 +319,7 @@ bool ScDocument::HasOLEObjectsInArea( const ScRange& rRange, const ScMarkData* p
return false;
}
-void ScDocument::StartAnimations( SCTAB nTab, vcl::Window* pWin )
+void ScDocument::StartAnimations( SCTAB nTab, vcl::Window* /*pWin*/ )
{
if (!pDrawLayer)
return;
@@ -336,8 +336,7 @@ void ScDocument::StartAnimations( SCTAB nTab, vcl::Window* pWin )
{
if ( pGrafObj->IsAnimated() )
{
- const tools::Rectangle& rRect = pGrafObj->GetCurrentBoundRect();
- pGrafObj->StartAnimation( pWin, rRect.TopLeft(), rRect.GetSize() );
+ pGrafObj->StartAnimation();
}
}
pObject = aIter.Next();