uifw/AvKon/src/AknPreviewPopUp.cpp
branchRCL_3
changeset 72 a5e7a4f63858
parent 64 85902f042028
equal deleted inserted replaced
64:85902f042028 72:a5e7a4f63858
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   358                 delete iClosingIcon;
   358                 delete iClosingIcon;
   359                 iClosingIcon = NULL;
   359                 iClosingIcon = NULL;
   360                 TRAP_IGNORE( CreateClosingIconL() );
   360                 TRAP_IGNORE( CreateClosingIconL() );
   361                 }
   361                 }
   362             break;
   362             break;
   363 
   363             
   364         case KEikDynamicLayoutVariantSwitch:
   364         case KEikDynamicLayoutVariantSwitch:
   365             if ( iFlags & CAknPreviewPopUpController::EFixedMode )
   365             if ( iFlags & CAknPreviewPopUpController::EFixedMode )
   366                 {
   366                 {
   367                 TRect appWindow;
   367                 TRect appWindow;
   368                 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EApplicationWindow, appWindow );
   368                 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EApplicationWindow, appWindow );