xmlinterface use const char instand char

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8227a01592
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-03-20 12:05:22 +01:00
parent 315f5a4b4d
commit 4ba11a0db3
9 changed files with 50 additions and 50 deletions

View File

@@ -252,7 +252,7 @@ bool cYTFeedParser::saveToFile(const char * name, std::string str)
std::string cYTFeedParser::getXmlName(xmlNodePtr node)
{
std::string result;
char * name = xmlGetName(node);
const char * name = xmlGetName(node);
if (name)
result = name;
return result;
@@ -261,7 +261,7 @@ std::string cYTFeedParser::getXmlName(xmlNodePtr node)
std::string cYTFeedParser::getXmlAttr(xmlNodePtr node, const char * attr)
{
std::string result;
char * value = xmlGetAttribute(node, attr);
const char * value = xmlGetAttribute(node, attr);
if (value)
result = value;
return result;
@@ -270,7 +270,7 @@ std::string cYTFeedParser::getXmlAttr(xmlNodePtr node, const char * attr)
std::string cYTFeedParser::getXmlData(xmlNodePtr node)
{
std::string result;
char * value = xmlGetData(node);
const char * value = xmlGetData(node);
if (value)
result = value;
return result;