projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaned up every thing, prepared to remove deprecated interface.
[SXSI/xpathcomp.git]
/
SXSIStorageInterface.cpp
diff --git
a/SXSIStorageInterface.cpp
b/SXSIStorageInterface.cpp
index
43ea155
..
2594bd2
100644
(file)
--- a/
SXSIStorageInterface.cpp
+++ b/
SXSIStorageInterface.cpp
@@
-24,23
+24,20
@@
SXSIStorageInterface::~SXSIStorageInterface()
void SXSIStorageInterface::newChild(string name)
{
void SXSIStorageInterface::newChild(string name)
{
- _new_child++;
- tb->NewOpenTag((unsigned char*) name.c_str());
+ tb->NewOpenTag(name);
}
void SXSIStorageInterface::newText(string text)
{
}
void SXSIStorageInterface::newText(string text)
{
- _new_text++;
- _length_text += text.size();
- tb->NewText((unsigned char*) text.c_str());
+ tb->NewText(text);
}
void SXSIStorageInterface::nodeFinished(string name)
{
}
void SXSIStorageInterface::nodeFinished(string name)
{
- tb->NewClosingTag(
(unsigned char*) name.c_str()
);
+ tb->NewClosingTag(
name
);
}
}