locationsystemui/locationsysui/locblidsatelliteinfo/src/satellitecontrol.cpp
branchRCL_3
changeset 13 19bff11d6c18
parent 0 667063e416a2
child 16 6fcbaa43369c
--- a/locationsystemui/locationsysui/locblidsatelliteinfo/src/satellitecontrol.cpp	Fri Mar 12 15:44:22 2010 +0200
+++ b/locationsystemui/locationsysui/locblidsatelliteinfo/src/satellitecontrol.cpp	Mon Mar 15 12:42:19 2010 +0200
@@ -279,7 +279,7 @@
 // CBlidManualWayPointCtrl::ChangeView
 // ---------------------------------------------------------
 //
-void CSatelliteControl::ChangeView()
+void CSatelliteControl::ChangeViewL()
 	{
     // Change the view variable and update the rects
 	switch ( iCurrentSatelliteView )
@@ -701,8 +701,6 @@
 //
 void CSatelliteControl::ConstructFromResourceL(TResourceReader& /*aReader*/)
     {
-    MAknsSkinInstance* skin = AknsUtils::SkinInstance();
-    MAknsControlContext* cc = AknsDrawUtils::ControlContext( this );
 	iEditorContext = CAknsFrameBackgroundControlContext::NewL(
         KAknsIIDQsnFrInput, TRect(0,0,1,1), TRect(0,0,1,1), EFalse );
     ActivateL();
@@ -812,7 +810,6 @@
 	CWindowGc& gc=SystemGc();
 		
 	MAknsSkinInstance* skin = AknsUtils::SkinInstance();
-	MAknsControlContext* cc = AknsDrawUtils::ControlContext( this ); // get parent's cc
 
     TRgb rgb;
     AknsUtils::GetCachedColor( skin,
@@ -1436,7 +1433,7 @@
 #endif //RD_TACTILE_FEEDBACK
     		// Change view soft key pressed.Notify the control to change 
     		// the view and draw.
-    		ChangeView();		
+    		ChangeViewL();		
     		DrawNow();
     		}	
         }