diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 09:38:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-15 07:30:47 +0100 |
commit | 457220bc2c0142c5b6f4135cb688ccfc99fec792 (patch) | |
tree | a387225d9d1e4914815a52a27e0a034fe5e85a26 /reportdesign/source/ui/report/ReportSection.cxx | |
parent | 0d9f3f7628f88fa66aaeea1f7148db620e17e728 (diff) |
loplugin:changetoolsgen in oox,reportdesign
Change-Id: I8112ae6bb92ef96b4229ab53b7002ae3c0ba865c
Reviewed-on: https://gerrit.libreoffice.org/49702
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/report/ReportSection.cxx')
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 99f93cc72455..de5a0e726aca 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -758,12 +758,12 @@ sal_Int8 OReportSection::ExecuteDrop( const ExecuteDropEvent& _rEvt ) m_pView->UnmarkAll(); const tools::Rectangle& rRect = m_pView->GetWorkArea(); if ( aDropPos.X() < rRect.Left() ) - aDropPos.X() = rRect.Left(); + aDropPos.setX( rRect.Left() ); else if ( aDropPos.X() > rRect.Right() ) - aDropPos.X() = rRect.Right(); + aDropPos.setX( rRect.Right() ); if ( aDropPos.Y() > rRect.Bottom() ) - aDropPos.Y() = rRect.Bottom(); + aDropPos.setY( rRect.Bottom() ); uno::Sequence<beans::PropertyValue> aValues; if ( !bMultipleFormat ) |