equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
338 { |
338 { |
339 if(aElement) |
339 if(aElement) |
340 { |
340 { |
341 CElementWrapper* element=static_cast<CElementWrapper*>(aElement); |
341 CElementWrapper* element=static_cast<CElementWrapper*>(aElement); |
342 RemoveElementFromSceneList(element); |
342 RemoveElementFromSceneList(element); |
343 delete element; |
343 if (!(element->UpdateFlags()&CElementWrapper::EUpdate_SceneCommited)) |
|
344 { |
|
345 delete element; |
|
346 } |
344 } |
347 } |
345 } |
348 } |
346 |
349 |
347 void COpenWfcWrapper::Compose(TRequestStatus* aCompleted) |
350 void COpenWfcWrapper::Compose(TRequestStatus* aCompleted) |
348 { |
351 { |