Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
odthelpbrowser: Remove unused variable and all code paths return values
[xestiaab/.git] / source / tools / odthelpbrowser / odt.cpp
index 59f7dad..3ce4456 100644 (file)
@@ -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
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy