From kde-commits Mon Feb 28 22:29:03 2005 From: Tomislav Lukman Date: Mon, 28 Feb 2005 22:29:03 +0000 To: kde-commits Subject: koffice/karbon/widgets Message-Id: <20050228222903.E85411487A () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110962975110552 CVS commit by lukman: Similar thing caused vsmallpreview widget to chrash. This is just a precaution (most of this code was copied to vsmallpreview when it was first built). M +2 -2 vstrokefillpreview.cc 1.54 --- koffice/karbon/widgets/vstrokefillpreview.cc #1.53:1.54 @@ -223,5 +223,5 @@ VStrokeFillPreview::drawFill( const VFil } } - else + if( f.type() == VFill::patt ) { fill.pattern() = f.pattern(); @@ -318,5 +318,5 @@ VStrokeFillPreview::drawStroke( const VS fill.setType( VFill::grad ); } - else + if( s.type() == VStroke::patt ) { fill.pattern() = s.pattern();