diff -r f58d6ec98e88 -r b700e12870ca aknlayoutcompiler/src/MLCompDataParse.cpp --- a/aknlayoutcompiler/src/MLCompDataParse.cpp Thu Dec 17 09:14:18 2009 +0200 +++ b/aknlayoutcompiler/src/MLCompDataParse.cpp Mon Jan 18 21:13:05 2010 +0200 @@ -23,7 +23,7 @@ #include "MLCompDataParse.h" -#include +#include #include #include @@ -489,7 +489,7 @@ string maxVarietyStr = aAttribs.getValue(KCompDataParseNodeComponentAttributeMaxVariety); if(!maxVarietyStr.empty()) // screen doesn't have maxVariety for some reason { - int maxVariety = CdlTkUtil::ParseInt(maxVarietyStr) - 2; + //int maxVariety = CdlTkUtil::ParseInt(maxVarietyStr) - 2; // we ignore the maxVariety for now, as it will be calculated by parsing the values } } @@ -694,7 +694,7 @@ auto_ptr layout(new TMLCompDataParseLayout); int pos=0; string layName = aLayName; - int next = layName.find('+', pos); + string::size_type next = layName.find('+', pos); if (next != string::npos) { throw GeneralErr(layName + " TMLCompDataParseLayout::Parse() - doesn't support multiple files"); @@ -724,15 +724,15 @@ void TLayoutSaxParser::Parse(const std::string& aFileName) { - SAX::basic_InputSource is(aFileName); - SAX::XMLReader parser; + Arabica::SAX::InputSource is(aFileName); + Arabica::SAX::XMLReader parser; parser.setContentHandler(*this); parser.setErrorHandler(*this); parser.parse(is); } void TLayoutSaxParser::startElement(const std::string& /*namespaceURI*/, const std::string& localName, - const std::string& /*qName*/, const SAX::basic_Attributes& atts) + const std::string& /*qName*/, const Arabica::SAX::Attributes& atts) { MSaxLayoutHandler* handler = iStack.top(); if (!handler)