X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTree.h;h=ba01941218fbab46860efba61abd6a6d4b2c990d;hb=1c3300373a43062be9bb8d23faf3c8446f9aa6c5;hp=9b55617e0105add000a39428462ce4958b59b1df;hpb=3c2f48fd3166bb5b65594012d6cc9b0236c390f9;p=SXSI%2FXMLTree.git diff --git a/XMLTree.h b/XMLTree.h index 9b55617..ba01941 100644 --- a/XMLTree.h +++ b/XMLTree.h @@ -21,16 +21,15 @@ #ifndef XMLTREE_H_ #define XMLTREE_H_ - +#include "TextCollection/TextCollection.h" #include #include +#include #include "bp.h" -#include "TextCollection/TextCollection.h" -using SXSI::TextCollection; #include #include #include - +using SXSI::TextCollection; // this constant is used to efficiently compute the child operation in the tree @@ -334,7 +333,7 @@ public: /** GetText(d): returns the text corresponding to document with * id d. */ uchar* GetText(DocID d) { - Text->GetText(d); + return Text->GetText(d); } /** Save: saves XML tree data structure to file. */