summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 11:48:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 12:05:29 +0200
commitd4e9fe5a733f9c3a3c0b673379739c768075b465 (patch)
treeaa03f07d97a59053c374f590818aa942f120848e /sd
parenta4b581bb996142d2906f23161ec673f958511649 (diff)
loplugin:checkunusedparams in sfx2
Change-Id: Iea88ddd619f10a2a2586ee24edbf07e246dcbb49 Reviewed-on: https://gerrit.libreoffice.org/37191 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc.cxx2
-rw-r--r--sd/source/ui/view/viewshe2.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 0a383c637615..a30fdb097d6e 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -723,7 +723,7 @@ void SdDrawDocument::UpdateAllLinks()
rEmbeddedObjectContainer.setUserAllowsLinkUpdate(true);
}
- pLinkManager->UpdateAllLinks(); // query box: update all links?
+ pLinkManager->UpdateAllLinks(true, false, nullptr); // query box: update all links?
if (s_pDocLockedInsertingLinks == this)
s_pDocLockedInsertingLinks = nullptr; // unlock inserting links
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index 3eee7b1e09e4..c56e19ac138e 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -984,10 +984,10 @@ void ViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::Pr
mpFrameView->ReadUserDataSequence( rSequence );
}
-void ViewShell::VisAreaChanged(const ::tools::Rectangle& rRect)
+void ViewShell::VisAreaChanged(const ::tools::Rectangle& /*rRect*/)
{
OSL_ASSERT (GetViewShell()!=nullptr);
- GetViewShell()->VisAreaChanged(rRect);
+ GetViewShell()->VisAreaChanged();
}
void ViewShell::SetWinViewPos(const Point& rWinPos)