summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-08-27 15:27:14 +0000
committerKurt Zenker <kz@openoffice.org>2003-08-27 15:27:14 +0000
commitdfca738c4d2a14d2e777f0b60d3421ebaa2b668e (patch)
treefa2624a9d50917a8f263886c4d9688ea6ceba973
parent76ee0e8d2487be7f591a655a1382b2bf735eb553 (diff)
INTEGRATION: CWS geordi2q02 (1.35.56); FILE MERGED
2003/08/25 12:04:03 hr 1.35.56.1: #111934#: joined from CWS mshapes01
-rw-r--r--svtools/source/filter.vcl/wmf/winmtf.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/svtools/source/filter.vcl/wmf/winmtf.cxx b/svtools/source/filter.vcl/wmf/winmtf.cxx
index 7fe1f9ea1406..3f953ccc8234 100644
--- a/svtools/source/filter.vcl/wmf/winmtf.cxx
+++ b/svtools/source/filter.vcl/wmf/winmtf.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: winmtf.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: hr $ $Date: 2003-06-26 11:13:08 $
+ * last change: $Author: kz $ $Date: 2003-08-27 16:27:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -409,9 +409,8 @@ Point WinMtfOutput::ImplMap( const Point& rPt )
{
case MM_LOENGLISH :
{
- fY2 *= -1;
fX2 -= mnWinOrgX;
- fY2 -= mnWinOrgY;
+ fY2 = mnWinOrgY-fY2;
fX2 *= 25.40;
fY2 *= 25.40;
fX2 += mnDevOrgX;
@@ -420,9 +419,8 @@ Point WinMtfOutput::ImplMap( const Point& rPt )
break;
case MM_HIENGLISH :
{
- fY2 *= -1;
fX2 -= mnWinOrgX;
- fY2 -= mnWinOrgY;
+ fY2 = mnWinOrgY-fY2;
fX2 *= 2.540;
fY2 *= 2.540;
fX2 += mnDevOrgX;
@@ -431,9 +429,8 @@ Point WinMtfOutput::ImplMap( const Point& rPt )
break;
case MM_LOMETRIC :
{
- fY2 *= -1;
fX2 -= mnWinOrgX;
- fY2 -= mnWinOrgY;
+ fY2 = mnWinOrgY-fY2;
fX2 *= 10;
fY2 *= 10;
fX2 += mnDevOrgX;
@@ -442,9 +439,8 @@ Point WinMtfOutput::ImplMap( const Point& rPt )
break;
case MM_HIMETRIC :
{
- fY2 *= -1;
fX2 -= mnWinOrgX;
- fY2 -= mnWinOrgY;
+ fY2 = mnWinOrgY-fY2;
fX2 += mnDevOrgX;
fY2 += mnDevOrgY;
}