diff --git a/Examples/IO/OGRWrappersExample.cxx b/Examples/IO/OGRWrappersExample.cxx
index 42f98b04ff4367d7e839d1810fbb46343ecbf550..85230da71c87402f6c9a5ca6c6350f9c61649183 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());