loplugin:defaultparams
Change-Id: Ic784483cab8fc3d0b4c95a3261e3d5ce062dad7e
This commit is contained in:
@@ -921,7 +921,7 @@ void OViewsWindow::setGridSnap(bool bOn)
|
|||||||
for (; aIter != aEnd ; ++aIter)
|
for (; aIter != aEnd ; ++aIter)
|
||||||
{
|
{
|
||||||
(*aIter)->getReportSection().getSectionView().SetGridSnap(bOn);
|
(*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",
|
"reportdesign",
|
||||||
"X:" << aNewPos.X() << " Y:" << aNewPos.Y() << " on View#"
|
"X:" << aNewPos.X() << " Y:" << aNewPos.Y() << " on View#"
|
||||||
<< nViewCount++);
|
<< nViewCount++);
|
||||||
rReportSection.getSectionView().BegDragObj(aNewPos, nullptr, pHdl, nDrgLog, NULL);
|
rReportSection.getSectionView().BegDragObj(aNewPos, nullptr, pHdl, nDrgLog);
|
||||||
|
|
||||||
const long nSectionHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height();
|
const long nSectionHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height();
|
||||||
aNewPos.Y() -= nSectionHeight;
|
aNewPos.Y() -= nSectionHeight;
|
||||||
|
Reference in New Issue
Block a user