[Libreoffice-commits] core.git: svx/source
Regina Henschel (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 25 14:57:59 UTC 2019
svx/source/customshapes/EnhancedCustomShape2d.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ab4806de79a1c8772024f0e51cd9ba7a30b96405
Author: Regina Henschel <rb.henschel at t-online.de>
AuthorDate: Thu Jul 25 13:09:08 2019 +0200
Commit: Regina Henschel <rb.henschel at t-online.de>
CommitDate: Thu Jul 25 16:57:04 2019 +0200
tdf#126537 correct reverse calc for handle in ooxml-parallelogram
Reverse calculation of handle position of ooxml-parallelogram shape
has to follow the x/ss*100000 pattern. Error was, that it was not
listed in that section.
Change-Id: I846c21fe12c7e64e0c947e32d4b680fba60a5e50
Reviewed-on: https://gerrit.libreoffice.org/76311
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel at t-online.de>
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 7f16a469d91b..a23d95386ce3 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1227,6 +1227,7 @@ static double lcl_getXAdjustmentValue(OUString& rShapeType, const sal_uInt32 nHa
|| (rShapeType == "ooxml-leftRightArrowCallout" && nHandleIndex == 2)
|| (rShapeType == "ooxml-leftRightRibbon")
|| (rShapeType == "ooxml-nonIsoscelesTrapezoid" && nHandleIndex == 0)
+ || (rShapeType == "ooxml-parallelogram")
|| (rShapeType == "ooxml-round2DiagRect" && nHandleIndex == 0)
|| (rShapeType == "ooxml-round2SameRect" && nHandleIndex == 1)
|| (rShapeType == "ooxml-roundRect")
More information about the Libreoffice-commits
mailing list