summaryrefslogtreecommitdiff
path: root/sd/source/filter/eppt/epptso.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 12:48:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-15 07:28:07 +0100
commit0d9f3f7628f88fa66aaeea1f7148db620e17e728 (patch)
tree51cd0289fa399fbc338e0701f7ee13be8d228eb1 /sd/source/filter/eppt/epptso.cxx
parentc82802a9ee3514d0b98fbb3783abbc17ec02c3b6 (diff)
loplugin:changetoolsgen in sd
Change-Id: I41c5510f95167fe028f219fb593f12b75709bd65 Reviewed-on: https://gerrit.libreoffice.org/49726 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/filter/eppt/epptso.cxx')
-rw-r--r--sd/source/filter/eppt/epptso.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 89080a1a8db4..de02cd1eb5c4 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -3093,7 +3093,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape > const & rXSha
aColumns.emplace_back( nPosition, aM.Width );
nPosition += aM.Width;
if ( x == nColumnCount - 1 && nPosition != maRect.Right() )
- maRect.Right() = nPosition;
+ maRect.SetRight( nPosition );
}
nPosition = aPosition.Y;
@@ -3106,7 +3106,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape > const & rXSha
aRows.emplace_back( nPosition, aM.Height );
nPosition += aM.Height;
if ( y == nRowCount - 1 && nPosition != maRect.Bottom())
- maRect.Bottom() = nPosition;
+ maRect.SetBottom( nPosition );
}
std::unique_ptr<ContainerGuard> xSpgrContainer(new ContainerGuard(mpPptEscherEx, ESCHER_SpgrContainer));
std::unique_ptr<ContainerGuard> xSpContainer(new ContainerGuard(mpPptEscherEx, ESCHER_SpContainer));