diff --git a/Code/ApplicationEngine/otbWrapperApplication.cxx b/Code/ApplicationEngine/otbWrapperApplication.cxx index 45281915cd43311389ea90131e546759fe6c9c55..6163b5a98889433cdff6098313fb18c117b0d296 100644 --- a/Code/ApplicationEngine/otbWrapperApplication.cxx +++ b/Code/ApplicationEngine/otbWrapperApplication.cxx @@ -656,8 +656,9 @@ std::string Application::GetParameterAsString(std::string paramKey) std::string ret; ParameterType type = this->GetParameterType( paramKey ); - if( type == ParameterType_String || type == ParameterType_Filename || type == ParameterType_Directory || - type == ParameterType_InputImage || type == ParameterType_InputComplexImage || type == ParameterType_InputVectorData + if( type == ParameterType_String || type == ParameterType_Filename + || type == ParameterType_Directory || type == ParameterType_InputImage + || type == ParameterType_InputComplexImage || type == ParameterType_InputVectorData || type == ParameterType_OutputImage || type == ParameterType_OutputVectorData ) { ret = this->GetParameterString( paramKey );