--- a/src/hbcore/cssparser/hblayeredstyleloader_p.cpp Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/cssparser/hblayeredstyleloader_p.cpp Fri Sep 17 08:32:10 2010 +0300
@@ -570,7 +570,7 @@
/*!
Provides the variable rule sets for the loaded CSS files.
*/
-void HbLayeredStyleLoader::variableRuleSets(QHash<QString, HbCss::Declaration> *variables) const
+void HbLayeredStyleLoader::variableRuleSets(QHash<quint32, HbCss::Declaration> *variables) const
{
HbLayeredStyleLoader *allStack = mConcern == Concern_All ? 0 : getStack(Concern_All);
@@ -604,24 +604,6 @@
}
/*!
- Finds the variable from core layer. The found varibale is returned in val
-
- \return True if it finds in default colorgroup.css, false otherwise
-*/
-bool HbLayeredStyleLoader::findInDefaultVariables(
- const QString& variableName,
- HbCss::Value &val) const
-{
- bool found = false;
- if (mDefaultVariables.contains(variableName)) {
- val = mDefaultVariables.value(variableName).values.first();
- found = true;
- }
- return found;
-}
-
-
-/*!
Updates the cached list of used layers to include the specified layer.
If this is the All stack, all other stacks' used lists are also updated
to include this layer.