summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:05 +0200
commitd0e371ecb6e5e68614bbc0d75a5296ad6e0934b1 (patch)
treefebe5d9957eba37d84392bf526f555d5ac1851aa
parent255bb46d14343c4aa19e312d735d7fda49e46102 (diff)
loplugin:defaultparams
Change-Id: Ic784483cab8fc3d0b4c95a3261e3d5ce062dad7e
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index 5542cfd9ae5e..5e8205d90a43 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -921,7 +921,7 @@ void OViewsWindow::setGridSnap(bool bOn)
for (; aIter != aEnd ; ++aIter)
{
(*aIter)->getReportSection().getSectionView().SetGridSnap(bOn);
- (*aIter)->getReportSection().Invalidate(InvalidateFlags::NONE);
+ (*aIter)->getReportSection().Invalidate();
}
}
@@ -1154,7 +1154,7 @@ void OViewsWindow::BegDragObj(const Point& _aPnt, SdrHdl* _pHdl,const OSectionVi
"reportdesign",
"X:" << aNewPos.X() << " Y:" << aNewPos.Y() << " on View#"
<< nViewCount++);
- rReportSection.getSectionView().BegDragObj(aNewPos, nullptr, pHdl, nDrgLog, NULL);
+ rReportSection.getSectionView().BegDragObj(aNewPos, nullptr, pHdl, nDrgLog);
const long nSectionHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height();
aNewPos.Y() -= nSectionHeight;