windowing/windowserver/nga/SERVER/drawresource.cpp
branchRCL_3
changeset 33 25f95128741d
parent 0 5d03bc08d59c
child 163 bbf46f59e123
equal deleted inserted replaced
26:15986eb6c500 33:25f95128741d
    43 	else
    43 	else
    44 		{
    44 		{
    45 		User::Leave(KErrArgument);
    45 		User::Leave(KErrArgument);
    46 		}
    46 		}
    47 	MWsScreen* pOI=screen;
    47 	MWsScreen* pOI=screen;
       
    48 	WS_ASSERT_ALWAYS(pOI, EWsPanicNoScreen);
    48 	CWsDrawableSource::iDrawResource = pOI->ObjectInterface<MWsDrawableSourceProvider>();
    49 	CWsDrawableSource::iDrawResource = pOI->ObjectInterface<MWsDrawableSourceProvider>();
    49 	if (!iDrawResource)
    50 	if (!iDrawResource)
    50 		{
    51 		{
    51 		User::Leave(KErrNotSupported);
    52 		User::Leave(KErrNotSupported);
    52 		}
    53 		}