loplugin:defaultparams

Change-Id: Ic784483cab8fc3d0b4c95a3261e3d5ce062dad7e
This commit is contained in:
Stephan Bergmann
2015-10-20 11:46:05 +02:00
parent 255bb46d14
commit d0e371ecb6

View File

@@ -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;