diff --git a/Code/Visu/otbImageWidgetBase.h b/Code/Visu/otbImageWidgetBase.h
index 417523e0ade1a3a8050411964bd34018f8dae4e7..71d366d320ff5a7495e89191ae452d60de706978 100644
--- a/Code/Visu/otbImageWidgetBase.h
+++ b/Code/Visu/otbImageWidgetBase.h
@@ -164,13 +164,13 @@ class ImageWidgetBase
     /** Get the buffer index from the iterator position and the buffered region */
     inline unsigned int GetBufferIndex(const IndexType& iteratorIndex)
       {
-	return (iteratorIndex[1]-m_BufferedRegion.GetIndex()[1])*4*m_BufferedRegion.GetSize()[0] 
-	  + 4*(iteratorIndex()[0]-m_BufferedRegion.GetIndex()[0]);
+	return (iteratorIndex[1]-m_BufferedRegion.GetIndex()[1])*4*m_BufferedRegion.GetSize()[0]
+	  + 4*(iteratorIndex[0]-m_BufferedRegion.GetIndex()[0]);
       }
-    
+
     inline unsigned int GetRevertedBufferIndex(const IndexType& iteratorIndex)
       {
-	return  (m_BufferedRegion.GetSize()[1]-1+m_BufferedRegion.GetIndex()[1]-iteratorIndex[1])*4*m_BufferedRegion.GetSize()[0] 
+	return  (m_BufferedRegion.GetSize()[1]-1+m_BufferedRegion.GetIndex()[1]-iteratorIndex[1])*4*m_BufferedRegion.GetSize()[0]
 	  + 4*(iteratorIndex[0]-m_BufferedRegion.GetIndex()[0]);
       }
   protected: