diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-11-20 12:08:11 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-11-21 05:25:16 +0000 |
commit | 172325bedf69bbc162f3c1948264451c90c105a3 (patch) | |
tree | 4083c6d5956d0d19784bd945e695198f452424e5 /starmath | |
parent | 02ec51c7e0bf9320b32ec73233ecaaf160448776 (diff) |
tdf#79645 Add line spacing only between rows of SmMatrixNode
Change-Id: Icb785aff47de434fd8a99d1841dcbe4464df039f
Reviewed-on: https://gerrit.libreoffice.org/31007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index fe84e556898c..6b7adb47cd0e 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2311,7 +2311,8 @@ void SmMatrixNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) } aPos = aLineRect.AlignTo(*this, RectPos::Bottom, RectHorAlign::Center, RectVerAlign::Baseline); - aPos.Y() += nVerDist; + if (i > 0) + aPos.Y() += nVerDist; // move 'aLineRect' and rectangles in that line to final position Point aDelta(0, // since horizontal alignment is already done |