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>
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