Change-Id: I73fec7b8634704a8ceedf7a1be6eacd4dafc06e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142249
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2022-11-03 19:35:59 +01:00
committed by Julien Nabet
parent 46f00c710f
commit dc9ebcbfd2
+1 -1
View File
@@ -3352,7 +3352,7 @@ void DrawingML::WriteText(const Reference<XInterface>& rXIface, bool bBodyPr, bo
if (nTop + nBottom >= nTextHeight)
{
// Effective bottom would be above effective top of text area. LO normalizes the
// effective text area in such case implicitely for rendering. MS needs indents so that
// effective text area in such case implicitly for rendering. MS needs indents so that
// the result is the normalized effective text area.
std::swap(nTop, nBottom);
nTop = nTextHeight - nTop;