diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:04:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:04:49 +0000 |
commit | 6f84ac0e57c3d1bd9d22efe95aea5d89cf8815c9 (patch) | |
tree | ec7e7c1c706d60ccf3639e3799eb94f922e8b945 /basegfx | |
parent | 45a0353abe648531d6535137ac83b8212afd4086 (diff) |
INTEGRATION: CWS aw033 (1.6.6); FILE MERGED
2008/05/27 14:08:46 aw 1.6.6.3: #i39532# changes DEV300 m12 resync corrections
2008/05/14 14:41:24 aw 1.6.6.2: RESYNC: (1.6-1.7); FILE MERGED
2007/12/12 13:13:34 aw 1.6.6.1: #i39532# clipping changes
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/range/b2dmultirange.cxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/basegfx/source/range/b2dmultirange.cxx b/basegfx/source/range/b2dmultirange.cxx index ff68c5999484..64c3cf5ab813 100644 --- a/basegfx/source/range/b2dmultirange.cxx +++ b/basegfx/source/range/b2dmultirange.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b2dmultirange.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -35,17 +35,10 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/range/b2dmultirange.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> -#ifndef _BGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX #include <basegfx/polygon/b2dpolypolygontools.hxx> -#endif - -#ifndef BOOST_BIND_HPP_INCLUDED +#include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <boost/bind.hpp> -#endif -#ifndef BOOST_MEM_FN_HPP_INCLUDED #include <boost/mem_fn.hpp> -#endif - #include <algorithm> #include <vector> @@ -200,8 +193,9 @@ namespace basegfx // remove redundant intersections. Note: since all added // rectangles are positively oriented, this method cannot // generate any holes. - aRes = ::basegfx::tools::removeAllIntersections(aRes); - aRes = ::basegfx::tools::removeNeutralPolygons(aRes, sal_True); + aRes = basegfx::tools::solveCrossovers(aRes); + aRes = basegfx::tools::stripNeutralPolygons(aRes); + aRes = basegfx::tools::stripDispensablePolygons(aRes, false); return aRes; } |