summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2019-07-25 13:09:08 +0200
committerRegina Henschel <rb.henschel@t-online.de>2019-07-25 16:57:04 +0200
commitab4806de79a1c8772024f0e51cd9ba7a30b96405 (patch)
tree25fb8b752d55b788cd64c5680805465094948bb9 /svx
parenta41984d0d71f6b76d0e56604b17b52774e39197d (diff)
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@t-online.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx1
1 files changed, 1 insertions, 0 deletions
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")