diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-17 08:40:10 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-17 08:40:10 +0000 |
commit | d36b69ef515f54f466763414d8345a6f233c6aae (patch) | |
tree | 2691c1bf9980b72e55752b11f04c1d422469e001 /sdext | |
parent | CWS-TOOLING: integrate CWS rt33 (diff) | |
download | core-d36b69ef515f54f466763414d8345a6f233c6aae.tar.gz core-d36b69ef515f54f466763414d8345a6f233c6aae.zip |
CWS-TOOLING: integrate CWS aw057
Diffstat (limited to 'sdext')
-rwxr-xr-x | sdext/source/pdfimport/test/tests.cxx | 10 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/pdfiprocessor.cxx | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx index c045b729d7b5..6eb8fb29b413 100755 --- a/sdext/source/pdfimport/test/tests.cxx +++ b/sdext/source/pdfimport/test/tests.cxx @@ -8,7 +8,7 @@ * * $RCSfile: tests.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.6.1 $ * * This file is part of OpenOffice.org. * @@ -346,8 +346,8 @@ namespace basegfx::B2DPolyPolygon aNewClip = basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(rPath); basegfx::B2DPolyPolygon aCurClip = getCurrentContext().Clip; - if( aCurClip.count() ) - aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, false ); + if( aCurClip.count() ) // #i92985# adapted API from (..., false, false) to (..., true, false) + aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, true, false ); getCurrentContext().Clip = aNewClip; } @@ -357,8 +357,8 @@ namespace basegfx::B2DPolyPolygon aNewClip = basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(rPath); basegfx::B2DPolyPolygon aCurClip = getCurrentContext().Clip; - if( aCurClip.count() ) - aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, false ); + if( aCurClip.count() ) // #i92985# adapted API from (..., false, false) to (..., true, false) + aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, true, false ); getCurrentContext().Clip = aNewClip; } diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index 5f3c6195dd4a..c227461b146a 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx @@ -8,7 +8,7 @@ * * $RCSfile: pdfiprocessor.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.4.1 $ * * This file is part of OpenOffice.org. * @@ -667,8 +667,8 @@ void PDFIProcessor::intersectClip(const uno::Reference< rendering::XPolyPolygon2 aNewClip.transform(getCurrentContext().Transformation); basegfx::B2DPolyPolygon aCurClip = getCurrentContext().Clip; - if( aCurClip.count() ) - aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, false, false ); + if( aCurClip.count() ) // #i92985# adapted API from (..., false, false) to (..., true, false) + aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, true, false ); getCurrentContext().Clip = aNewClip; } @@ -680,8 +680,8 @@ void PDFIProcessor::intersectEoClip(const uno::Reference< rendering::XPolyPolygo aNewClip.transform(getCurrentContext().Transformation); basegfx::B2DPolyPolygon aCurClip = getCurrentContext().Clip; - if( aCurClip.count() ) - aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, false, false ); + if( aCurClip.count() ) // #i92985# adapted API from (..., false, false) to (..., true, false) + aNewClip = basegfx::tools::clipPolyPolygonOnPolyPolygon( aCurClip, aNewClip, true, false ); getCurrentContext().Clip = aNewClip; } |