[Libreoffice-commits] core.git: include/svx sc/source
Noel Grandin
noel.grandin at collabora.co.uk
Thu May 4 10:06:39 UTC 2017
include/svx/svdpntv.hxx | 2 +-
sc/source/ui/view/tabview.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 214e0847f5d1666b4cf23a833bb757f6bace04d0
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu May 4 09:33:36 2017 +0200
drop default param in SdrPaintView::VisAreaChanged
to make it easier to remove some unused params
Change-Id: If36f5b69d8a45261ed23ea382b145ac2286ea794
Reviewed-on: https://gerrit.libreoffice.org/37225
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index da219d703f8e..62cf75f7918f 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -485,7 +485,7 @@ public:
/// Must be called by the App when scrolling etc. in order for
/// an active FormularControl to be moved too
- void VisAreaChanged(const OutputDevice* pOut=nullptr);
+ void VisAreaChanged(const OutputDevice* pOut);
void VisAreaChanged(const SdrPageWindow& rWindow);
bool IsPrintPreview() const { return mbPrintPreview; }
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 58cf713ada2b..0a524c268df1 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2155,7 +2155,7 @@ void ScTabView::SetNewVisArea()
if (pActive)
aViewData.GetViewShell()->VisAreaChanged();
if (pDrawView)
- pDrawView->VisAreaChanged(); // no window passed on -> for all windows
+ pDrawView->VisAreaChanged(nullptr); // no window passed on -> for all windows
UpdateAllOverlays(); // #i79909# with drawing MapMode set
More information about the Libreoffice-commits
mailing list