diff --git a/Applications/Util/otbCompareImages.cxx b/Applications/Util/otbCompareImages.cxx index 017a74d7e31a503b49eec132e6f7e06d34534cda..4ce2ee03723f8c27741029f1a3e1152f8817497a 100644 --- a/Applications/Util/otbCompareImages.cxx +++ b/Applications/Util/otbCompareImages.cxx @@ -118,7 +118,7 @@ private: } void DoUpdateParameters() - { + { // Set channel interval if( HasValue("ref.in") ) { @@ -156,7 +156,7 @@ private: SetMaximumParameterIntValue("roi.startx", region.GetSize()[0]); SetMaximumParameterIntValue("roi.starty", region.GetSize()[1]); SetMaximumParameterIntValue("roi.sizex", region.GetSize()[0]-userRegion.GetIndex()[0]); - SetMaximumParameterIntValue("roi.sizey", region.GetSize()[1]-userRegion.GetIndex()[1]); + SetMaximumParameterIntValue("roi.sizey", region.GetSize()[1]-userRegion.GetIndex()[1]); } void DoExecute() diff --git a/Code/ApplicationEngine/otbWrapperApplication.cxx b/Code/ApplicationEngine/otbWrapperApplication.cxx index 5154a779b18733dc55910f3490822ebcadc23331..5ee7032439574d99327274f43e1a1553e8e3f9a9 100644 --- a/Code/ApplicationEngine/otbWrapperApplication.cxx +++ b/Code/ApplicationEngine/otbWrapperApplication.cxx @@ -1118,7 +1118,7 @@ Application::IsApplicationReady() // Check all Input Parameters with Input Role if (GetParameterByKey(*it)->GetRole() == Role_Input) { - // When a parameter is mandatory : + // When a parameter is mandatory : // return false when does not have value and: // - The param is root // - The param is not root and belonging to a Mandatory Group diff --git a/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx b/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx index d4db137fdfdddd4d415053a2493000555a5ec8bb..42a35381fbcd844fe0e44c28f0b1fcf25667f90a 100644 --- a/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx @@ -165,7 +165,7 @@ InputVectorDataListParameter::GetFileNameList() const { std::vector<std::string> filenames; for(unsigned int i=0; i<m_ReaderList->Size(); i++) - { + { if( m_ReaderList->GetNthElement(i) ) filenames.push_back( m_ReaderList->GetNthElement(i)->GetFileName() ); } diff --git a/Code/IO/otbJPEG2000ImageIO.cxx b/Code/IO/otbJPEG2000ImageIO.cxx index aee07d47a6ed750f6971ca5c0d8931bcdb584fa0..94ecd0dd122a0ad2f2e271b465909b9268a19d34 100644 --- a/Code/IO/otbJPEG2000ImageIO.cxx +++ b/Code/IO/otbJPEG2000ImageIO.cxx @@ -754,7 +754,7 @@ void JPEG2000ImageIO::ComputeOffsets( unsigned int &l_width_src, // Width of the // Characteristics of the otb region unsigned int l_x0_dest = this->GetIORegion().GetIndex()[0]; unsigned int l_x1_dest = this->GetIORegion().GetIndex()[0] + this->GetIORegion().GetSize()[0]; - unsigned int l_y0_dest = this->GetIORegion().GetIndex()[1] ; + unsigned int l_y0_dest = this->GetIORegion().GetIndex()[1]; unsigned int l_y1_dest = this->GetIORegion().GetIndex()[1] + this->GetIORegion().GetSize()[1]; unsigned int l_start_x_dest , l_start_y_dest; @@ -841,8 +841,8 @@ void JPEG2000ImageIO::ComputeOffsets( unsigned int &l_width_src, // Width of the std::cout << "SRC buffer offset: "<< l_start_offset_src << std::endl; std::cout << "DEST coordinates: l_start_x_dest= "<< l_start_x_dest << ", l_start_y_dest= " << l_start_y_dest - << ", l_width_dest= " << l_width_dest << ", l_height_dest= " << l_height_dest << std::endl ; - std::cout << "DEST start offset: " << l_start_offset_dest << std::endl ; + << ", l_width_dest= " << l_width_dest << ", l_height_dest= " << l_height_dest << std::endl; + std::cout << "DEST start offset: " << l_start_offset_dest << std::endl; */ } diff --git a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx index 0b62affb6ec5236ae995929ba407734007c64512..1c35fa290dbf893e3fb256e894ac9c81f982958d 100644 --- a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx +++ b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx @@ -144,7 +144,7 @@ bool CommandLineLauncher::Execute() int res = m_Application->Execute(); if (res == 0) return true; - else + else return false; } @@ -159,7 +159,7 @@ bool CommandLineLauncher::ExecuteAndWriteOutput() if (res == 0) return true; - else + else return false; } diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataListParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataListParameter.cxx index 0a1d2ffa3805b59788da7dd8226118c47ddfdfcd..e94b7940bc8c71592fa821812d5672e99e6d3cf3 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataListParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataListParameter.cxx @@ -314,7 +314,7 @@ QtWidgetInputVectorDataListParameter::SupressFile() mainGroup->setLayout(m_FileLayout); m_Scroll->setWidget(mainGroup); - this->update(); + this->update(); this->RecreateVectorDataList(); } diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetModel.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetModel.cxx index 7196c1d763e2b037d591b712f025f6ef3e1279be..d098082eb8673578ab7e73f09cf3f093b314456d 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetModel.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetModel.cxx @@ -89,6 +89,5 @@ void QtWidgetModel::SendLogDEBUG( const std::string & mes ) } - } } diff --git a/Utilities/otbopenjpeg/libopenjpeg/cidx_manager.c b/Utilities/otbopenjpeg/libopenjpeg/cidx_manager.c old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/cidx_manager.h b/Utilities/otbopenjpeg/libopenjpeg/cidx_manager.h old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/indexbox_manager.h b/Utilities/otbopenjpeg/libopenjpeg/indexbox_manager.h old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/jpwl/CMakeLists.txt b/Utilities/otbopenjpeg/libopenjpeg/jpwl/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/phix_manager.c b/Utilities/otbopenjpeg/libopenjpeg/phix_manager.c old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/ppix_manager.c b/Utilities/otbopenjpeg/libopenjpeg/ppix_manager.c old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/thix_manager.c b/Utilities/otbopenjpeg/libopenjpeg/thix_manager.c old mode 100755 new mode 100644 diff --git a/Utilities/otbopenjpeg/libopenjpeg/tpix_manager.c b/Utilities/otbopenjpeg/libopenjpeg/tpix_manager.c old mode 100755 new mode 100644