diff --git a/Code/Mantid/Framework/MDEvents/src/SaveMD.cpp b/Code/Mantid/Framework/MDEvents/src/SaveMD.cpp
index 5f4f4cff702bbefba29ccc0f7e5f3c243f64c47f..32cb14f28d67dd8fc7913a0b62b82d4c4bcea0df 100644
--- a/Code/Mantid/Framework/MDEvents/src/SaveMD.cpp
+++ b/Code/Mantid/Framework/MDEvents/src/SaveMD.cpp
@@ -128,10 +128,10 @@ namespace MDEvents
     }
     else
     {
-		// Erase the file if it exists
-		Poco::File oldFile(filename);
-		if (oldFile.exists())
-			oldFile.remove();
+    // Erase the file if it exists
+    Poco::File oldFile(filename);
+    if (oldFile.exists())
+      oldFile.remove();
       // Create a new file in HDF5 mode.
       file = new ::NeXus::File(filename, NXACC_CREATE5);
     }