diff --git a/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGenerator.cxx b/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGenerator.cxx index 9aeab1784405cf86d3f7e2ae3c81f292a01b878b..b22b9509c8fecbdfd149d3b76ddbf972d1d8e568 100644 --- a/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGenerator.cxx +++ b/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGenerator.cxx @@ -189,6 +189,7 @@ void ApplicationHtmlDocGenerator::GetDocParameters( const Application::Pointer a } else { + oss << "<li>"; otbDocHtmlBodyBoldCodeMacro( std::string("[param] ").append( param->GetName() ).append(":")); otbDocHtmlBodyMacro( param->GetDescription() ); oss << "</li>"; @@ -263,11 +264,11 @@ void ApplicationHtmlDocGenerator::GetDocParameterChoice( const Application::Poin { itkGenericExceptionMacro("Invalid parameter type for key "<<key<<", wait for ChoiceParameter..."); } - ChoiceParameter * choice = dynamic_cast<ChoiceParameter *>(paramCh); - const std::vector<std::string> appKeyList = choice->GetChoiceKeys(); - unsigned int nbOfParam = choice->GetNbChoices(); - itk::OStringStream oss; - oss<<"<ul>"; + ChoiceParameter * choice = dynamic_cast<ChoiceParameter *>(paramCh); + const std::vector<std::string> appKeyList = choice->GetChoiceKeys(); + unsigned int nbOfParam = choice->GetNbChoices(); + itk::OStringStream oss; + oss<<"<ul>"; for( unsigned int i=0; i<nbOfParam; i++ ) { diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx index 032101fd6a939eabb3d43f3c40e4f02a42bbdcba..016c2370913b19ada2bc66f201cf78ec7f7de8b9 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx @@ -183,7 +183,7 @@ QWidget* QtWidgetView::CreateDoc() text->setDocument(doc); - std::cout<<text->toHtml().toStdString()<<std::endl; + //std::cout<<text->toHtml().toStdString()<<std::endl; return text; }