--- 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);