diff --git a/PocoDoc/src/DocWriter.cpp b/PocoDoc/src/DocWriter.cpp index 05c933241..824710c9d 100644 --- a/PocoDoc/src/DocWriter.cpp +++ b/PocoDoc/src/DocWriter.cpp @@ -63,10 +63,10 @@ DocWriter::DocWriter(const NameSpace::SymbolTable& symbols, const std::string& p _titleId(0) { _pLogger = &Poco::Logger::get("DocWriter"); - + Application& app = Application::instance(); _language = app.config().getString("PocoDoc.language", "EN"); - + logger().information(std::string("Loading translation strings [") + _language + "]"); loadStrings(_language); @@ -90,7 +90,7 @@ void DocWriter::addPage(const std::string& path) void DocWriter::write() -{ +{ writePages(); int nameSpaces = 0; int classes = 0; @@ -107,7 +107,7 @@ void DocWriter::write() ++classes; logger().information("Generating class/struct " + it->second->fullName()); writeClass(static_cast(it->second)); - break; + break; default: break; } @@ -138,7 +138,7 @@ void DocWriter::writeNavigation() writeHeader(ostr, tr("Navigation"), "js/iframeResizer.contentWindow.min.js"); beginBody(ostr); ostr << "

" << htmlize(software) << "

\n"; - + if (!_pages.empty()) { ostr << "

" << tr("Guides") << "

\n"; @@ -159,10 +159,10 @@ void DocWriter::writeNavigation() } ostr << "\n"; } - + ostr << "

" << tr("Namespaces") << "

\n"; ostr << "