From edec2fd2fea487a7435cdcc8d943171f7a0e54f2 Mon Sep 17 00:00:00 2001
From: David Fairbrother <DavidFair@users.noreply.github.com>
Date: Wed, 4 Jul 2018 16:26:15 +0100
Subject: [PATCH] Re #22780 Clang formatting

---
 MantidPlot/src/ProjectRecovery.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/MantidPlot/src/ProjectRecovery.cpp b/MantidPlot/src/ProjectRecovery.cpp
index 67df55190c5..98c664ea88e 100644
--- a/MantidPlot/src/ProjectRecovery.cpp
+++ b/MantidPlot/src/ProjectRecovery.cpp
@@ -135,10 +135,10 @@ getRecoveryFolderCheckpoints(const std::string &recoveryFolderPath) {
 }
 
 std::string removeInvalidFilenameChars(std::string s) {
-	// NTFS is most restrictive, so blacklist on this
-	std::string blacklistChars{ ":*?<>|/\"\\" };
-	boost::remove_erase_if(s, boost::is_any_of(blacklistChars));
-	return s;
+  // NTFS is most restrictive, so blacklist on this
+  std::string blacklistChars{":*?<>|/\"\\"};
+  boost::remove_erase_if(s, boost::is_any_of(blacklistChars));
+  return s;
 }
 
 const std::string OUTPUT_PROJ_NAME = "recovery.mantid";
@@ -446,8 +446,8 @@ void ProjectRecovery::saveWsHistories(const Poco::Path &historyDestFolder) {
   alg->setLogging(false);
 
   for (const auto &ws : wsHandles) {
-	std::string filename = removeInvalidFilenameChars(ws->getName());
-	filename.append(".py");
+    std::string filename = removeInvalidFilenameChars(ws->getName());
+    filename.append(".py");
 
     Poco::Path destFilename = historyDestFolder;
     destFilename.append(filename);
-- 
GitLab