projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f9beeed
)
Add missing namespace qualifiers.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 16 Nov 2011 21:34:45 +0000
(21:34 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 16 Nov 2011 21:34:45 +0000
(21:34 +0000)
xmltooling/base.h
patch
|
blob
|
history
diff --git
a/xmltooling/base.h
b/xmltooling/base.h
index
f160c72
..
d1f1e07
100644
(file)
--- a/
xmltooling/base.h
+++ b/
xmltooling/base.h
@@
-698,8
+698,8
@@
} \
void set##proper(int proper) { \
char buf##proper[64]; \
} \
void set##proper(int proper) { \
char buf##proper[64]; \
- sprintf(buf##proper,"%d",proper); \
- auto_ptr_XMLCh wide##proper(buf##proper); \
+ s
td::s
printf(buf##proper,"%d",proper); \
+
xmltooling::
auto_ptr_XMLCh wide##proper(buf##proper); \
set##proper(wide##proper.get()); \
}
set##proper(wide##proper.get()); \
}
@@
-738,7
+738,7
@@
} \
void set##proper(const type* proper) { \
m_##proper = prepareForAssignment(m_##proper,proper); \
} \
void set##proper(const type* proper) { \
m_##proper = prepareForAssignment(m_##proper,proper); \
- XMLString::release(&m_##proper##Prefix); \
+
xercesc::
XMLString::release(&m_##proper##Prefix); \
m_##proper##Prefix = nullptr; \
}
m_##proper##Prefix = nullptr; \
}
@@
-1019,7
+1019,7
@@
*/
#define MARSHALL_QNAME_ATTRIB(proper,ucase,namespaceURI) \
if (m_##proper) { \
*/
#define MARSHALL_QNAME_ATTRIB(proper,ucase,namespaceURI) \
if (m_##proper) { \
- auto_ptr_XMLCh qstr(m_##proper->toString().c_str()); \
+
xmltooling::
auto_ptr_XMLCh qstr(m_##proper->toString().c_str()); \
domElement->setAttributeNS(namespaceURI, ucase##_ATTRIB_NAME, qstr.get()); \
}
domElement->setAttributeNS(namespaceURI, ucase##_ATTRIB_NAME, qstr.get()); \
}
@@
-1113,7
+1113,7
@@
*/
#define PROC_QNAME_ATTRIB(proper,ucase,namespaceURI) \
if (xmltooling::XMLHelper::isNodeNamed(attribute, namespaceURI, ucase##_ATTRIB_NAME)) { \
*/
#define PROC_QNAME_ATTRIB(proper,ucase,namespaceURI) \
if (xmltooling::XMLHelper::isNodeNamed(attribute, namespaceURI, ucase##_ATTRIB_NAME)) { \
-
auto_ptr<xmltooling::QName> q(
XMLHelper::getAttributeValueAsQName(attribute)); \
+
std::auto_ptr<xmltooling::QName> q(xmltooling::
XMLHelper::getAttributeValueAsQName(attribute)); \
set##proper(q.get()); \
return; \
}
set##proper(q.get()); \
return; \
}
@@
-1251,7
+1251,7
@@
XMLTOOLING_DOXYGEN(Sets proper.) \
void set##proper(int proper) { \
char buf[64]; \
XMLTOOLING_DOXYGEN(Sets proper.) \
void set##proper(int proper) { \
char buf[64]; \
- sprintf(buf,"%d",proper); \
+ s
td::s
printf(buf,"%d",proper); \
xmltooling::auto_ptr_XMLCh widebuf(buf); \
setTextContent(widebuf.get()); \
} \
xmltooling::auto_ptr_XMLCh widebuf(buf); \
setTextContent(widebuf.get()); \
} \