diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-11-09 09:16:50 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-11-09 09:16:50 +0000 |
commit | d4fa9d0a3c5931bb45bf07b59ca4f1ee9be331c4 (patch) | |
tree | ce2f5c3e3f35eca0695075882656e7f8d1b55213 /slideshow | |
parent | 98180b503782ba2eee58df7f2ffb47905fb62862 (diff) |
INTEGRATION: CWS transogl01 (1.4.4); FILE MERGED
2007/10/10 12:02:30 thb 1.4.4.1: #i10000# WaE fixes; making verbose=t build work again
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/slideview.cxx | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index 2d1cae8b95e4..290b37cdcf2a 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -4,9 +4,9 @@ * * $RCSfile: slideview.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2007-11-01 14:46:46 $ + * last change: $Author: rt $ $Date: 2007-11-09 10:16:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -233,14 +233,17 @@ void clearRect( ::cppcanvas::CanvasSharedPtr const& pCanvas, #if defined(VERBOSE) && defined(DBG_UTIL) ::cppcanvas::CanvasSharedPtr pCliplessCanvas( pCanvas->clone() ); pCliplessCanvas->setClip(); - ::cppcanvas::PolyPolygonSharedPtr pPolyPoly2( - ::cppcanvas::BaseGfxFactory::getInstance().createPolyPolygon( pCliplessCanvas, - pCanvas->getClip() ) ); - if( pPolyPoly2 ) + if( pCanvas->getClip() ) { - pPolyPoly2->setRGBALineColor( 0x008000FFU ); - pPolyPoly2->draw(); + ::cppcanvas::PolyPolygonSharedPtr pPolyPoly2( + ::cppcanvas::BaseGfxFactory::getInstance().createPolyPolygon( pCliplessCanvas, + *(pCanvas->getClip()) )); + if( pPolyPoly2 ) + { + pPolyPoly2->setRGBALineColor( 0x008000FFU ); + pPolyPoly2->draw(); + } } #endif } |