From a9b03850cf6ed2add54281edfbc92557ba47c914 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Tue, 25 Oct 2011 19:55:46 +0200 Subject: [PATCH] STYLE --- Code/ApplicationEngine/otbWrapperApplication.cxx | 4 ++-- Code/Projections/otbImageToGenericRSOutputParameters.h | 4 ++-- Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx | 2 +- Testing/Code/Common/otbMultiChannelExtractROI.cxx | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Code/ApplicationEngine/otbWrapperApplication.cxx b/Code/ApplicationEngine/otbWrapperApplication.cxx index b494825156..64c57e09d1 100644 --- a/Code/ApplicationEngine/otbWrapperApplication.cxx +++ b/Code/ApplicationEngine/otbWrapperApplication.cxx @@ -891,8 +891,8 @@ Application::IsApplicationReady() ++it) { // Check all Input Parameters - if (!this->HasValue(*it) - && IsMandatory(*it) + if (!this->HasValue(*it) + && IsMandatory(*it) && GetParameterByKey(*it)->GetRoot()->GetActive()) { return false; diff --git a/Code/Projections/otbImageToGenericRSOutputParameters.h b/Code/Projections/otbImageToGenericRSOutputParameters.h index d2244cf22f..670ac795b0 100644 --- a/Code/Projections/otbImageToGenericRSOutputParameters.h +++ b/Code/Projections/otbImageToGenericRSOutputParameters.h @@ -100,8 +100,8 @@ public: itkGetMacro(OutputSize, SizeType); /** Isotropic spacing flag */ - itkSetMacro(EstimateIsotropicSpacing,bool); - itkGetMacro(EstimateIsotropicSpacing,bool); + itkSetMacro(EstimateIsotropicSpacing, bool); + itkGetMacro(EstimateIsotropicSpacing, bool); itkBooleanMacro(EstimateIsotropicSpacing); /** diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx index bb7f76744b..f54786e826 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx @@ -138,7 +138,7 @@ QWidget* QtWidgetView::CreateDoc() for (unsigned int i = 0; i < m_Application->GetDocTags().size() - 1; i++) { oss << m_Application->GetDocTags()[i] << ", "; - ; + ; } oss << m_Application->GetDocTags()[m_Application->GetDocTags().size() - 1]; } diff --git a/Testing/Code/Common/otbMultiChannelExtractROI.cxx b/Testing/Code/Common/otbMultiChannelExtractROI.cxx index 0ff185c317..d12af7165f 100644 --- a/Testing/Code/Common/otbMultiChannelExtractROI.cxx +++ b/Testing/Code/Common/otbMultiChannelExtractROI.cxx @@ -132,15 +132,15 @@ int generic_otbMultiChannelExtractROI(int argc, char * argv[], const char * inpu if (computeExtractTime) { - chrono.Start(); + chrono.Start(); } writer->Update(); if (computeExtractTime) { - chrono.Stop(); - std::cout << " Time to compute the extracted image: " << chrono.GetTotal() << " seconds" << std::endl; + chrono.Stop(); + std::cout << " Time to compute the extracted image: " << chrono.GetTotal() << " seconds" << std::endl; } std::cout << " Number of channels in the input image: " << reader->GetOutput()->GetNumberOfComponentsPerPixel() << -- GitLab