diff --git a/Examples/IO/OGRWrappersExample.cxx b/Examples/IO/OGRWrappersExample.cxx
index c3b2e6ac915d7c7117f3292e15d7a27ef8406b47..42f98b04ff4367d7e839d1810fbb46343ecbf550 100644
--- a/Examples/IO/OGRWrappersExample.cxx
+++ b/Examples/IO/OGRWrappersExample.cxx
@@ -121,8 +121,8 @@ int main(int argc, char * argv[])
 // Software Guide : BeginCodeSnippet
     // for (auto const& inputLayer : *source)
     for (otb::ogr::DataSource::const_iterator lb=source->begin(), le=source->end()
-    ; lb != le
-    ; ++lb)
+   ; lb != le
+   ; ++lb)
       {
       otb::ogr::Layer const& inputLayer = *lb;
 // Software Guide : EndCodeSnippet
@@ -185,8 +185,8 @@ int main(int argc, char * argv[])
 // Software Guide : BeginCodeSnippet
       // for (auto const& inputFeature : inputLayer)
       for (otb::ogr::Layer::const_iterator fb=inputLayer.begin(), fe=inputLayer.end()
-      ; fb != fe
-      ; ++fb)
+     ; fb != fe
+     ; ++fb)
         {
         otb::ogr::Feature const& inputFeature = *fb;
         destGeometry.addGeometry(inputFeature.GetGeometry());