summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/xexptran.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-02-22 11:27:36 +0000
committerArmin Weiss <aw@openoffice.org>2001-02-22 11:27:36 +0000
commit851324924e4e6543a72d199bc97550dc5681b221 (patch)
treeed700783f6ed1a1cdf73b22b1f82e416b6041521 /xmloff/source/draw/xexptran.cxx
parent931a2089e0b74c965c63a6ec68effc8d81b7c987 (diff)
XML: Changed transformation import/export to use size always and positions
when there are no shear or rotate values. Else use svg:transform statement.
Diffstat (limited to 'xmloff/source/draw/xexptran.cxx')
-rw-r--r--xmloff/source/draw/xexptran.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx
index 43d9f446689a..0c6be3e692d8 100644
--- a/xmloff/source/draw/xexptran.cxx
+++ b/xmloff/source/draw/xexptran.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xexptran.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: aw $ $Date: 2001-02-09 13:38:53 $
+ * last change: $Author: aw $ $Date: 2001-02-22 12:27:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -576,9 +576,9 @@ void SdXMLImExTransform2D::GetFullTransform(Matrix3D& rFullTrans)
case IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE :
rFullTrans.Translate(((ImpSdXMLExpTransObj2DTranslate*)pObj)->maTranslate); break;
case IMP_SDXMLEXP_TRANSOBJ2D_SKEWX :
- rFullTrans.ShearX(((ImpSdXMLExpTransObj2DSkewX*)pObj)->mfSkewX); break;
+ rFullTrans.ShearX(tan(((ImpSdXMLExpTransObj2DSkewX*)pObj)->mfSkewX)); break;
case IMP_SDXMLEXP_TRANSOBJ2D_SKEWY :
- rFullTrans.ShearY(((ImpSdXMLExpTransObj2DSkewY*)pObj)->mfSkewY); break;
+ rFullTrans.ShearY(tan(((ImpSdXMLExpTransObj2DSkewY*)pObj)->mfSkewY)); break;
case IMP_SDXMLEXP_TRANSOBJ2D_MATRIX :
{
const Matrix3D& rMat3D = ((ImpSdXMLExpTransObj2DMatrix*)pObj)->maMatrix;