patch for Bug 1863 - CEikCba::SetBoundingRect() calls deprecated RWindowBase::SetShape()
authorMattD <mattd@symbian.org>
Wed, 10 Feb 2010 20:59:36 +0000
changeset 76 6d325c59acb5
parent 71 9e048f93dc24
child 77 bc56089e70f9
patch for Bug 1863 - CEikCba::SetBoundingRect() calls deprecated RWindowBase::SetShape()
windowing/windowserver/nga/CLIENT/RWINDOW.CPP
--- a/windowing/windowserver/nga/CLIENT/RWINDOW.CPP	Tue May 18 14:02:18 2010 +0100
+++ b/windowing/windowserver/nga/CLIENT/RWINDOW.CPP	Wed Feb 10 20:59:36 2010 +0000
@@ -1173,7 +1173,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;
 	}
 
 /**