windowing/windowserver/nga/SERVER/scrdev.cpp
branchRCL_3
changeset 33 25f95128741d
parent 0 5d03bc08d59c
child 163 bbf46f59e123
--- a/windowing/windowserver/nga/SERVER/scrdev.cpp	Wed Mar 31 23:34:07 2010 +0300
+++ b/windowing/windowserver/nga/SERVER/scrdev.cpp	Wed Apr 14 17:19:46 2010 +0300
@@ -46,6 +46,7 @@
 		,iClientScreenDevicePointer(aClientScreenDevicePointer)
 	{
 	MWsScreen* pOI=Screen();
+	WS_ASSERT_ALWAYS(pOI, EWsPanicNoScreen);
 	iDispCont=pOI->ObjectInterface<MWsDisplayControl>();
 	iDispMap =pOI->ObjectInterface<MWsDisplayMapping>();
 	iTestScreenCapture = pOI->ObjectInterface<MWsTestScreenCapture>();