summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:12:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-28 12:47:31 +0100
commitefe22f3fa2375c233b86d9a4556e2cd7eed85f9d (patch)
tree6c8283a52080c266f54ea416befd31d3f7456893 /starmath/source/node.cxx
parent398d10a506f9f1c4109d012f22f0e85ee571fe9f (diff)
drop old tools/gen methods in reportdesign..xmloff
Change-Id: I398831c526ba51d861557fa6c13c0e2fb44dfbe0 Reviewed-on: https://gerrit.libreoffice.org/50447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index abfacfff8c22..3d1190594002 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -1961,8 +1961,8 @@ void SmPolyLineNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat)
else
{
OSL_ENSURE(GetToken().eType == TWIDEBACKSLASH, "Sm : unexpected token");
- aPointA.X() =
- aPointA.Y() = nBorderwidth;
+ aPointA.setX( nBorderwidth );
+ aPointA.setY( nBorderwidth );
aPointB.setX( maToSize.Width() - nBorderwidth );
aPointB.setY( maToSize.Height() - nBorderwidth );
}