diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 17:12:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-28 12:47:31 +0100 |
commit | efe22f3fa2375c233b86d9a4556e2cd7eed85f9d (patch) | |
tree | 6c8283a52080c266f54ea416befd31d3f7456893 /starmath | |
parent | 398d10a506f9f1c4109d012f22f0e85ee571fe9f (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')
-rw-r--r-- | starmath/inc/rect.hxx | 2 | ||||
-rw-r--r-- | starmath/source/node.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx index 83ebdcda5586..f48cc60554bd 100644 --- a/starmath/inc/rect.hxx +++ b/starmath/inc/rect.hxx @@ -116,7 +116,7 @@ public: void SetItalicSpaces(long nLeftSpace, long nRightSpace); - void SetWidth(sal_uLong nWidth) { aSize.Width() = nWidth; } + void SetWidth(sal_uLong nWidth) { aSize.setWidth(nWidth); } void SetLeft(long nLeft); void SetRight(long nRight); 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 ); } |