From 76af8d1e126216f76cefd9c122b176731930f40a Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Mon, 19 Sep 2011 16:59:35 +0200
Subject: [PATCH] STYLE

---
 Applications/Util/otbExtractROI.cxx                       | 3 +--
 Code/ApplicationEngine/otbWrapperApplication.cxx          | 1 -
 Code/ApplicationEngine/otbWrapperListViewParameter.h      | 2 +-
 Code/ApplicationEngine/otbWrapperParameterGroup.cxx       | 5 +++--
 Code/Wrappers/QtWidget/otbWrapperQtWidgetFloatParameter.h | 4 ++--
 Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameter.h   | 4 ++--
 6 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/Applications/Util/otbExtractROI.cxx b/Applications/Util/otbExtractROI.cxx
index 5971f2f60d..c97ebe274d 100644
--- a/Applications/Util/otbExtractROI.cxx
+++ b/Applications/Util/otbExtractROI.cxx
@@ -98,7 +98,7 @@ private:
       if (!HasUserValue("sizex")  && !HasUserValue("sizey") )
         {
         SetParameterInt("sizex", largestRegion.GetSize()[0]);
-        SetParameterInt("sizey", largestRegion.GetSize()[1]);       
+        SetParameterInt("sizey", largestRegion.GetSize()[1]);
         }
       
       // Put the limit of the index and the size relative the image
@@ -182,4 +182,3 @@ private:
 }
 
 OTB_APPLICATION_EXPORT(otb::Wrapper::ExtractROI)
-
diff --git a/Code/ApplicationEngine/otbWrapperApplication.cxx b/Code/ApplicationEngine/otbWrapperApplication.cxx
index 227021ce33..45281915cd 100644
--- a/Code/ApplicationEngine/otbWrapperApplication.cxx
+++ b/Code/ApplicationEngine/otbWrapperApplication.cxx
@@ -752,4 +752,3 @@ Application::IsApplicationReady()
 
 }
 }
-
diff --git a/Code/ApplicationEngine/otbWrapperListViewParameter.h b/Code/ApplicationEngine/otbWrapperListViewParameter.h
index 8d9964687b..f56007a5bc 100644
--- a/Code/ApplicationEngine/otbWrapperListViewParameter.h
+++ b/Code/ApplicationEngine/otbWrapperListViewParameter.h
@@ -38,7 +38,7 @@ class ListViewParameter
 {
 public:
   /** Standard class typedef */
-  typedef ListViewParameter               Self;
+  typedef ListViewParameter             Self;
   typedef Parameter                     Superclass;
   typedef itk::SmartPointer<Self>       Pointer;
   typedef itk::SmartPointer<const Self> ConstPointer;
diff --git a/Code/ApplicationEngine/otbWrapperParameterGroup.cxx b/Code/ApplicationEngine/otbWrapperParameterGroup.cxx
index 58014e3d11..cca278bc32 100644
--- a/Code/ApplicationEngine/otbWrapperParameterGroup.cxx
+++ b/Code/ApplicationEngine/otbWrapperParameterGroup.cxx
@@ -408,7 +408,9 @@ ParameterGroup::GetParameterByKey(std::string name)
         {
         if (associatedParam.IsNull())
           {
-          itkExceptionMacro(<< "Choice " << splittedName[1] << "in " << splittedName[0] << "  has no key named " << splittedName[2]);
+          itkExceptionMacro(<< "Choice " << splittedName[1] << "in " 
+                            << splittedName[0] << "  has no key named " 
+                            << splittedName[2]);
           }
 
         // Remove the parent and the choice value from the param name
@@ -443,4 +445,3 @@ ParameterGroup::GetNumberOfParameters()
 
 }
 }
-
diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetFloatParameter.h b/Code/Wrappers/QtWidget/otbWrapperQtWidgetFloatParameter.h
index 6864f01733..3c1b5a0161 100644
--- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetFloatParameter.h
+++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetFloatParameter.h
@@ -48,8 +48,8 @@ private:
 
   virtual void DoUpdateGUI();
 
-  QHBoxLayout * m_QHBoxLayout;
-  QDoubleSpinBox * m_QDoubleSpinBox;
+  QHBoxLayout *           m_QHBoxLayout;
+  QDoubleSpinBox *        m_QDoubleSpinBox;
 
   FloatParameter::Pointer m_FloatParam;
 };
diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameter.h b/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameter.h
index b4090c4a4e..24bbe353a7 100644
--- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameter.h
+++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameter.h
@@ -49,8 +49,8 @@ private:
 
   virtual void DoUpdateGUI();
 
-  QHBoxLayout * m_QHBoxLayout;
-  QSpinBox * m_QSpinBox;
+  QHBoxLayout *         m_QHBoxLayout;
+  QSpinBox *            m_QSpinBox;
 
   IntParameter::Pointer m_IntParam;
 };
-- 
GitLab