patch for Bug 1863 - CEikCba::SetBoundingRect() calls deprecated RWindowBase::SetShape() NewGraphicsArchitecture PDK_3.0.g
authorMattD <mattd@symbian.org>
Wed, 10 Feb 2010 20:59:36 +0000
branchNewGraphicsArchitecture
changeset 8 6c0e9409e175
parent 7 b89ec83ec7e1
child 12 1b9c98a0cb83
child 15 55bc9da731e7
patch for Bug 1863 - CEikCba::SetBoundingRect() calls deprecated RWindowBase::SetShape()
windowing/windowserver/nga/CLIENT/RWINDOW.CPP
--- a/windowing/windowserver/nga/CLIENT/RWINDOW.CPP	Mon Feb 08 19:35:05 2010 +0000
+++ b/windowing/windowserver/nga/CLIENT/RWINDOW.CPP	Wed Feb 10 20:59:36 2010 +0000
@@ -1172,7 +1172,9 @@
 	__ASSERT_DEBUG(!aRegion.CheckError(),Panic(EW32PanicInvalidRegion));
 	const TInt regionCount=aRegion.Count();
 	TPtrC8 ptrRect(reinterpret_cast<const TUint8*>(aRegion.RectangleList()),regionCount*sizeof(TRect));
-	return(WriteReplyByProvidingRemoteReadAccess(&regionCount,sizeof(regionCount),&ptrRect,EWsWinOpSetShape));
+//	return(WriteReplyByProvidingRemoteReadAccess(&regionCount,sizeof(regionCount),&ptrRect,EWsWinOpSetShape));
+	RDebug::Printf("Bug 1863 - RWindowBase::SetShape() deprecated and non-functional. Disabling the panic.");
+	return KErrNone;
 	}
 
 /**