X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Ftools%2Fodthelpbrowser%2Fodt.cpp;h=3ce4456f3605a68961344658aceb1c183f33fc36;hp=59f7dad72151bf51887d377b7ff41fcf91f09e7e;hb=cdba047c3835e54dcd0db567050d77a5740e8a52;hpb=c167db0a2e9f20e7a3060064555a3596df4ca8ed diff --git a/source/tools/odthelpbrowser/odt.cpp b/source/tools/odthelpbrowser/odt.cpp index 59f7dad..3ce4456 100644 --- a/source/tools/odthelpbrowser/odt.cpp +++ b/source/tools/odthelpbrowser/odt.cpp @@ -40,6 +40,8 @@ namespace ODT xmlODTDoc = xmlReadMemory(odtDocument.c_str(), (int)odtDocument.size(), "noname.xml", NULL, 0); if (!ProcessDocument(xmlODTDoc)) return false; + + return true; } bool ODT::ProcessDocument(xmlDocPtr document) @@ -493,5 +495,7 @@ namespace ODT return TOPIC_LEVEL3; else if (styleTextIterator->second == "Contents_20_4") return TOPIC_LEVEL4; + + return TOPIC_LEVEL1; } } \ No newline at end of file