oox/source/export/DMLPresetShapeExport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e190196f255b7d0147d61fd967a2b2a61a932185 Author: Attila Bakos (NISZ) <bakos.attilakar...@nisz.hu> AuthorDate: Thu Jul 1 14:30:05 2021 +0200 Commit: László Németh <nem...@numbertext.org> CommitDate: Thu Jul 1 17:12:32 2021 +0200 tdf#143028 DOCX export: fix RangeY regression of preset shapes Use property name "RangeYMaximum" instead of "RangeXMaximum" in GetAdjustmentPointYValue(). Regression from commit 99a459dfdfd9f82ed3506708e131dd52a1a62384 (tdf#143028 DOCX: fix corrupt export of shape "bracePair" etc.) Thanks to Regina Henschel for reporting the problem. Change-Id: I2bdc4be9338d0fe4973a209ee97a4d5880aaac6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118223 Tested-by: László Németh <nem...@numbertext.org> Reviewed-by: László Németh <nem...@numbertext.org> diff --git a/oox/source/export/DMLPresetShapeExport.cxx b/oox/source/export/DMLPresetShapeExport.cxx index e8d2f26e2e5b..9da095bf2dc3 100644 --- a/oox/source/export/DMLPresetShapeExport.cxx +++ b/oox/source/export/DMLPresetShapeExport.cxx @@ -203,7 +203,7 @@ DMLPresetShapeExporter::GetAdjustmentPointYValue(sal_Int32 nPoint) aRet.nMinVal = GetHandleValueOfModificationPoint(nPoint, u"RangeYMinimum") .get<EnhancedCustomShapeParameter>() .Value.get<double>(); - aRet.nMaxVal = GetHandleValueOfModificationPoint(nPoint, u"RangeXMaximum") + aRet.nMaxVal = GetHandleValueOfModificationPoint(nPoint, u"RangeYMaximum") .get<EnhancedCustomShapeParameter>() .Value.get<double>(); aRet.nCurrVal = GetAdjustmentValues()[aValPos.Second.Value.get<long>()].Value.get<double>(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits