Makefile should not include testTextCollection.o which is only a testing program
[SXSI/XMLTree.git] / XMLTree.h
index c0dab2b..ba01941 100644 (file)
--- a/XMLTree.h
+++ b/XMLTree.h
@@ -333,7 +333,7 @@ public:
    /** GetText(d): returns the text corresponding to document with\r
     * id d. */\r
    uchar* GetText(DocID d) {\r
-      Text->GetText(d);\r
+      return Text->GetText(d);\r
    }\r
    \r
    /** Save: saves XML tree data structure to file. */\r