From ba7f75d84e6cbf610c598f89f9cdbea9467eb25e Mon Sep 17 00:00:00 2001
From: Anthony Lim <anthony.lim@stfc.ac.uk>
Date: Fri, 6 Oct 2017 15:14:26 +0100
Subject: [PATCH] refs #20844 clang format

---
 .../Muon/MuonSequentialFitDialog.cpp          | 28 +++++++++----------
 1 file changed, 13 insertions(+), 15 deletions(-)

diff --git a/qt/scientific_interfaces/Muon/MuonSequentialFitDialog.cpp b/qt/scientific_interfaces/Muon/MuonSequentialFitDialog.cpp
index f35d490d226..8a0b98c070c 100644
--- a/qt/scientific_interfaces/Muon/MuonSequentialFitDialog.cpp
+++ b/qt/scientific_interfaces/Muon/MuonSequentialFitDialog.cpp
@@ -21,22 +21,20 @@ using MantidQt::MantidWidgets::MuonFitPropertyBrowser;
 namespace {
 Logger g_log("MuonSequentialFitDialog");
 std::string removePath(const std::string &labelIn) {
-	size_t path = labelIn.find_last_of("/");
-	if (path == std::string::npos) {
-		 path = labelIn.find_last_of('\\');
-		
-	}
-	std::string useThisLabel = labelIn;
-	if (path != std::string::npos) {
-		path = path + 1;
-		size_t end = labelIn.find_last_of(".");
-		useThisLabel = labelIn.substr(path);
-		useThisLabel = useThisLabel.substr(0, end - path);
-		auto test = useThisLabel;
-	}
-	return useThisLabel;
+  size_t path = labelIn.find_last_of("/");
+  if (path == std::string::npos) {
+    path = labelIn.find_last_of('\\');
+  }
+  std::string useThisLabel = labelIn;
+  if (path != std::string::npos) {
+    path = path + 1;
+    size_t end = labelIn.find_last_of(".");
+    useThisLabel = labelIn.substr(path);
+    useThisLabel = useThisLabel.substr(0, end - path);
+    auto test = useThisLabel;
+  }
+  return useThisLabel;
 }
-
 }
 const std::string MuonSequentialFitDialog::SEQUENTIAL_PREFIX("MuonSeqFit_");
 
-- 
GitLab