From 04e5394597832b4a46dd0fbcbc1b8fda60595182 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Fri, 20 Mar 2009 20:17:02 +0100
Subject: [PATCH] STYLE

---
 .../otbImageLayerRenderingModel.txx           | 38 +++++++++----------
 1 file changed, 18 insertions(+), 20 deletions(-)

diff --git a/Code/Visualization/otbImageLayerRenderingModel.txx b/Code/Visualization/otbImageLayerRenderingModel.txx
index 3e37f21c5f..dc43538a26 100644
--- a/Code/Visualization/otbImageLayerRenderingModel.txx
+++ b/Code/Visualization/otbImageLayerRenderingModel.txx
@@ -270,27 +270,25 @@ void
 ImageLayerRenderingModel<TOutputImage>
 ::SetExtractRegionByIndex( const IndexType & startIndex, const IndexType & stopIndex )
 {
- RegionType lImageRegion;
-        lImageRegion = this->GetLayer(0)->GetExtent();
-
-        SizeType lSize;
-        lSize[0] = vcl_abs(stopIndex[0]-startIndex[0]);
-        lSize[1] = vcl_abs(stopIndex[1]-startIndex[1]);
-
-        IndexType lIndex;
-        lIndex[0] = std::min(startIndex[0],stopIndex[0]);
-        lIndex[1] = std::min(startIndex[1],stopIndex[1]);
-
-        RegionType lRegion;
-        lRegion.SetIndex(lIndex);
-        lRegion.SetSize(lSize);
-
-std::cout<<"OH OUIIIIIIIIi"<<std::endl;
-
+  RegionType lImageRegion;
+  lImageRegion = this->GetLayer(0)->GetExtent();
+  
+  SizeType lSize;
+  lSize[0] = vcl_abs(stopIndex[0]-startIndex[0]);
+  lSize[1] = vcl_abs(stopIndex[1]-startIndex[1]);
+  
+  IndexType lIndex;
+  lIndex[0] = std::min(startIndex[0],stopIndex[0]);
+  lIndex[1] = std::min(startIndex[1],stopIndex[1]);
+  
+  RegionType lRegion;
+  lRegion.SetIndex(lIndex);
+  lRegion.SetSize(lSize);
+  
   if(lRegion.Crop(lImageRegion))
-{
-  m_ExtractRegion = lRegion;
-}
+    {
+      m_ExtractRegion = lRegion;
+    }
 }
 
 template <class TOutputImage>
-- 
GitLab