diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:00:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:00:34 +0000 |
commit | 484c3ddfd5f3d9b6175ac876ee6fb8f4c77f5637 (patch) | |
tree | 2e3a720a4fc8b457783842f2b0350c76aec58a71 /basegfx/source/matrix | |
parent | 918160466261a2e187668a14ecdf2b72b824dd56 (diff) |
INTEGRATION: CWS aw033 (1.8.2); FILE MERGED
2008/06/10 09:26:43 aw 1.8.2.8: #i39532# adapted missing tooling conversion
2008/05/14 14:42:03 aw 1.8.2.7: RESYNC: (1.13-1.14); FILE MERGED
2007/05/23 23:35:55 aw 1.8.2.6: RESYNC: (1.12-1.13); FILE MERGED
2006/11/28 16:12:59 aw 1.8.2.5: RESYNC: (1.11-1.12); FILE MERGED
2006/09/27 16:29:22 aw 1.8.2.4: #i39532# changes after resync to m185
2006/09/26 14:48:15 aw 1.8.2.3: RESYNC: (1.9-1.11); FILE MERGED
2006/05/12 11:36:05 aw 1.8.2.2: code changes for primitive support
2005/10/28 11:22:54 aw 1.8.2.1: #i39532#
Diffstat (limited to 'basegfx/source/matrix')
-rw-r--r-- | basegfx/source/matrix/b3dhommatrix.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index d53f2de197e4..4c88f794ec46 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b3dhommatrix.cxx,v $ - * $Revision: 1.14 $ + * $Revision: 1.15 $ * * This file is part of OpenOffice.org. * @@ -30,6 +30,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_basegfx.hxx" + #include <rtl/instance.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> #include <hommatrixtemplate.hxx> @@ -463,7 +464,7 @@ namespace basegfx // get ShearXY rShear.setX(aCol0.scalar(aCol1)); - if(::basegfx::fTools::equalZero(rShear.getX())) + if(fTools::equalZero(rShear.getX())) { rShear.setX(0.0); } @@ -481,7 +482,7 @@ namespace basegfx const double fShearX(rShear.getX()); - if(!::basegfx::fTools::equalZero(fShearX)) + if(!fTools::equalZero(fShearX)) { rShear.setX(rShear.getX() / rScale.getY()); } @@ -489,7 +490,7 @@ namespace basegfx // get ShearXZ rShear.setY(aCol0.scalar(aCol2)); - if(::basegfx::fTools::equalZero(rShear.getY())) + if(fTools::equalZero(rShear.getY())) { rShear.setY(0.0); } @@ -504,7 +505,7 @@ namespace basegfx // get ShearYZ rShear.setZ(aCol1.scalar(aCol2)); - if(::basegfx::fTools::equalZero(rShear.getZ())) + if(fTools::equalZero(rShear.getZ())) { rShear.setZ(0.0); } @@ -522,14 +523,14 @@ namespace basegfx const double fShearY(rShear.getY()); - if(!::basegfx::fTools::equalZero(fShearY)) + if(!fTools::equalZero(fShearY)) { rShear.setY(rShear.getY() / rScale.getZ()); } const double fShearZ(rShear.getZ()); - if(!::basegfx::fTools::equalZero(fShearZ)) + if(!fTools::equalZero(fShearZ)) { rShear.setZ(rShear.getZ() / rScale.getZ()); } |