svx/source/svdraw/svdoashp.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 7462607928247310b6426325e374c2f9e6f33bd9 Author: Armin Le Grand <a...@apache.org> Date: Wed Sep 4 15:58:19 2013 +0000 i123181 Corrected mirroring of shear angle in SdrObjCustomShape::TRSetBaseGeometry, this was wrong diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index d34ada5..4a74a9b 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -3343,8 +3343,10 @@ void SdrObjCustomShape::TRSetBaseGeometry(const basegfx::B2DHomMatrix& rMatrix, if(!basegfx::fTools::equalZero(fShearX)) { GeoStat aGeoStat; - // #121932# do *not* forget to invert shearX(!) - aGeoStat.nShearWink = FRound((atan(-fShearX) / F_PI180) * 100.0); + // #123181# The fix for #121932# here was wrong, the trunk version does not correct the + // mirrored shear values, neither at the object level, nor on the API or XML level. Taking + // back the mirroring of the shear angle + aGeoStat.nShearWink = FRound((atan(fShearX) / F_PI180) * 100.0); aGeoStat.RecalcTan(); Shear(Point(), aGeoStat.nShearWink, aGeoStat.nTan, sal_False); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits