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
This commit is contained in:
Rüdiger Timm 2007-11-09 09:16:50 +00:00
parent 98180b5037
commit d4fa9d0a3c

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: slideview.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -233,15 +233,18 @@ void clearRect( ::cppcanvas::CanvasSharedPtr const& pCanvas,
#if defined(VERBOSE) && defined(DBG_UTIL) #if defined(VERBOSE) && defined(DBG_UTIL)
::cppcanvas::CanvasSharedPtr pCliplessCanvas( pCanvas->clone() ); ::cppcanvas::CanvasSharedPtr pCliplessCanvas( pCanvas->clone() );
pCliplessCanvas->setClip(); pCliplessCanvas->setClip();
if( pCanvas->getClip() )
{
::cppcanvas::PolyPolygonSharedPtr pPolyPoly2( ::cppcanvas::PolyPolygonSharedPtr pPolyPoly2(
::cppcanvas::BaseGfxFactory::getInstance().createPolyPolygon( pCliplessCanvas, ::cppcanvas::BaseGfxFactory::getInstance().createPolyPolygon( pCliplessCanvas,
pCanvas->getClip() ) ); *(pCanvas->getClip()) ));
if( pPolyPoly2 ) if( pPolyPoly2 )
{ {
pPolyPoly2->setRGBALineColor( 0x008000FFU ); pPolyPoly2->setRGBALineColor( 0x008000FFU );
pPolyPoly2->draw(); pPolyPoly2->draw();
} }
}
#endif #endif
} }