textinput/peninputcommonlayout/src/peninputlayoutwindowext.cpp
branchRCL_3
changeset 9 e6a39382bb9c
parent 8 4eb1ae11334f
child 11 c8fb4cf7b3ae
--- a/textinput/peninputcommonlayout/src/peninputlayoutwindowext.cpp	Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/peninputcommonlayout/src/peninputlayoutwindowext.cpp	Tue Apr 27 16:59:43 2010 +0300
@@ -1475,7 +1475,7 @@
 EXPORT_C void CPeninputLayoutWindowExt::SetSwitchBtnTextColor(CAknFepCtrlEventButton& aSwitchBtn)
     {
     TRgb textColor;
-    TInt error = AknsUtils::GetCachedColor(AknsUtils::SkinInstance(),
+    TInt error = AknsUtils::GetCachedColor(UiLayout()->SkinInstance(),
                                            textColor,
                                            KAknsIIDQsnTextColors,
                                            EAknsCIQsnTextColorsCG59);
@@ -1488,7 +1488,7 @@
     aSwitchBtn.SetFontColor( textColor );   
     
     TRgb shadowTextColor;    
-    error = AknsUtils::GetCachedColor(AknsUtils::SkinInstance(),
+    error = AknsUtils::GetCachedColor(UiLayout()->SkinInstance(),
                                       shadowTextColor,
                                       KAknsIIDQsnTextColors,
                                       EAknsCIQsnTextColorsCG62);