aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/MyXml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/MyXml.cpp')
-rw-r--r--CPP/Common/MyXml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/Common/MyXml.cpp b/CPP/Common/MyXml.cpp
index cc891fc..8364aae 100644
--- a/CPP/Common/MyXml.cpp
+++ b/CPP/Common/MyXml.cpp
@@ -24,7 +24,7 @@ static bool IsSpaceChar(char c)
24int CXmlItem::FindProp(const char *propName) const throw() 24int CXmlItem::FindProp(const char *propName) const throw()
25{ 25{
26 FOR_VECTOR (i, Props) 26 FOR_VECTOR (i, Props)
27 if (Props[i].Name == propName) 27 if (Props[i].Name.IsEqualTo(propName))
28 return (int)i; 28 return (int)i;
29 return -1; 29 return -1;
30} 30}
@@ -39,7 +39,7 @@ AString CXmlItem::GetPropVal(const char *propName) const
39 39
40bool CXmlItem::IsTagged(const char *tag) const throw() 40bool CXmlItem::IsTagged(const char *tag) const throw()
41{ 41{
42 return (IsTag && Name == tag); 42 return (IsTag && Name.IsEqualTo(tag));
43} 43}
44 44
45int CXmlItem::FindSubTag(const char *tag) const throw() 45int CXmlItem::FindSubTag(const char *tag) const throw()