aknlayoutcompiler/src/AdaptationLayerTemplate.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
--- a/aknlayoutcompiler/src/AdaptationLayerTemplate.cpp	Thu Dec 17 09:14:18 2009 +0200
+++ b/aknlayoutcompiler/src/AdaptationLayerTemplate.cpp	Mon Jan 18 21:13:05 2010 +0200
@@ -90,7 +90,7 @@
 
 
 AdaptationLayerTemplate::AdaptationLayerTemplate(TLayout& aLayout, CCdlTkInterface& aLayIface, CCdlTkInterface& aScaleIface, CCdlTkInstance& aInstance, string& aExisting)
-: iLayout(aLayout), iLayIface(aLayIface), iScaleIface(aScaleIface), iInstance(aInstance), iExisting(aExisting)
+: iLayIface(aLayIface), iScaleIface(aScaleIface), iLayout(aLayout), iInstance(aInstance), iExisting(aExisting)
 	{
 	}
 
@@ -162,7 +162,7 @@
 
 pair<string,int> AdaptationLayerTemplate::GetApiMatch(const string& aName)
 	{
-	int size = aName.size();
+	//int size = aName.size();
 	CCdlTkApiList& apiList = iScaleIface.ApiList();
 	string bestMatch;
 	int bestScore = 0;