starmath/source/node.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 172325bedf69bbc162f3c1948264451c90c105a3 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Sun Nov 20 12:08:11 2016 +0900 tdf#79645 Add line spacing only between rows of SmMatrixNode Change-Id: Icb785aff47de434fd8a99d1841dcbe4464df039f Reviewed-on: https://gerrit.libreoffice.org/31007 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index fe84e55..6b7adb4 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits