From 32702e444974ec397a5f6a9286256cd8efa12d89 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Fri, 19 Mar 2010 12:41:32 +0100
Subject: [PATCH] Removed tabs.

---
 tool/Command.cpp       | 22 ++++++++++++----------
 tool/CommandConfig.cpp |  6 ++++--
 tool/CommandData.cpp   |  6 ++++--
 tool/CommandDebug.cpp  |  2 ++
 4 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/tool/Command.cpp b/tool/Command.cpp
index 565999e1..16db9141 100644
--- a/tool/Command.cpp
+++ b/tool/Command.cpp
@@ -25,6 +25,8 @@
  *  EtherCAT technology and brand is only permitted in compliance with the
  *  industrial property and similar rights of Beckhoff Automation GmbH.
  *
+ *  vim: expandtab
+ *
  ****************************************************************************/
 
 #include "Command.h"
@@ -189,35 +191,35 @@ void Command::throwSingleSlaveRequired(unsigned int size) const
 
 Command::MasterIndexList Command::getMasterIndices() const
 {
-	MasterIndexList indices;
+    MasterIndexList indices;
 
     try {
         MasterIndexParser p;
         indices = p.parse(masters.c_str());
     } catch (MasterDeviceException &e) {
-		stringstream err;
-		err << "Failed to obtain number of masters: " << e.what();
-		throwCommandException(err);
+        stringstream err;
+        err << "Failed to obtain number of masters: " << e.what();
+        throwCommandException(err);
     } catch (runtime_error &e) {
-		stringstream err;
+        stringstream err;
         err << "Invalid master argument '" << masters << "': " << e.what();
-		throwInvalidUsageException(err);
+        throwInvalidUsageException(err);
     }
 
-	return indices;
+    return indices;
 }
 
 /*****************************************************************************/
 
 unsigned int Command::getSingleMasterIndex() const
 {
-	MasterIndexList masterIndices = getMasterIndices();
+    MasterIndexList masterIndices = getMasterIndices();
     if (masterIndices.size() != 1) {
-		stringstream err;
+        stringstream err;
         err << getName() << " requires to select a single master!";
         throwInvalidUsageException(err);
     }
-	return masterIndices.front();
+    return masterIndices.front();
 }
 
 /*****************************************************************************/
diff --git a/tool/CommandConfig.cpp b/tool/CommandConfig.cpp
index 4cf901b2..4129db08 100644
--- a/tool/CommandConfig.cpp
+++ b/tool/CommandConfig.cpp
@@ -25,6 +25,8 @@
  *  EtherCAT technology and brand is only permitted in compliance with the
  *  industrial property and similar rights of Beckhoff Automation GmbH.
  *
+ *  vim: expandtab
+ *
  ****************************************************************************/
 
 #include <list>
@@ -104,7 +106,7 @@ string CommandConfig::helpString() const
  */
 void CommandConfig::execute(const StringVector &args)
 {
-	MasterIndexList masterIndices;
+    MasterIndexList masterIndices;
     bool doIndent;
     ConfigList configs;
 
@@ -114,7 +116,7 @@ void CommandConfig::execute(const StringVector &args)
         throwInvalidUsageException(err);
     }
 
-	masterIndices = getMasterIndices();
+    masterIndices = getMasterIndices();
     doIndent = masterIndices.size() > 1;
     MasterIndexList::const_iterator mi;
     for (mi = masterIndices.begin();
diff --git a/tool/CommandData.cpp b/tool/CommandData.cpp
index c172a976..d31307c3 100644
--- a/tool/CommandData.cpp
+++ b/tool/CommandData.cpp
@@ -25,6 +25,8 @@
  *  EtherCAT technology and brand is only permitted in compliance with the
  *  industrial property and similar rights of Beckhoff Automation GmbH.
  *
+ *  vim: expandtab
+ *
  ****************************************************************************/
 
 #include <iostream>
@@ -66,7 +68,7 @@ string CommandData::helpString() const
 
 void CommandData::execute(const StringVector &args)
 {
-	MasterIndexList masterIndices;
+    MasterIndexList masterIndices;
     DomainList domains;
     DomainList::const_iterator di;
 
@@ -76,7 +78,7 @@ void CommandData::execute(const StringVector &args)
         throwInvalidUsageException(err);
     }
 
-	masterIndices = getMasterIndices();
+    masterIndices = getMasterIndices();
     MasterIndexList::const_iterator mi;
     for (mi = masterIndices.begin();
             mi != masterIndices.end(); mi++) {
diff --git a/tool/CommandDebug.cpp b/tool/CommandDebug.cpp
index 0d31441e..df0548e8 100644
--- a/tool/CommandDebug.cpp
+++ b/tool/CommandDebug.cpp
@@ -25,6 +25,8 @@
  *  EtherCAT technology and brand is only permitted in compliance with the
  *  industrial property and similar rights of Beckhoff Automation GmbH.
  *
+ *  vim: expandtab
+ *
  ****************************************************************************/
 
 #include <sstream>
-- 
GitLab