summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptObject.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 09:38:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-15 07:30:47 +0100
commit457220bc2c0142c5b6f4135cb688ccfc99fec792 (patch)
treea387225d9d1e4914815a52a27e0a034fe5e85a26 /reportdesign/source/core/sdr/RptObject.cxx
parent0d9f3f7628f88fa66aaeea1f7148db620e17e728 (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/core/sdr/RptObject.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index a63018c1ab9d..37a0f763b51b 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -681,7 +681,7 @@ void OUnoObject::NbcMove( const Size& rSize )
int nNewY = m_xReportComponent->getPositionY() + rSize.Height();
if (nNewY < 0 && !bUndoMode)
{
- aUndoSize.Height() = abs(nNewY);
+ aUndoSize.setHeight( abs(nNewY) );
bPositionFixed = true;
nNewY = 0;
}
@@ -961,7 +961,7 @@ void OOle2Obj::NbcMove( const Size& rSize )
int nNewY = m_xReportComponent->getPositionY() + rSize.Height();
if (nNewY < 0 && !bUndoMode)
{
- aUndoSize.Height() = abs(nNewY);
+ aUndoSize.setHeight( abs(nNewY) );
bPositionFixed = true;
nNewY = 0;
}