--- a/messagingappbase/msgeditor/appuisrc/MsgNaviPaneControl.cpp Thu Jan 07 12:45:05 2010 +0200
+++ b/messagingappbase/msgeditor/appuisrc/MsgNaviPaneControl.cpp Mon Jan 18 20:16:40 2010 +0200
@@ -248,7 +248,8 @@
{
iPreviouslyFocusedControl = leftArrowIndicator;
}
- else if ( iPreviouslyFocusedControl == leftArrowIndicator )
+ // Coverty fix , Forward NULL, http://ousrv057/cov.cgi?cid=35876
+ else if ( iObserver && iPreviouslyFocusedControl == leftArrowIndicator )
{
iObserver->HandleNavigationControlEventL(
MMsgNaviPaneControlObserver::EMsgNaviLeftArrowPressed );
@@ -370,11 +371,20 @@
{
TAknLayoutRect leftArrowTouchRect;
leftArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_left(iVarientId) );
- iLeftArrowTouchRect = leftArrowTouchRect.Rect();
TAknLayoutRect rightArrowTouchRect;
rightArrowTouchRect.LayoutRect( Rect(), AknLayoutScalable_Apps::aid_size_touch_mv_arrow_right(iVarientId) );
- iRightArrowTouchRect = rightArrowTouchRect.Rect();
+ if ( AknLayoutUtils::LayoutMirrored() )
+ {
+ iLeftArrowTouchRect=rightArrowTouchRect.Rect();
+ iRightArrowTouchRect= leftArrowTouchRect.Rect();
+ }
+ else
+ {
+ iLeftArrowTouchRect=leftArrowTouchRect.Rect();
+ iRightArrowTouchRect= rightArrowTouchRect.Rect();
+ }
+
}
}