diff --git a/Framework/API/src/DetectorSearcher.cpp b/Framework/API/src/DetectorSearcher.cpp index 6170612c8930c7bb2f62217ece071b2444bc7cfe..d1e6f76513e6fa372b733303219fa78b85841e6c 100644 --- a/Framework/API/src/DetectorSearcher.cpp +++ b/Framework/API/src/DetectorSearcher.cpp @@ -7,8 +7,6 @@ using Mantid::Kernel::V3D; using Mantid::Geometry::InstrumentRayTracer; -using Mantid::Geometry::IDetector; -using Mantid::Geometry::ReferenceFrame; using namespace Mantid; using namespace Mantid::API; diff --git a/Framework/API/src/MatrixWorkspace.cpp b/Framework/API/src/MatrixWorkspace.cpp index aa0aa5b7009fa702aac8c28e4015a8279b6fdda3..d2b833ff01de3a690979671fdd2746fed382b8b5 100644 --- a/Framework/API/src/MatrixWorkspace.cpp +++ b/Framework/API/src/MatrixWorkspace.cpp @@ -30,7 +30,6 @@ using Mantid::Kernel::DateAndTime; using Mantid::Kernel::TimeSeriesProperty; -using Mantid::Kernel::Strings::toString; namespace Mantid { namespace API { diff --git a/Framework/API/src/TransformScaleFactory.cpp b/Framework/API/src/TransformScaleFactory.cpp index d0cccf43747d1b2493a27e9f6c3e2556d8ecede3..d7f58605063aac3a1c7cb1c6dc1af5bb2705f9d5 100644 --- a/Framework/API/src/TransformScaleFactory.cpp +++ b/Framework/API/src/TransformScaleFactory.cpp @@ -2,7 +2,6 @@ #include "MantidAPI/ITransformScale.h" #include "MantidKernel/Logger.h" -using boost::shared_ptr; namespace Mantid { namespace API { diff --git a/Framework/Algorithms/src/AlphaCalc.cpp b/Framework/Algorithms/src/AlphaCalc.cpp index 8964d7c631c812197ec05a1a336562e9ad087f11..49f17e8eed828791231745eec14e3cf3d145a766 100644 --- a/Framework/Algorithms/src/AlphaCalc.cpp +++ b/Framework/Algorithms/src/AlphaCalc.cpp @@ -12,7 +12,6 @@ namespace Mantid { namespace Algorithms { using namespace Kernel; -using API::Progress; // Register the class into the algorithm factory DECLARE_ALGORITHM(AlphaCalc) diff --git a/Framework/Algorithms/src/AnnularRingAbsorption.cpp b/Framework/Algorithms/src/AnnularRingAbsorption.cpp index 8715fb3127e2df0cd07fe7a6d50eb0d01c0f8b6d..28a8502fd1bdca42ad0e65bb7009172717b8b430 100644 --- a/Framework/Algorithms/src/AnnularRingAbsorption.cpp +++ b/Framework/Algorithms/src/AnnularRingAbsorption.cpp @@ -24,8 +24,6 @@ namespace Mantid { namespace Algorithms { using namespace Mantid::API; -using Mantid::Geometry::ObjComponent; -using Mantid::Geometry::SampleEnvironment; using namespace Mantid::Kernel; // Register the algorithm into the AlgorithmFactory diff --git a/Framework/Algorithms/src/CalMuonDeadTime.cpp b/Framework/Algorithms/src/CalMuonDeadTime.cpp index d5cea870dbb7148a914b8bae4bc0deac122be141..13fe576ff275df8f1fcc144cefc75663ed29c015 100644 --- a/Framework/Algorithms/src/CalMuonDeadTime.cpp +++ b/Framework/Algorithms/src/CalMuonDeadTime.cpp @@ -16,7 +16,6 @@ namespace Mantid { namespace Algorithms { using namespace Kernel; -using API::Progress; // Register the class into the algorithm factory DECLARE_ALGORITHM(CalMuonDeadTime) diff --git a/Framework/Algorithms/src/CalMuonDetectorPhases.cpp b/Framework/Algorithms/src/CalMuonDetectorPhases.cpp index 639a7949eb50f30d602c0cbacbca941c5f44a67b..ddc555d2f17ca4d445bf818d8d0adc39337f2878 100644 --- a/Framework/Algorithms/src/CalMuonDetectorPhases.cpp +++ b/Framework/Algorithms/src/CalMuonDetectorPhases.cpp @@ -19,7 +19,6 @@ namespace Mantid { namespace Algorithms { using namespace Kernel; -using API::Progress; // Register the algorithm into the AlgorithmFactory DECLARE_ALGORITHM(CalMuonDetectorPhases) diff --git a/Framework/Algorithms/src/ConvertDiffCal.cpp b/Framework/Algorithms/src/ConvertDiffCal.cpp index 2a48206e70becdc009e47e86bb2318d967d6f987..af58cc0fda7be1581a6f41788729a24996abd426 100644 --- a/Framework/Algorithms/src/ConvertDiffCal.cpp +++ b/Framework/Algorithms/src/ConvertDiffCal.cpp @@ -13,7 +13,6 @@ namespace Algorithms { using Mantid::Kernel::Direction; using Mantid::API::IAlgorithm_sptr; -using Mantid::API::ISpectrum; using Mantid::API::ITableWorkspace; using Mantid::API::ITableWorkspace_sptr; using Mantid::API::Progress; @@ -22,7 +21,6 @@ using Mantid::DataObjects::OffsetsWorkspace; using Mantid::DataObjects::OffsetsWorkspace_const_sptr; using Mantid::DataObjects::TableWorkspace; using Mantid::DataObjects::TableWorkspace_sptr; -using Mantid::Geometry::Instrument; using Mantid::Geometry::Instrument_const_sptr; // Register the algorithm into the AlgorithmFactory diff --git a/Framework/Algorithms/src/ConvertUnitsUsingDetectorTable.cpp b/Framework/Algorithms/src/ConvertUnitsUsingDetectorTable.cpp index 47eb7cd854309fea47857e811bb93c619f2813df..57815ca763a08d733612cd295e70aa764f2c2aff 100644 --- a/Framework/Algorithms/src/ConvertUnitsUsingDetectorTable.cpp +++ b/Framework/Algorithms/src/ConvertUnitsUsingDetectorTable.cpp @@ -28,8 +28,6 @@ using namespace Kernel; using namespace API; using namespace DataObjects; using namespace HistogramData; -using boost::function; -using boost::bind; // Register the algorithm into the AlgorithmFactory DECLARE_ALGORITHM(ConvertUnitsUsingDetectorTable) diff --git a/Framework/Algorithms/src/CreateDummyCalFile.cpp b/Framework/Algorithms/src/CreateDummyCalFile.cpp index 3ac57bd42b8109299fff5cd0d0401a441b0f4419..d8a7c3a32685bb392b4eebbb6682f1c0b58135b8 100644 --- a/Framework/Algorithms/src/CreateDummyCalFile.cpp +++ b/Framework/Algorithms/src/CreateDummyCalFile.cpp @@ -16,9 +16,6 @@ #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/detail/classification.hpp> -using Poco::XML::DOMParser; -using Poco::XML::Document; -using Poco::XML::Element; namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp b/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp index a510174ea8cb0ea4e187237c321c308c37f2aa53..67806601ad96b06afc2e8e6cd10547c97d5c4fa8 100644 --- a/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp +++ b/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp @@ -11,10 +11,6 @@ #include "MantidKernel/CompositeValidator.h" #include "MantidKernel/Strings.h" -using Mantid::HistogramData::Histogram; -using Mantid::HistogramData::HistogramE; -using Mantid::HistogramData::HistogramY; -using Mantid::HistogramData::Points; namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/FilterBadPulses.cpp b/Framework/Algorithms/src/FilterBadPulses.cpp index 5481223edd019376383fb7e70c43083720a68c64..ec4f20029e3978d6f167c34ea0e003011f6c4584 100644 --- a/Framework/Algorithms/src/FilterBadPulses.cpp +++ b/Framework/Algorithms/src/FilterBadPulses.cpp @@ -15,7 +15,6 @@ DECLARE_ALGORITHM(FilterBadPulses) using namespace Kernel; using namespace API; -using DataObjects::EventList; using DataObjects::EventWorkspace; using DataObjects::EventWorkspace_sptr; using DataObjects::EventWorkspace_const_sptr; diff --git a/Framework/Algorithms/src/FitPeak.cpp b/Framework/Algorithms/src/FitPeak.cpp index 4d3fd6eb10d6035046dc20ccde9a2f5d7adc68d5..ed12a028ee98c3ec16008c65e9d37eaa385a4769 100644 --- a/Framework/Algorithms/src/FitPeak.cpp +++ b/Framework/Algorithms/src/FitPeak.cpp @@ -28,7 +28,6 @@ using namespace Mantid::API; using namespace Mantid::DataObjects; using namespace Mantid::Kernel; using Mantid::HistogramData::HistogramX; -using Mantid::HistogramData::HistogramY; using namespace std; diff --git a/Framework/Algorithms/src/LineProfile.cpp b/Framework/Algorithms/src/LineProfile.cpp index ef287132a4b78f595553bc9d84353db768e62a07..4dd9b0471ecf233bb0c480b5c1f7732f34d92241 100644 --- a/Framework/Algorithms/src/LineProfile.cpp +++ b/Framework/Algorithms/src/LineProfile.cpp @@ -40,7 +40,6 @@ using Mantid::Kernel::Direction; using Mantid::Kernel::ListValidator; using Mantid::Kernel::make_unique; using Mantid::Kernel::MandatoryValidator; -using Mantid::Kernel::Unit; namespace { /// An enum specifying a line profile orientation. diff --git a/Framework/Algorithms/src/MaskBins.cpp b/Framework/Algorithms/src/MaskBins.cpp index b5ddc35af20dd721782f9c0228ed64edfeb5583d..41ebbe2a3716c1931584222ceca918629711768c 100644 --- a/Framework/Algorithms/src/MaskBins.cpp +++ b/Framework/Algorithms/src/MaskBins.cpp @@ -21,7 +21,6 @@ DECLARE_ALGORITHM(MaskBins) using namespace Kernel; using namespace API; using namespace Mantid; -using Mantid::DataObjects::EventList; using Mantid::DataObjects::EventWorkspace; using Mantid::DataObjects::EventWorkspace_sptr; using Mantid::DataObjects::EventWorkspace_const_sptr; diff --git a/Framework/Algorithms/src/MaxEnt.cpp b/Framework/Algorithms/src/MaxEnt.cpp index 7590dcbf0f1e2dc929e8b6d23a7e1176674e37b2..ff26a37dab02e46b9fbfb932b22af1e7966997b8 100644 --- a/Framework/Algorithms/src/MaxEnt.cpp +++ b/Framework/Algorithms/src/MaxEnt.cpp @@ -22,9 +22,6 @@ namespace Algorithms { using Mantid::Kernel::Direction; using Mantid::API::WorkspaceProperty; using Mantid::HistogramData::Points; -using Mantid::HistogramData::BinEdges; -using Mantid::HistogramData::Counts; -using Mantid::HistogramData::CountStandardDeviations; using Mantid::HistogramData::LinearGenerator; using namespace API; diff --git a/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp b/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp index 69061e7f696d6b01d083ac219968cc5db68482e3..42734b9899c6b510fb010f1b3c588c073099183e 100644 --- a/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp +++ b/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp @@ -9,9 +9,6 @@ #include "MantidKernel/MultiThreaded.h" #include "MantidKernel/Strings.h" -using Mantid::HistogramData::HistogramX; -using Mantid::HistogramData::HistogramY; -using Mantid::HistogramData::HistogramE; namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/MonteCarloAbsorption.cpp b/Framework/Algorithms/src/MonteCarloAbsorption.cpp index 6e78629ef369fac809e2e01b9ca73a2987bee39e..bc87627cf16e22d9a43b5626a56c96d7ca68c697 100644 --- a/Framework/Algorithms/src/MonteCarloAbsorption.cpp +++ b/Framework/Algorithms/src/MonteCarloAbsorption.cpp @@ -28,10 +28,6 @@ using namespace Mantid::API; using namespace Mantid::Geometry; using namespace Mantid::Kernel; -using Mantid::HistogramData::Histogram; -using Mantid::HistogramData::HistogramX; -using Mantid::HistogramData::Points; -using Mantid::HistogramData::interpolateLinearInplace; using Mantid::DataObjects::Workspace2D; namespace PhysicalConstants = Mantid::PhysicalConstants; diff --git a/Framework/Algorithms/src/MuonAsymmetryHelper.cpp b/Framework/Algorithms/src/MuonAsymmetryHelper.cpp index 1f52fca5ad240a2da1dd71363042f4cf3f2b7c19..e4efbb9b384923a46829c5d2f0e2316081a00047 100644 --- a/Framework/Algorithms/src/MuonAsymmetryHelper.cpp +++ b/Framework/Algorithms/src/MuonAsymmetryHelper.cpp @@ -29,7 +29,6 @@ constexpr double MUON_LIFETIME_MICROSECONDS{ namespace Mantid { using namespace Kernel; -using API::Progress; using std::size_t; /** diff --git a/Framework/Algorithms/src/RRFMuon.cpp b/Framework/Algorithms/src/RRFMuon.cpp index 35eb7b6dcf36ef7fee7bbdbcd23c91ca2f3aada7..4771ec10aa27962c5d4cdd9c17d67a4daaa27a03 100644 --- a/Framework/Algorithms/src/RRFMuon.cpp +++ b/Framework/Algorithms/src/RRFMuon.cpp @@ -8,7 +8,6 @@ namespace Mantid { namespace Algorithms { using namespace Kernel; -using API::Progress; // Register the class into the algorithm factory DECLARE_ALGORITHM(RRFMuon) diff --git a/Framework/Algorithms/src/Rebin2D.cpp b/Framework/Algorithms/src/Rebin2D.cpp index 6a426c9c5dcb68a501795e85c9218dd6dc0706a2..b479fe177bc85e9b76a1d6fb620e842732240ef7 100644 --- a/Framework/Algorithms/src/Rebin2D.cpp +++ b/Framework/Algorithms/src/Rebin2D.cpp @@ -21,7 +21,6 @@ DECLARE_ALGORITHM(Rebin2D) using namespace API; using namespace DataObjects; using namespace Geometry; -using Kernel::V2D; using namespace Mantid::HistogramData; //-------------------------------------------------------------------------- diff --git a/Framework/Algorithms/src/RemoveLowResTOF.cpp b/Framework/Algorithms/src/RemoveLowResTOF.cpp index 5ec41785184cf77c46232a285196afdae247db35..94c54d97319da803d28780ad9af2c6f89ecc43de 100644 --- a/Framework/Algorithms/src/RemoveLowResTOF.cpp +++ b/Framework/Algorithms/src/RemoveLowResTOF.cpp @@ -23,8 +23,6 @@ using namespace Kernel; using namespace API; using namespace Geometry; using DataObjects::EventWorkspace; -using Kernel::Exception::InstrumentDefinitionError; -using Kernel::Exception::NotFoundError; using std::size_t; using std::string; diff --git a/Framework/Algorithms/src/ResampleX.cpp b/Framework/Algorithms/src/ResampleX.cpp index 82c462f4fcd50725b9f2c74e4873f577b573a110..6c9323c03e3b9bd1b0482f12ab1bf967fce65035 100644 --- a/Framework/Algorithms/src/ResampleX.cpp +++ b/Framework/Algorithms/src/ResampleX.cpp @@ -17,7 +17,6 @@ using namespace DataObjects; using namespace Kernel; using HistogramData::BinEdges; using std::map; -using std::pair; using std::string; using std::stringstream; using std::vector; diff --git a/Framework/Algorithms/src/SmoothNeighbours.cpp b/Framework/Algorithms/src/SmoothNeighbours.cpp index eea66fa37c67734ee8919546dadccf57cf9c93cd..dbbae50f50d7ec87f949b14b63edb84d3bb28958 100644 --- a/Framework/Algorithms/src/SmoothNeighbours.cpp +++ b/Framework/Algorithms/src/SmoothNeighbours.cpp @@ -23,7 +23,6 @@ using namespace Mantid::Kernel; using namespace Mantid::Geometry; using namespace Mantid::API; using namespace Mantid::DataObjects; -using std::map; typedef std::vector<Mantid::Kernel::Property *> VecProperties; typedef const VecProperties ConstVecProperties; diff --git a/Framework/Algorithms/src/SortEvents.cpp b/Framework/Algorithms/src/SortEvents.cpp index d21053acee27368c6b459657e15793392bfe640e..2da390983b237e149230f30c4c1d5f2c6aecc4bb 100644 --- a/Framework/Algorithms/src/SortEvents.cpp +++ b/Framework/Algorithms/src/SortEvents.cpp @@ -14,7 +14,6 @@ DECLARE_ALGORITHM(SortEvents) using namespace Kernel; using namespace API; -using DataObjects::EventList; using DataObjects::EventWorkspace; using DataObjects::EventWorkspace_sptr; using DataObjects::EventWorkspace_const_sptr; diff --git a/Framework/Algorithms/src/SpatialGrouping.cpp b/Framework/Algorithms/src/SpatialGrouping.cpp index 19d779c3a8f40b202efe9b4dc93bebc6643f7ffc..b4febbdba4e1eaf1b8b44e2da353baf82a73eeee 100644 --- a/Framework/Algorithms/src/SpatialGrouping.cpp +++ b/Framework/Algorithms/src/SpatialGrouping.cpp @@ -14,7 +14,6 @@ #include <algorithm> #include "MantidAPI/ISpectrum.h" -using Mantid::API::ISpectrum; namespace { /* diff --git a/Framework/Algorithms/src/Stitch1D.cpp b/Framework/Algorithms/src/Stitch1D.cpp index 9dba784d2424b7535c10cc0b37f459246386ce12..e334f7b4cae7d21cd6b268d602f3c81367b3651b 100644 --- a/Framework/Algorithms/src/Stitch1D.cpp +++ b/Framework/Algorithms/src/Stitch1D.cpp @@ -20,7 +20,6 @@ using namespace Mantid::Kernel; using namespace Mantid::API; -using Mantid::HistogramData::HistogramX; using Mantid::HistogramData::HistogramY; using Mantid::HistogramData::HistogramE; diff --git a/Framework/Algorithms/src/UnwrapSNS.cpp b/Framework/Algorithms/src/UnwrapSNS.cpp index 2c9eab1842e0024b179e4bffcfa03bbf90aecbcc..fc13b6809ce635a1293e846d06478dc3742da710 100644 --- a/Framework/Algorithms/src/UnwrapSNS.cpp +++ b/Framework/Algorithms/src/UnwrapSNS.cpp @@ -21,10 +21,7 @@ DECLARE_ALGORITHM(UnwrapSNS) using namespace Kernel; using namespace API; -using DataObjects::EventList; using DataObjects::EventWorkspace; -using Kernel::Exception::InstrumentDefinitionError; -using Kernel::Exception::NotFoundError; using std::size_t; /// Default constructor diff --git a/Framework/Crystal/src/CombinePeaksWorkspaces.cpp b/Framework/Crystal/src/CombinePeaksWorkspaces.cpp index 72d9005e6b96f1875462903e4ca098faece8fe1a..0ee2cb85a77cf1e8c2d586741897b1fea3309299 100644 --- a/Framework/Crystal/src/CombinePeaksWorkspaces.cpp +++ b/Framework/Crystal/src/CombinePeaksWorkspaces.cpp @@ -14,7 +14,6 @@ using namespace API; using DataObjects::PeaksWorkspace; using DataObjects::PeaksWorkspace_const_sptr; using DataObjects::PeaksWorkspace_sptr; -using DataObjects::Peak; /// Algorithm's name for identification. @see Algorithm::name const std::string CombinePeaksWorkspaces::name() const { diff --git a/Framework/Crystal/src/DiffPeaksWorkspaces.cpp b/Framework/Crystal/src/DiffPeaksWorkspaces.cpp index 3c3ef6ab098f770bdf75267e87ce57e7c9977e69..c6aa4998963364836de0c7f8b518d011d09b7228 100644 --- a/Framework/Crystal/src/DiffPeaksWorkspaces.cpp +++ b/Framework/Crystal/src/DiffPeaksWorkspaces.cpp @@ -13,7 +13,6 @@ using namespace API; using DataObjects::PeaksWorkspace; using DataObjects::PeaksWorkspace_const_sptr; using DataObjects::PeaksWorkspace_sptr; -using DataObjects::Peak; /// Algorithm's name for identification. @see Algorithm::name const std::string DiffPeaksWorkspaces::name() const { diff --git a/Framework/Crystal/src/FilterPeaks.cpp b/Framework/Crystal/src/FilterPeaks.cpp index d26ac9806dc99ae8ed79ca44b8b345e5a2b97e27..7e1bf0a54a4eeb58451e9d695a7b56743102f583 100644 --- a/Framework/Crystal/src/FilterPeaks.cpp +++ b/Framework/Crystal/src/FilterPeaks.cpp @@ -34,7 +34,6 @@ using namespace API; using DataObjects::PeaksWorkspace; using DataObjects::PeaksWorkspace_const_sptr; using DataObjects::PeaksWorkspace_sptr; -using DataObjects::Peak; /// Algorithm's name for identification. @see Algorithm::name const std::string FilterPeaks::name() const { return "FilterPeaks"; } diff --git a/Framework/Crystal/src/GoniometerAnglesFromPhiRotation.cpp b/Framework/Crystal/src/GoniometerAnglesFromPhiRotation.cpp index 797cfa9f3ef42c9bcc92cec397b5f5783f15edc5..4ec190b36651dca8fb8dd716767081b02e355d65 100644 --- a/Framework/Crystal/src/GoniometerAnglesFromPhiRotation.cpp +++ b/Framework/Crystal/src/GoniometerAnglesFromPhiRotation.cpp @@ -10,8 +10,6 @@ #include "MantidGeometry/Instrument/Goniometer.h" using Mantid::Kernel::Direction; -using Mantid::Kernel::Logger; -using Mantid::API::IFunction; namespace Mantid { namespace Crystal { diff --git a/Framework/Crystal/src/LoadIsawUB.cpp b/Framework/Crystal/src/LoadIsawUB.cpp index 49e754ec0fde92500122200220ca0b3de407ed4d..65c8889bcd7bd8aaa463c0a8431a57d04d9ba715 100644 --- a/Framework/Crystal/src/LoadIsawUB.cpp +++ b/Framework/Crystal/src/LoadIsawUB.cpp @@ -8,7 +8,6 @@ using namespace Mantid::Kernel::Strings; using Mantid::Kernel::DblMatrix; -using Mantid::Geometry::UnitCell; using Mantid::Geometry::OrientedLattice; namespace Mantid { diff --git a/Framework/Crystal/src/OptimizeCrystalPlacement.cpp b/Framework/Crystal/src/OptimizeCrystalPlacement.cpp index 8f1c77bf3d993f9ef6d88c8e3034f842dcb603ea..166b7f804aa0c4f6426cf35f63d1abba53c79258 100644 --- a/Framework/Crystal/src/OptimizeCrystalPlacement.cpp +++ b/Framework/Crystal/src/OptimizeCrystalPlacement.cpp @@ -26,9 +26,7 @@ using namespace Mantid::API; using namespace Mantid::DataObjects; using namespace Mantid::Kernel; using Mantid::Geometry::IndexingUtils; -using Mantid::Geometry::Instrument; using Mantid::Geometry::Instrument_const_sptr; -using Mantid::Geometry::ParameterMap; using namespace Mantid::Geometry; namespace Mantid { diff --git a/Framework/Crystal/src/SaveIsawUB.cpp b/Framework/Crystal/src/SaveIsawUB.cpp index 9e13bc57b568b1a7460e5e24b43e94dbd5671d86..0e5e66d7b46c387a572794e8ddad405955cdb040 100644 --- a/Framework/Crystal/src/SaveIsawUB.cpp +++ b/Framework/Crystal/src/SaveIsawUB.cpp @@ -7,7 +7,6 @@ #include <iomanip> using Mantid::Kernel::DblMatrix; -using Mantid::Geometry::UnitCell; using Mantid::Geometry::OrientedLattice; namespace Mantid { diff --git a/Framework/Crystal/src/ShowPeakHKLOffsets.cpp b/Framework/Crystal/src/ShowPeakHKLOffsets.cpp index f3f7b0629301a5cb2349e0280b57e1b533f283cb..8ef72081c2ce98cbb09e01ce34a8b68f02cda8f0 100644 --- a/Framework/Crystal/src/ShowPeakHKLOffsets.cpp +++ b/Framework/Crystal/src/ShowPeakHKLOffsets.cpp @@ -8,7 +8,6 @@ using Mantid::DataObjects::PeaksWorkspace; using Mantid::API::WorkspaceProperty; using Mantid::Kernel::Direction; -using Mantid::DataObjects::TableWorkspace; using Mantid::DataObjects::PeaksWorkspace_sptr; using Mantid::DataObjects::TableWorkspace_sptr; using Mantid::DataObjects::Peak; diff --git a/Framework/CurveFitting/src/Algorithms/CrystalFieldEnergies.cpp b/Framework/CurveFitting/src/Algorithms/CrystalFieldEnergies.cpp index 0a5a475cbd802c74ae0a6fac8b3c3997941cc746..9276491b1139d542786281c6d2ae0148f42c566d 100644 --- a/Framework/CurveFitting/src/Algorithms/CrystalFieldEnergies.cpp +++ b/Framework/CurveFitting/src/Algorithms/CrystalFieldEnergies.cpp @@ -12,7 +12,6 @@ namespace Mantid { namespace CurveFitting { using Mantid::Kernel::Direction; -using Mantid::API::WorkspaceProperty; using Mantid::CurveFitting::ComplexFortranMatrix; using Mantid::CurveFitting::DoubleFortranMatrix; using Mantid::CurveFitting::DoubleFortranVector; diff --git a/Framework/CurveFitting/src/Algorithms/Fit1D.cpp b/Framework/CurveFitting/src/Algorithms/Fit1D.cpp index a9e778a25210801c3cdbaacd49f84d653acbef96..96d3d5598945ec5f07a9d10ab6a05f485db423e8 100644 --- a/Framework/CurveFitting/src/Algorithms/Fit1D.cpp +++ b/Framework/CurveFitting/src/Algorithms/Fit1D.cpp @@ -28,10 +28,8 @@ namespace Algorithms { using namespace Kernel; using API::WorkspaceProperty; -using API::Axis; using API::MatrixWorkspace_const_sptr; using API::MatrixWorkspace; -using API::Algorithm; using API::Progress; using API::Jacobian; diff --git a/Framework/CurveFitting/src/Algorithms/VesuvioCalculateMS.cpp b/Framework/CurveFitting/src/Algorithms/VesuvioCalculateMS.cpp index a15d3e7a846cecda7ec63a412238ba598519c60d..3121c62a16c5d256e3ebbdc5de518537807aa938 100644 --- a/Framework/CurveFitting/src/Algorithms/VesuvioCalculateMS.cpp +++ b/Framework/CurveFitting/src/Algorithms/VesuvioCalculateMS.cpp @@ -34,8 +34,6 @@ using namespace API; using namespace Kernel; using namespace CurveFitting; using namespace CurveFitting::Functions; -using Geometry::Link; -using Geometry::ParameterMap; using Geometry::Track; namespace { diff --git a/Framework/CurveFitting/src/FitMW.cpp b/Framework/CurveFitting/src/FitMW.cpp index def14515b166fd3a5f78a669c9f40bb0c4777e9f..1a4b1915b875bf739930252cdd7f659882bd28fe 100644 --- a/Framework/CurveFitting/src/FitMW.cpp +++ b/Framework/CurveFitting/src/FitMW.cpp @@ -30,10 +30,7 @@ namespace CurveFitting { using namespace Kernel; using API::Workspace; -using API::Axis; using API::MatrixWorkspace; -using API::Algorithm; -using API::Jacobian; namespace { diff --git a/Framework/CurveFitting/src/GSLFunctions.cpp b/Framework/CurveFitting/src/GSLFunctions.cpp index bb3276dc3d55b3283c0d1af16841775cde555c86..d625f504c5878c8ff3831220f7bfceb79d5d27d7 100644 --- a/Framework/CurveFitting/src/GSLFunctions.cpp +++ b/Framework/CurveFitting/src/GSLFunctions.cpp @@ -8,7 +8,6 @@ namespace Mantid { namespace CurveFitting { -using API::Jacobian; /** Fit GSL function wrapper * @param x :: Input function parameters diff --git a/Framework/CurveFitting/src/IMWDomainCreator.cpp b/Framework/CurveFitting/src/IMWDomainCreator.cpp index e2d9d3c2740ecd51228b990eb40ce798af469886..c8dd1177cde871ccc925d68baccd5cb6fcc45448 100644 --- a/Framework/CurveFitting/src/IMWDomainCreator.cpp +++ b/Framework/CurveFitting/src/IMWDomainCreator.cpp @@ -55,10 +55,7 @@ bool greaterIsLess(double x1, double x2) { return x1 > x2; } using namespace Kernel; using API::Workspace; -using API::Axis; using API::MatrixWorkspace; -using API::Algorithm; -using API::Jacobian; /** * Constructor. diff --git a/Framework/DataHandling/src/CheckMantidVersion.cpp b/Framework/DataHandling/src/CheckMantidVersion.cpp index c5b1c4b9e581409a29b0839f70d0a8b728e38b5f..fe0021a49c3ac5bcf9c0d657516d730efb0a393f 100644 --- a/Framework/DataHandling/src/CheckMantidVersion.cpp +++ b/Framework/DataHandling/src/CheckMantidVersion.cpp @@ -18,7 +18,6 @@ namespace Mantid { namespace DataHandling { using namespace Mantid::Kernel; -using Mantid::API::WorkspaceProperty; // Register the algorithm into the AlgorithmFactory DECLARE_ALGORITHM(CheckMantidVersion) diff --git a/Framework/DataHandling/src/DownloadFile.cpp b/Framework/DataHandling/src/DownloadFile.cpp index 718ac786f613e120495928e99d8e7a77fe788af6..6f315345eb558c116d821b4afd8be95207462da3 100644 --- a/Framework/DataHandling/src/DownloadFile.cpp +++ b/Framework/DataHandling/src/DownloadFile.cpp @@ -18,7 +18,6 @@ namespace DataHandling { using Mantid::Kernel::Direction; using Mantid::Kernel::MandatoryValidator; using Mantid::Kernel::StringListValidator; -using Mantid::API::WorkspaceProperty; using Mantid::API::FileProperty; // Register the algorithm into the AlgorithmFactory diff --git a/Framework/DataHandling/src/FilterEventsByLogValuePreNexus.cpp b/Framework/DataHandling/src/FilterEventsByLogValuePreNexus.cpp index cb11664184090ab50b3d4fd371e85f43a515f0ea..c41dac2d24cb7f2301cb2a06168e06538dc9594f 100644 --- a/Framework/DataHandling/src/FilterEventsByLogValuePreNexus.cpp +++ b/Framework/DataHandling/src/FilterEventsByLogValuePreNexus.cpp @@ -51,13 +51,10 @@ using namespace Kernel; using namespace API; using namespace DataObjects; using namespace Geometry; -using boost::posix_time::ptime; -using boost::posix_time::time_duration; using DataObjects::EventList; using DataObjects::EventWorkspace; using DataObjects::EventWorkspace_sptr; using DataObjects::TofEvent; -using std::cout; using std::ifstream; using std::runtime_error; using std::stringstream; diff --git a/Framework/DataHandling/src/FindDetectorsInShape.cpp b/Framework/DataHandling/src/FindDetectorsInShape.cpp index a1d49f4d6756f2dbbe8fc4e01b03ad533b252ea5..5093623918a627c780f0fd245f3119802877db1d 100644 --- a/Framework/DataHandling/src/FindDetectorsInShape.cpp +++ b/Framework/DataHandling/src/FindDetectorsInShape.cpp @@ -10,9 +10,6 @@ #include <Poco/DOM/Document.h> #include <Poco/DOM/Element.h> -using Poco::XML::DOMParser; -using Poco::XML::Document; -using Poco::XML::Element; namespace Mantid { namespace DataHandling { diff --git a/Framework/DataHandling/src/LoadCanSAS1D2.cpp b/Framework/DataHandling/src/LoadCanSAS1D2.cpp index 959f9b2910df6801265311ca29d979dbb9e61a8d..6b40631bf0f0256f6bdb1bc1d3efcf5e1a4c1129 100644 --- a/Framework/DataHandling/src/LoadCanSAS1D2.cpp +++ b/Framework/DataHandling/src/LoadCanSAS1D2.cpp @@ -16,12 +16,9 @@ #include <boost/lexical_cast.hpp> -using Poco::XML::DOMParser; -using Poco::XML::Document; using Poco::XML::Element; using Poco::XML::NodeList; using Poco::XML::Node; -using Poco::XML::Text; using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/DataHandling/src/LoadDiffCal.cpp b/Framework/DataHandling/src/LoadDiffCal.cpp index 4c16d0b6447c26d1fae3775b2e83c629b17836c7..7ff915eb1cae71e0ef57896a09fe0f31594d40d0 100644 --- a/Framework/DataHandling/src/LoadDiffCal.cpp +++ b/Framework/DataHandling/src/LoadDiffCal.cpp @@ -21,7 +21,6 @@ namespace Mantid { namespace DataHandling { using Mantid::API::FileProperty; -using Mantid::API::MatrixWorkspace; using Mantid::API::MatrixWorkspace_sptr; using Mantid::API::Progress; using Mantid::API::ITableWorkspace; diff --git a/Framework/DataHandling/src/LoadEventPreNexus2.cpp b/Framework/DataHandling/src/LoadEventPreNexus2.cpp index d338d1417cec2960ad39ced7dda7ecf3d18e82ce..ec3f7aa677d1263d35bff759006544ad83542f59 100644 --- a/Framework/DataHandling/src/LoadEventPreNexus2.cpp +++ b/Framework/DataHandling/src/LoadEventPreNexus2.cpp @@ -49,13 +49,10 @@ using namespace API; using namespace Geometry; using namespace DataObjects; -using boost::posix_time::ptime; -using boost::posix_time::time_duration; using DataObjects::EventList; using DataObjects::EventWorkspace; using DataObjects::EventWorkspace_sptr; using DataObjects::TofEvent; -using std::cout; using std::ifstream; using std::runtime_error; using std::stringstream; diff --git a/Framework/DataHandling/src/LoadFullprofResolution.cpp b/Framework/DataHandling/src/LoadFullprofResolution.cpp index cb0e15e01287afd33a56ae11450e397fa30c3717..25bd1ef60a4c5355eba9e0c1102c5ce2ffe92fa6 100644 --- a/Framework/DataHandling/src/LoadFullprofResolution.cpp +++ b/Framework/DataHandling/src/LoadFullprofResolution.cpp @@ -29,10 +29,8 @@ using namespace Mantid::Kernel; using namespace std; using namespace Poco::XML; -using Geometry::Instrument; using Geometry::Instrument_sptr; using Geometry::Instrument_const_sptr; -using Mantid::Geometry::InstrumentDefinitionParser; namespace Mantid { namespace DataHandling { diff --git a/Framework/DataHandling/src/LoadGSASInstrumentFile.cpp b/Framework/DataHandling/src/LoadGSASInstrumentFile.cpp index ca4e25413be5a612a4dec884a2942202e9543b29..3c7a05ba475dd6eebf109be49253221249ba5d89 100644 --- a/Framework/DataHandling/src/LoadGSASInstrumentFile.cpp +++ b/Framework/DataHandling/src/LoadGSASInstrumentFile.cpp @@ -30,10 +30,8 @@ using namespace Mantid::Kernel; using namespace std; using namespace Poco::XML; -using Geometry::Instrument; using Geometry::Instrument_sptr; using Geometry::Instrument_const_sptr; -using Mantid::Geometry::InstrumentDefinitionParser; namespace Mantid { namespace DataHandling { diff --git a/Framework/DataHandling/src/LoadIDFFromNexus.cpp b/Framework/DataHandling/src/LoadIDFFromNexus.cpp index 74305f3eedfbe26a71f97511f9b6c905e52a2abd..c42586f08ac1fa131208f33769dd7967213e865f 100644 --- a/Framework/DataHandling/src/LoadIDFFromNexus.cpp +++ b/Framework/DataHandling/src/LoadIDFFromNexus.cpp @@ -18,7 +18,6 @@ using Poco::XML::DOMParser; using Poco::XML::Document; using Poco::XML::Element; using Poco::XML::NodeList; -using Poco::XML::NodeIterator; namespace Mantid { namespace DataHandling { @@ -27,7 +26,6 @@ DECLARE_ALGORITHM(LoadIDFFromNexus) using namespace Kernel; using namespace API; -using Geometry::Instrument; /// Empty default constructor LoadIDFFromNexus::LoadIDFFromNexus() {} diff --git a/Framework/DataHandling/src/LoadInstrument.cpp b/Framework/DataHandling/src/LoadInstrument.cpp index e75051d8c9262728248c69d40ae3ff1173093280..c06b4bee16dd93258a57745ed5d72f8bd765a579 100644 --- a/Framework/DataHandling/src/LoadInstrument.cpp +++ b/Framework/DataHandling/src/LoadInstrument.cpp @@ -23,13 +23,6 @@ #include <fstream> #include "MantidGeometry/Instrument/InstrumentDefinitionParser.h" -using Poco::XML::DOMParser; -using Poco::XML::Document; -using Poco::XML::Element; -using Poco::XML::Node; -using Poco::XML::NodeList; -using Poco::XML::NodeIterator; -using Poco::XML::NodeFilter; namespace Mantid { namespace DataHandling { diff --git a/Framework/DataHandling/src/LoadLog.cpp b/Framework/DataHandling/src/LoadLog.cpp index ef50c84e5dc1932428b161d2a2e7a57986c3d3b2..d9b412bbd17e65dd63d90104ba25cb088166e205 100644 --- a/Framework/DataHandling/src/LoadLog.cpp +++ b/Framework/DataHandling/src/LoadLog.cpp @@ -34,7 +34,6 @@ using API::FileProperty; using API::MatrixWorkspace; using API::MatrixWorkspace_sptr; using API::WorkspaceProperty; -using DataObjects::Workspace2D; using DataObjects::Workspace2D_sptr; /// Empty default constructor diff --git a/Framework/DataHandling/src/LoadMask.cpp b/Framework/DataHandling/src/LoadMask.cpp index 4e3e20a442dd6bf0156c5799da7124bb80c68cf7..eb2b44eda004d5f88a0312cfe33b41c594d07030 100644 --- a/Framework/DataHandling/src/LoadMask.cpp +++ b/Framework/DataHandling/src/LoadMask.cpp @@ -29,8 +29,6 @@ #include <boost/algorithm/string.hpp> using Poco::XML::DOMParser; -using Poco::XML::Document; -using Poco::XML::Element; using Poco::XML::Node; using Poco::XML::NodeList; using Poco::XML::NodeIterator; diff --git a/Framework/DataHandling/src/LoadMuonLog.cpp b/Framework/DataHandling/src/LoadMuonLog.cpp index 0730663af6cd6d2fff3fe43ab0f2ffa7a3b9b1f6..c0b1758454fb78a86b6b2f5eb671eea3b7e35e1b 100644 --- a/Framework/DataHandling/src/LoadMuonLog.cpp +++ b/Framework/DataHandling/src/LoadMuonLog.cpp @@ -19,7 +19,6 @@ using API::WorkspaceProperty; using API::MatrixWorkspace; using API::MatrixWorkspace_sptr; using API::FileProperty; -using DataObjects::Workspace2D; using DataObjects::Workspace2D_sptr; using API::Progress; diff --git a/Framework/DataHandling/src/LoadMuonNexus1.cpp b/Framework/DataHandling/src/LoadMuonNexus1.cpp index fb06559c48c21615eedb6e18ab65f27bac78190f..c257aeb10c4f8061ad089515b89aafcb850867b4 100644 --- a/Framework/DataHandling/src/LoadMuonNexus1.cpp +++ b/Framework/DataHandling/src/LoadMuonNexus1.cpp @@ -44,7 +44,6 @@ DECLARE_NEXUS_FILELOADER_ALGORITHM(LoadMuonNexus1) using namespace Kernel; using namespace API; -using Geometry::Instrument; using namespace Mantid::NeXus; using HistogramData::BinEdges; using HistogramData::Counts; diff --git a/Framework/DataHandling/src/LoadNexusMonitors2.cpp b/Framework/DataHandling/src/LoadNexusMonitors2.cpp index e061969627b8b7f4f0ff330e449d63c895d4f5d0..f5b3146b492273220cbd26bfddf904d1088b081f 100644 --- a/Framework/DataHandling/src/LoadNexusMonitors2.cpp +++ b/Framework/DataHandling/src/LoadNexusMonitors2.cpp @@ -27,7 +27,6 @@ using Mantid::API::WorkspaceGroup_sptr; using Mantid::DataObjects::EventWorkspace; using Mantid::DataObjects::EventWorkspace_sptr; using Mantid::HistogramData::BinEdges; -using Mantid::HistogramData::CountStandardDeviations; using Mantid::HistogramData::Counts; using Mantid::HistogramData::Histogram; diff --git a/Framework/DataHandling/src/LoadParameterFile.cpp b/Framework/DataHandling/src/LoadParameterFile.cpp index bf8c811d7705ca062596bdfb1524249868b9c953..886831c1c654418bd0c5ecfe84f066b943662f3c 100644 --- a/Framework/DataHandling/src/LoadParameterFile.cpp +++ b/Framework/DataHandling/src/LoadParameterFile.cpp @@ -19,10 +19,6 @@ using Poco::XML::DOMParser; using Poco::XML::Document; using Poco::XML::Element; -using Poco::XML::Node; -using Poco::XML::NodeList; -using Poco::XML::NodeIterator; -using Poco::XML::NodeFilter; using Poco::XML::AutoPtr; using Mantid::Geometry::InstrumentDefinitionParser; diff --git a/Framework/DataHandling/src/LoadSpice2D.cpp b/Framework/DataHandling/src/LoadSpice2D.cpp index 04096230e33114217af96c9348b82ed5c73dd46e..334b8d7c568bfb29626d8a7ac94100aefd0714f1 100644 --- a/Framework/DataHandling/src/LoadSpice2D.cpp +++ b/Framework/DataHandling/src/LoadSpice2D.cpp @@ -41,9 +41,6 @@ using Poco::XML::DOMParser; using Poco::XML::Document; using Poco::XML::Element; -using Poco::XML::NodeList; -using Poco::XML::Node; -using Poco::XML::Text; namespace Mantid { namespace DataHandling { diff --git a/Framework/DataHandling/src/RemoveLogs.cpp b/Framework/DataHandling/src/RemoveLogs.cpp index 78d2a8a53587594478a995694cd0a775f3a8975a..866095c0a150e75592d18d0f3309712c44f75a61 100644 --- a/Framework/DataHandling/src/RemoveLogs.cpp +++ b/Framework/DataHandling/src/RemoveLogs.cpp @@ -29,7 +29,6 @@ DECLARE_ALGORITHM(RemoveLogs) using namespace Kernel; using namespace API; -using DataObjects::Workspace2D; using DataObjects::Workspace2D_sptr; /// Empty default constructor diff --git a/Framework/DataHandling/src/RotateSource.cpp b/Framework/DataHandling/src/RotateSource.cpp index 0d36be1bcb0e141707aa30ac72f59fd5126c3093..8298f0209ef26e6672c2a29e56191f39c741254a 100644 --- a/Framework/DataHandling/src/RotateSource.cpp +++ b/Framework/DataHandling/src/RotateSource.cpp @@ -10,7 +10,6 @@ namespace DataHandling { using Mantid::Kernel::Direction; using Mantid::Kernel::Quat; -using Mantid::Kernel::V3D; using Mantid::API::WorkspaceProperty; // Register the algorithm into the AlgorithmFactory diff --git a/Framework/DataHandling/src/SaveNXTomo.cpp b/Framework/DataHandling/src/SaveNXTomo.cpp index 3b82c5aa24930d1b6ad5667492a877cb7ab07989..1f3ba5ee9a1b08522876cad412d6ecab4137ca1c 100644 --- a/Framework/DataHandling/src/SaveNXTomo.cpp +++ b/Framework/DataHandling/src/SaveNXTomo.cpp @@ -25,7 +25,6 @@ DECLARE_ALGORITHM(SaveNXTomo) using namespace Kernel; using namespace API; using namespace DataObjects; -using Geometry::RectangularDetector; const std::string SaveNXTomo::NXTOMO_VER = "2.0"; diff --git a/Framework/DataHandling/src/SetSample.cpp b/Framework/DataHandling/src/SetSample.cpp index 38e268798773c3250b6504c01d4ab888e363ef86..91a7af8124eb6644c0f4bbf12a141ae52552857f 100644 --- a/Framework/DataHandling/src/SetSample.cpp +++ b/Framework/DataHandling/src/SetSample.cpp @@ -26,8 +26,6 @@ using Geometry::Goniometer; using Geometry::ReferenceFrame; using Geometry::SampleEnvironment; using Kernel::Logger; -using Kernel::PropertyWithValue; -using Kernel::Quat; using Kernel::V3D; namespace { diff --git a/Framework/DataHandling/src/UpdateInstrumentFromFile.cpp b/Framework/DataHandling/src/UpdateInstrumentFromFile.cpp index bf1b296db4cd3b827720c18cbbab816d49a01b21..ee95cd633267ffd4b86402dfe0671043b0bb834d 100644 --- a/Framework/DataHandling/src/UpdateInstrumentFromFile.cpp +++ b/Framework/DataHandling/src/UpdateInstrumentFromFile.cpp @@ -25,7 +25,6 @@ DECLARE_ALGORITHM(UpdateInstrumentFromFile) using namespace Kernel; using namespace API; -using Geometry::Instrument; using Geometry::Instrument_sptr; using Geometry::IDetector_sptr; using Kernel::V3D; diff --git a/Framework/DataObjects/src/EventList.cpp b/Framework/DataObjects/src/EventList.cpp index 64dd418bad5f778f723e338dadd2e63921ec7b79..61fe656050c37ba7588b577aa1169d3822b4cf11 100644 --- a/Framework/DataObjects/src/EventList.cpp +++ b/Framework/DataObjects/src/EventList.cpp @@ -28,7 +28,6 @@ using std::vector; namespace Mantid { namespace DataObjects { -using Kernel::Exception::NotImplementedError; using Kernel::DateAndTime; using namespace Mantid::API; diff --git a/Framework/DataObjects/src/EventWorkspace.cpp b/Framework/DataObjects/src/EventWorkspace.cpp index 16300d5969243289626e0c27d6106def17a6ad21..bcd4447d60adfe60040056580305f21e8adba4a4 100644 --- a/Framework/DataObjects/src/EventWorkspace.cpp +++ b/Framework/DataObjects/src/EventWorkspace.cpp @@ -23,7 +23,6 @@ #include <numeric> using namespace boost::posix_time; -using Mantid::API::ISpectrum; using Mantid::Kernel::DateAndTime; namespace Mantid { diff --git a/Framework/DataObjects/src/Events.cpp b/Framework/DataObjects/src/Events.cpp index 778ff1d65fac989a5da3795a62d59e655918b39e..4fc7dbcf3813b7b7e81bca7c8d0e9bc12051ee95 100644 --- a/Framework/DataObjects/src/Events.cpp +++ b/Framework/DataObjects/src/Events.cpp @@ -8,13 +8,10 @@ #include <stdexcept> using std::ostream; -using std::runtime_error; using std::size_t; -using std::vector; namespace Mantid { namespace DataObjects { -using Kernel::Exception::NotImplementedError; using Kernel::DateAndTime; //========================================================================== diff --git a/Framework/DataObjects/src/GroupingWorkspace.cpp b/Framework/DataObjects/src/GroupingWorkspace.cpp index 7ceaf8d868d3e99cc51630e4fe4d7634690c6fcc..ebd731d59aa8d6c17fd92a47be5faeb392ef2451 100644 --- a/Framework/DataObjects/src/GroupingWorkspace.cpp +++ b/Framework/DataObjects/src/GroupingWorkspace.cpp @@ -4,7 +4,6 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/SpectraAxis.h" -using Mantid::API::SpectraAxis; using std::size_t; using namespace Mantid::API; diff --git a/Framework/DataObjects/src/OffsetsWorkspace.cpp b/Framework/DataObjects/src/OffsetsWorkspace.cpp index 12e155ac82c6d9902f30f73bd97a8dbb781aaf15..f8ec4be1fd4e8fcb0b0fd09fbc4f60056cb8f49a 100644 --- a/Framework/DataObjects/src/OffsetsWorkspace.cpp +++ b/Framework/DataObjects/src/OffsetsWorkspace.cpp @@ -4,7 +4,6 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/SpectraAxis.h" -using Mantid::API::SpectraAxis; namespace Mantid { namespace DataObjects { diff --git a/Framework/DataObjects/src/SpecialWorkspace2D.cpp b/Framework/DataObjects/src/SpecialWorkspace2D.cpp index 4eb620979030750d521305170c1b18f0eebcc657..ee51294cce4ab12abd29d7250e770f2c9729a31b 100644 --- a/Framework/DataObjects/src/SpecialWorkspace2D.cpp +++ b/Framework/DataObjects/src/SpecialWorkspace2D.cpp @@ -6,7 +6,6 @@ #include <fstream> #include <sstream> -using Mantid::API::SpectraAxis; using std::set; using std::size_t; diff --git a/Framework/DataObjects/src/Workspace2D.cpp b/Framework/DataObjects/src/Workspace2D.cpp index a9047b9024d1c7632a1c89bf5c7d07dd546a884a..bc015f8cc3e86efa0b702d51ecdca481b799896a 100644 --- a/Framework/DataObjects/src/Workspace2D.cpp +++ b/Framework/DataObjects/src/Workspace2D.cpp @@ -11,7 +11,6 @@ #include <algorithm> #include <sstream> -using Mantid::API::ISpectrum; using Mantid::API::MantidImage; namespace Mantid { diff --git a/Framework/Geometry/src/Crystal/ReducedCell.cpp b/Framework/Geometry/src/Crystal/ReducedCell.cpp index d6690856101de255de840233aae9dae5d5e336a1..17fefd2197a1154720b996549c1e60d8b5af8a34 100644 --- a/Framework/Geometry/src/Crystal/ReducedCell.cpp +++ b/Framework/Geometry/src/Crystal/ReducedCell.cpp @@ -6,7 +6,6 @@ namespace Mantid { namespace Geometry { -using Mantid::Kernel::V3D; using Mantid::Kernel::DblMatrix; /** diff --git a/Framework/Geometry/src/Instrument/ComponentHelper.cpp b/Framework/Geometry/src/Instrument/ComponentHelper.cpp index 7f8ba49d8425bc3e2a423ee03d0074bbac8786b2..19813d19cd676c4f440b9c2db80560a8c523f30f 100644 --- a/Framework/Geometry/src/Instrument/ComponentHelper.cpp +++ b/Framework/Geometry/src/Instrument/ComponentHelper.cpp @@ -13,7 +13,6 @@ namespace Mantid { namespace Geometry { namespace ComponentHelper { using Kernel::V3D; -using Kernel::Quat; /** * createOneDetectorInstrument, creates the most simple possible definition of diff --git a/Framework/Geometry/src/Instrument/Detector.cpp b/Framework/Geometry/src/Instrument/Detector.cpp index 7f31582377867156a05775011762603d6589fa93..324d481934e895b981876a847d911756c4e8b257 100644 --- a/Framework/Geometry/src/Instrument/Detector.cpp +++ b/Framework/Geometry/src/Instrument/Detector.cpp @@ -15,7 +15,6 @@ Kernel::Logger g_log("Detector"); } using Kernel::V3D; -using Kernel::Quat; /** Constructor for a parametrized Detector * @param base: the base (un-parametrized) IComponent diff --git a/Framework/Geometry/src/Instrument/RectangularDetector.cpp b/Framework/Geometry/src/Instrument/RectangularDetector.cpp index 67434f4b69a3164a8e38ec9b97c001a7226a1f31..da83a5593865c3729267659df74bf3fb19b2671b 100644 --- a/Framework/Geometry/src/Instrument/RectangularDetector.cpp +++ b/Framework/Geometry/src/Instrument/RectangularDetector.cpp @@ -36,7 +36,6 @@ namespace Mantid { namespace Geometry { using Kernel::V3D; -using Kernel::Quat; using Kernel::Matrix; /** Empty constructor diff --git a/Framework/Geometry/src/Instrument/SampleEnvironment.cpp b/Framework/Geometry/src/Instrument/SampleEnvironment.cpp index a714c507e807913c4dc62d64be7035618c532a6c..16fb7a1ff65d87dceb85f0edfa3f1b4e8254528c 100644 --- a/Framework/Geometry/src/Instrument/SampleEnvironment.cpp +++ b/Framework/Geometry/src/Instrument/SampleEnvironment.cpp @@ -11,7 +11,6 @@ namespace Mantid { namespace Geometry { using Geometry::BoundingBox; using Geometry::Track; -using Kernel::Material; using Kernel::V3D; //------------------------------------------------------------------------------ diff --git a/Framework/Geometry/src/Instrument/StructuredDetector.cpp b/Framework/Geometry/src/Instrument/StructuredDetector.cpp index 9ef8860667412bba6850a2dcb4346f0430f42ffc..2c42ccb6cf0a79ef086571f3cfb5609208071e23 100644 --- a/Framework/Geometry/src/Instrument/StructuredDetector.cpp +++ b/Framework/Geometry/src/Instrument/StructuredDetector.cpp @@ -20,8 +20,6 @@ namespace Mantid { namespace Geometry { using Kernel::V3D; -using Kernel::Quat; -using Kernel::Matrix; /** Empty constructor */ diff --git a/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp b/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp index c3986f19da9e31fbb7ef3e67efadf4857682997f..4f82813e63c5d321685a0f639d44ce5ea635ce61 100644 --- a/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp +++ b/Framework/Geometry/src/Rendering/OCGeometryGenerator.cpp @@ -66,8 +66,6 @@ GCC_DIAG_ON(cast-qual) #endif namespace Mantid { -using Kernel::V3D; -using Kernel::Quat; namespace Geometry { namespace { diff --git a/Framework/Geometry/src/Rendering/vtkGeometryCacheReader.cpp b/Framework/Geometry/src/Rendering/vtkGeometryCacheReader.cpp index 59ff1f80afc0eb2535996241a25dbfd89f427288..6f9938bcbd4bc3da0fb272dffd9d7699e1eeb64c 100644 --- a/Framework/Geometry/src/Rendering/vtkGeometryCacheReader.cpp +++ b/Framework/Geometry/src/Rendering/vtkGeometryCacheReader.cpp @@ -8,13 +8,7 @@ #include <Poco/DOM/Element.h> using Poco::XML::DOMParser; -using Poco::XML::InputSource; using Poco::XML::Document; -using Poco::XML::NodeIterator; -using Poco::XML::NodeFilter; -using Poco::XML::Node; -using Poco::XML::AutoPtr; -using Poco::Exception; using Poco::XML::Element; #include "MantidKernel/Exception.h" diff --git a/Framework/HistogramData/src/Interpolate.cpp b/Framework/HistogramData/src/Interpolate.cpp index ee5691b4c86e6189de232abee7855e3e2c248eeb..8a0daace69abb8619fe9753c8826f51358b61382 100644 --- a/Framework/HistogramData/src/Interpolate.cpp +++ b/Framework/HistogramData/src/Interpolate.cpp @@ -8,7 +8,6 @@ #include <sstream> using Mantid::HistogramData::Histogram; -using Mantid::HistogramData::HistogramX; using Mantid::HistogramData::HistogramY; namespace { diff --git a/Framework/HistogramData/src/Rebin.cpp b/Framework/HistogramData/src/Rebin.cpp index c4de45aaf469f12975b9a619470bdb578b9ec34e..5c92d3337b7d9f6cdf80466fcad9fcf627c0b9c1 100644 --- a/Framework/HistogramData/src/Rebin.cpp +++ b/Framework/HistogramData/src/Rebin.cpp @@ -12,7 +12,6 @@ using Mantid::HistogramData::CountStandardDeviations; using Mantid::HistogramData::CountVariances; using Mantid::HistogramData::Frequencies; using Mantid::HistogramData::FrequencyStandardDeviations; -using Mantid::HistogramData::FrequencyVariances; using Mantid::HistogramData::Exception::InvalidBinEdgesError; namespace { diff --git a/Framework/Kernel/src/GitHubApiHelper.cpp b/Framework/Kernel/src/GitHubApiHelper.cpp index 80c22b8871e762313b6f08482a4566d0498f1767..9950a4ca6b42c361d65c403e9ebf50f212986a91 100644 --- a/Framework/Kernel/src/GitHubApiHelper.cpp +++ b/Framework/Kernel/src/GitHubApiHelper.cpp @@ -20,7 +20,6 @@ namespace Kernel { class ProxyInfo; using namespace Poco::Net; -using std::map; using std::string; namespace { diff --git a/Framework/Kernel/src/MaterialBuilder.cpp b/Framework/Kernel/src/MaterialBuilder.cpp index f3ec2f7a915b60de127baa066f4c6a5e5dd3e490..9d74c5bc1cffe6db48052d16fe70161f9cb5f40b 100644 --- a/Framework/Kernel/src/MaterialBuilder.cpp +++ b/Framework/Kernel/src/MaterialBuilder.cpp @@ -9,7 +9,6 @@ namespace Mantid { using PhysicalConstants::Atom; using PhysicalConstants::NeutronAtom; using PhysicalConstants::getAtom; -using PhysicalConstants::getNeutronAtom; namespace Kernel { namespace { diff --git a/Framework/Kernel/src/Matrix.cpp b/Framework/Kernel/src/Matrix.cpp index 1c008b6aea18a53f0ff7e70e56bbf125b586b923..0ea0bf2d2e540ca8d58189a813b7ae9b222214d1 100644 --- a/Framework/Kernel/src/Matrix.cpp +++ b/Framework/Kernel/src/Matrix.cpp @@ -10,7 +10,6 @@ #include <memory> #include <sstream> -using Mantid::Kernel::TimeSeriesProperty; namespace Mantid { diff --git a/Framework/Kernel/src/PropertyNexus.cpp b/Framework/Kernel/src/PropertyNexus.cpp index 21e1f1b6d48d8261053de2a98321fc00a66e0748..52adfefa0e96a7e6bb3b290ce0aefd34079b7f54 100644 --- a/Framework/Kernel/src/PropertyNexus.cpp +++ b/Framework/Kernel/src/PropertyNexus.cpp @@ -19,8 +19,6 @@ using namespace Mantid::Kernel; using namespace ::NeXus; -using boost::algorithm::is_any_of; -using boost::algorithm::split; #ifdef _WIN32 #pragma warning(push) diff --git a/Framework/MDAlgorithms/src/BinMD.cpp b/Framework/MDAlgorithms/src/BinMD.cpp index 1215f58cf5582331b7e4612a8580c46fcbed8c33..742298dd2adeecba59a5d35a2760ba59e0d165a5 100644 --- a/Framework/MDAlgorithms/src/BinMD.cpp +++ b/Framework/MDAlgorithms/src/BinMD.cpp @@ -17,8 +17,6 @@ #include "MantidKernel/Utils.h" #include <boost/algorithm/string.hpp> -using Mantid::Kernel::CPUTimer; -using Mantid::Kernel::EnabledWhenProperty; namespace Mantid { namespace MDAlgorithms { diff --git a/Framework/MDAlgorithms/src/LoadSQW2.cpp b/Framework/MDAlgorithms/src/LoadSQW2.cpp index e63f5f0da917323d2e09b45140067b03d8f8f889..2c278d4e528b7f97c41a4ea0b62f9cdd87c8cefe 100644 --- a/Framework/MDAlgorithms/src/LoadSQW2.cpp +++ b/Framework/MDAlgorithms/src/LoadSQW2.cpp @@ -23,14 +23,12 @@ namespace Mantid { namespace MDAlgorithms { using API::ExperimentInfo; -using Geometry::MDHistoDimension; using Geometry::MDHistoDimensionBuilder; using Geometry::Goniometer; using Geometry::OrientedLattice; using Kernel::BinaryStreamReader; using Kernel::Logger; using Kernel::DblMatrix; -using Kernel::Matrix; using Kernel::V3D; namespace { diff --git a/Framework/MDAlgorithms/src/Quantification/FitResolutionConvolvedModel.cpp b/Framework/MDAlgorithms/src/Quantification/FitResolutionConvolvedModel.cpp index a024ce17b215a9c8de9eff9a0fe18891dc296ac9..3d823286ba2a11364be245db34e58faa549e90d0 100644 --- a/Framework/MDAlgorithms/src/Quantification/FitResolutionConvolvedModel.cpp +++ b/Framework/MDAlgorithms/src/Quantification/FitResolutionConvolvedModel.cpp @@ -21,7 +21,6 @@ using API::ITableWorkspace; using API::ITableWorkspace_sptr; using API::IMDEventWorkspace; using API::IMDEventWorkspace_sptr; -using API::MatrixWorkspace; using API::MatrixWorkspace_sptr; using API::WorkspaceProperty; diff --git a/Framework/MDAlgorithms/src/Quantification/Resolution/TobyFitResolutionModel.cpp b/Framework/MDAlgorithms/src/Quantification/Resolution/TobyFitResolutionModel.cpp index 96cc4486aa7694e79b6224550f922ee107ae53ef..aa4e5a9ef975a526d8567f5020f517fe271e2873 100644 --- a/Framework/MDAlgorithms/src/Quantification/Resolution/TobyFitResolutionModel.cpp +++ b/Framework/MDAlgorithms/src/Quantification/Resolution/TobyFitResolutionModel.cpp @@ -17,11 +17,9 @@ namespace Mantid { namespace MDAlgorithms { -using Geometry::Instrument; using Geometry::Instrument_const_sptr; using Geometry::IObjComponent_const_sptr; using Geometry::IDetector_const_sptr; -using API::Run; using API::IFunction; DECLARE_MDRESOLUTIONCONVOLUTION(TobyFitResolutionModel, diff --git a/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp b/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp index cbaa125ff966feadc206b9130ac22d6654b87010..9f77ee6db28ef2f38f939b207e8ae323cc4c1405 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmFactory.cpp @@ -19,7 +19,6 @@ using namespace Mantid::API; using namespace boost::python; -using Mantid::Kernel::AbstractInstantiator; using Mantid::PythonInterface::PythonObjectInstantiator; GET_POINTER_SPECIALIZATION(AlgorithmFactoryImpl) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmHistory.cpp b/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmHistory.cpp index b699be35b9c2dc63894f769a7245a5e8e585a74f..21f061e5da20c83f282868550ccd5e0f9ea4fa95 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmHistory.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/AlgorithmHistory.cpp @@ -12,8 +12,6 @@ #include <boost/python/self.hpp> using Mantid::API::AlgorithmHistory; -using Mantid::Kernel::PropertyHistory; -using Mantid::API::IAlgorithm; using namespace boost::python; namespace Policies = Mantid::PythonInterface::Policies; diff --git a/Framework/PythonInterface/mantid/api/src/Exports/DataProcessorAlgorithm.cpp b/Framework/PythonInterface/mantid/api/src/Exports/DataProcessorAlgorithm.cpp index 6f7d4a319856bcc31ee8b1474a675a1d182dc30b..6532b0e3de5fdb8d468d1258222436b986435806 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/DataProcessorAlgorithm.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/DataProcessorAlgorithm.cpp @@ -5,7 +5,6 @@ #include <boost/python/overloads.hpp> using namespace Mantid::API; -using Mantid::Kernel::Direction; using Mantid::PythonInterface::DataProcessorAdapter; using namespace boost::python; diff --git a/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp b/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp index bc9e49abf89f4271780d4e233ab7eaaadd22e363..720051a367eb6f9da59bcd70e04da836b0646ae1 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/FunctionFactory.cpp @@ -19,7 +19,6 @@ using Mantid::API::FunctionFactoryImpl; using Mantid::API::FunctionFactory; using Mantid::API::IFunction; using Mantid::PythonInterface::PythonObjectInstantiator; -using Mantid::Kernel::AbstractInstantiator; using namespace boost::python; diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IEventWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IEventWorkspaceProperty.cpp index 072acf479a6df04a5f71afd674401e22694e0f19..b63c7f867d50098638aaf85291c0611b204f1490 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IEventWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IEventWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/IEventWorkspace.h" using Mantid::API::IEventWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<IEventWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IFunction1D.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IFunction1D.cpp index a435fc7b192eadaad8060c02817d251d5bd2cf59..9a9e369db65775dc13dabf12bbbccbcf44c25fd3 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IFunction1D.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IFunction1D.cpp @@ -5,7 +5,6 @@ using Mantid::API::IFunction1D; using Mantid::API::IFunction; using Mantid::PythonInterface::IFunction1DAdapter; -using Mantid::PythonInterface::IFunctionAdapter; using namespace boost::python; void export_IFunction1D() { diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IMDEventWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IMDEventWorkspaceProperty.cpp index eb64fc213436c7fc8dc7b41a1d4dc7d1c7772985..3aeadee09446fcec28a04264604db9b6378dcabb 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IMDEventWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IMDEventWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/IMDEventWorkspace.h" using Mantid::API::IMDEventWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<IMDEventWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IMDHistoWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IMDHistoWorkspaceProperty.cpp index c2f6be6772f57f6e638d4bedf87c6513dd7b40ce..edfd31deedace38cfc1908e07094592406b6f380 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IMDHistoWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IMDHistoWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/IMDHistoWorkspace.h" using Mantid::API::IMDHistoWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<IMDHistoWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IMDWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IMDWorkspaceProperty.cpp index 75659624329fb6220faae643359c73e3f6098210..fe5928b910437d6eaccd5fffd6ebf8b6c6ff29cd 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IMDWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IMDWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/IMDWorkspace.h" using Mantid::API::IMDWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<IMDWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/IPeaksWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/IPeaksWorkspaceProperty.cpp index 6d3b85e291a69ae027d2b24605d4816151b6a54d..572e2f956de5db47556c7aa4a4eb5dc511807847 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/IPeaksWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/IPeaksWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/IPeaksWorkspace.h" using Mantid::API::IPeaksWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<IPeaksWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/ITableWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/ITableWorkspaceProperty.cpp index 9592521ea0ff0e3f061b2132755aeba142891300..732dbdc1cddfdbce54c541d777848f1c4639fc56 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/ITableWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/ITableWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/ITableWorkspace.h" using Mantid::API::ITableWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<ITableWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspaceProperty.cpp index aa85f1d6ea286af7ab1a280f0c6e112fde008bb8..820b8739e07e6a295d110892d7442876bd280d7d 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/MatrixWorkspace.h" using Mantid::API::MatrixWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<MatrixWorkspace>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp b/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp index 2afa721fc672825c609e6b5c545e7df8ee0a642a..e779d84e0e22eb47ce772e06e3dfc2e9a0ff1319 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp @@ -10,7 +10,6 @@ using Mantid::API::Sample; using Mantid::Geometry::OrientedLattice; -using Mantid::Kernel::Material; using namespace boost::python; GET_POINTER_SPECIALIZATION(Material) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceGroupProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceGroupProperty.cpp index 5522dfe1b2a2a39f10f6800988dcddd9b95709d0..0d33ce4fce55b909fcc7861f300ad66a1aa02a86 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceGroupProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceGroupProperty.cpp @@ -3,7 +3,6 @@ #include "MantidAPI/WorkspaceGroup.h" using Mantid::API::WorkspaceGroup; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<WorkspaceGroup>) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceHistory.cpp b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceHistory.cpp index 05c2b45cf2039d796eafaff0b3d57d53ddf8ce97..9d53db73f7a7d20823d31d63b96621c49365bc6b 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceHistory.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceHistory.cpp @@ -12,8 +12,6 @@ #include <boost/python/self.hpp> using Mantid::API::WorkspaceHistory; -using Mantid::API::AlgorithmHistory; -using Mantid::API::IAlgorithm; using namespace boost::python; namespace Policies = Mantid::PythonInterface::Policies; diff --git a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceProperty.cpp b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceProperty.cpp index 53f5e602d291c7f3c2c5da307211066c445b1dec..c93eade44e55eb0fd879a760eabee35d1122d54b 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceProperty.cpp @@ -4,7 +4,6 @@ #include <boost/python/enum.hpp> using Mantid::API::Workspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<Workspace>) diff --git a/Framework/PythonInterface/mantid/dataobjects/src/Exports/EventWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/dataobjects/src/Exports/EventWorkspaceProperty.cpp index 18f1de77c03eabd85ac0b5f8af6a19fcb2779541..871f9e39d72429a8d727688108154c7cabea6603 100644 --- a/Framework/PythonInterface/mantid/dataobjects/src/Exports/EventWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/dataobjects/src/Exports/EventWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidDataObjects/EventWorkspace.h" using Mantid::DataObjects::EventWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<EventWorkspace>) diff --git a/Framework/PythonInterface/mantid/dataobjects/src/Exports/MaskWorkspaceProperty.cpp b/Framework/PythonInterface/mantid/dataobjects/src/Exports/MaskWorkspaceProperty.cpp index a85a555a4ba7acf753c1ad417d4251e044668496..8e38c0aa36bff8e6acfb6ba96b3dbb20ba514cb0 100644 --- a/Framework/PythonInterface/mantid/dataobjects/src/Exports/MaskWorkspaceProperty.cpp +++ b/Framework/PythonInterface/mantid/dataobjects/src/Exports/MaskWorkspaceProperty.cpp @@ -3,7 +3,6 @@ #include "MantidDataObjects/MaskWorkspace.h" using Mantid::DataObjects::MaskWorkspace; -using Mantid::API::WorkspaceProperty; GET_POINTER_SPECIALIZATION(WorkspaceProperty<MaskWorkspace>) diff --git a/Framework/PythonInterface/mantid/geometry/src/Exports/ReferenceFrame.cpp b/Framework/PythonInterface/mantid/geometry/src/Exports/ReferenceFrame.cpp index 77d988b3fdb10451efc830f04e65c9c3ba5ac094..870442defbccf2cc600fc2a62b76b2c8df5192ed 100644 --- a/Framework/PythonInterface/mantid/geometry/src/Exports/ReferenceFrame.cpp +++ b/Framework/PythonInterface/mantid/geometry/src/Exports/ReferenceFrame.cpp @@ -7,7 +7,6 @@ #include <boost/python/register_ptr_to_python.hpp> using Mantid::Geometry::ReferenceFrame; -using Mantid::Kernel::V3D; using namespace boost::python; GET_POINTER_SPECIALIZATION(ReferenceFrame) diff --git a/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp b/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp index d5e385ed2bcf5036061c0e62da2121dfbe7615ec..b42bf2eec70b141e360c82a50af67b72c99827f0 100644 --- a/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp +++ b/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp @@ -13,7 +13,6 @@ using Mantid::Geometry::Group; using Mantid::Geometry::SpaceGroup; -using Mantid::Geometry::SymmetryOperation; using namespace boost::python; GET_POINTER_SPECIALIZATION(SpaceGroup) diff --git a/Framework/PythonInterface/mantid/kernel/src/Environment/ErrorHandling.cpp b/Framework/PythonInterface/mantid/kernel/src/Environment/ErrorHandling.cpp index 82053974103308bd4f1377d8930be5165a8a6bb9..8c991c048a3c575588a9188c94f5997633a4cb17 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Environment/ErrorHandling.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Environment/ErrorHandling.cpp @@ -12,7 +12,6 @@ #include <stdexcept> using boost::python::extract; -using boost::python::object; namespace Mantid { namespace PythonInterface { diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/Atom.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/Atom.cpp index 1d0de62fccedce90a55c017f2639e693ad901f16..b74e5bcf1eff465f855a438ea5ff77897b81d661 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/Atom.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/Atom.cpp @@ -9,7 +9,6 @@ using Mantid::PhysicalConstants::Atom; using Mantid::PhysicalConstants::getAtom; -using Mantid::PhysicalConstants::NeutronAtom; using namespace boost::python; namespace { diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/Material.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/Material.cpp index 039f55eac536623391d83754311a32e6582b89c2..2c223e962acc9f9342263be1d9b008e13cbb5390 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/Material.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/Material.cpp @@ -10,7 +10,6 @@ #include <boost/python/register_ptr_to_python.hpp> using Mantid::Kernel::Material; -using Mantid::PhysicalConstants::Atom; using Mantid::PhysicalConstants::NeutronAtom; using namespace boost::python; diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/Property.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/Property.cpp index 67461ed0099436726cc76059b9263cb29967a39f..6afa71964e13396ba4f08e17aa11adc007370e4b 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/Property.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/Property.cpp @@ -20,9 +20,7 @@ using Mantid::Kernel::Property; using Mantid::Kernel::Direction; -using Mantid::Kernel::AbstractInstantiator; using Mantid::PythonInterface::std_vector_exporter; -using Mantid::PythonInterface::PythonObjectInstantiator; using namespace boost::python; GET_POINTER_SPECIALIZATION(Property) diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/PropertyManagerProperty.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/PropertyManagerProperty.cpp index c5e916f70564535859af4346bd338591477bbc43..2a04f3d761ffc5e8b1154f1e81290b7e8474e278 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/PropertyManagerProperty.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/PropertyManagerProperty.cpp @@ -15,7 +15,6 @@ using Mantid::Kernel::Direction; using Mantid::Kernel::PropertyManagerProperty; using Mantid::Kernel::PropertyManager_sptr; -using Mantid::Kernel::PropertyWithValue; using Mantid::PythonInterface::PropertyWithValueExporter; namespace Registry = Mantid::PythonInterface::Registry; using namespace boost::python; diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/Quat.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/Quat.cpp index 8b5bf0a8154efa8840f3f46128692fe3e3c0e28e..3781c0999db8612339257c99050cf155e31becff 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/Quat.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/Quat.cpp @@ -12,7 +12,6 @@ using Mantid::Kernel::V3D; using boost::python::arg; using boost::python::init; using boost::python::class_; -using boost::python::self; using boost::python::copy_const_reference; using boost::python::return_value_policy; diff --git a/Framework/PythonInterface/mantid/kernel/src/Registry/MappingTypeHandler.cpp b/Framework/PythonInterface/mantid/kernel/src/Registry/MappingTypeHandler.cpp index 0ef7925eae536abbe9b4cd6149a6585d754de050..805a3a38bb0b21236ed6aa91d2075f3c76f13fe0 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Registry/MappingTypeHandler.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Registry/MappingTypeHandler.cpp @@ -9,15 +9,10 @@ #include <boost/python/dict.hpp> using boost::python::dict; -using boost::python::handle; -using boost::python::len; using boost::python::object; namespace Mantid { -using Kernel::Direction; -using Kernel::PropertyManager; using Kernel::PropertyManager_sptr; -using Kernel::PropertyWithValue; namespace PythonInterface { namespace Registry { diff --git a/Framework/ScriptRepository/src/ScriptRepositoryImpl.cpp b/Framework/ScriptRepository/src/ScriptRepositoryImpl.cpp index e06f2da0426e1509b75454ba941b77b6a63cf964..9b4842cde20247b082d1c09e6d7e0d1d6a2af99f 100644 --- a/Framework/ScriptRepository/src/ScriptRepositoryImpl.cpp +++ b/Framework/ScriptRepository/src/ScriptRepositoryImpl.cpp @@ -14,8 +14,6 @@ using Mantid::Kernel::DateAndTime; using Mantid::Kernel::Logger; using Mantid::Kernel::ConfigService; using Mantid::Kernel::ConfigServiceImpl; -using Mantid::Kernel::ProxyInfo; -using Mantid::Kernel::NetworkProxy; // from poco #include <Poco/Path.h> diff --git a/MantidPlot/src/Mantid/MantidCurve.cpp b/MantidPlot/src/Mantid/MantidCurve.cpp index b2582bec54df35c57200e893fa3cc2e448eb6d57..e2bed8788b8e8cbc3fc1482efe41bcf3dfee3cfe 100644 --- a/MantidPlot/src/Mantid/MantidCurve.cpp +++ b/MantidPlot/src/Mantid/MantidCurve.cpp @@ -12,7 +12,6 @@ #include "ErrorBarSettings.h" #include "MantidKernel/CPUTimer.h" -using Mantid::Kernel::CPUTimer; /** Constructor diff --git a/MantidPlot/src/Mantid/MantidPlotUtilities.cpp b/MantidPlot/src/Mantid/MantidPlotUtilities.cpp index a68b2d41bce7d7cff51443f0b13a48422687c645..5a4bfeeae15bd689214269e1f33af723fc5817e9 100644 --- a/MantidPlot/src/Mantid/MantidPlotUtilities.cpp +++ b/MantidPlot/src/Mantid/MantidPlotUtilities.cpp @@ -12,9 +12,6 @@ using Mantid::API::WorkspaceGroup_const_sptr; using Mantid::API::WorkspaceGroup_sptr; using Mantid::API::MatrixWorkspace_const_sptr; using Mantid::API::MatrixWorkspace_sptr; -using Mantid::API::MatrixWorkspace; -using Mantid::API::ExperimentInfo; -using Mantid::HistogramData::Histogram; /**Compare two CurveSpecs to sort according to log value and * if equal by workspace index. diff --git a/MantidPlot/src/Mantid/MantidSurfaceContourPlotGenerator.cpp b/MantidPlot/src/Mantid/MantidSurfaceContourPlotGenerator.cpp index 71eb1e9904a7b3bed0daafb4b473fae5760603b7..b30568c85ee417eea582607ee6b5aa9aced51759 100644 --- a/MantidPlot/src/Mantid/MantidSurfaceContourPlotGenerator.cpp +++ b/MantidPlot/src/Mantid/MantidSurfaceContourPlotGenerator.cpp @@ -14,7 +14,6 @@ using Mantid::API::WorkspaceGroup_sptr; using Mantid::API::MatrixWorkspace_const_sptr; using Mantid::API::MatrixWorkspace_sptr; using Mantid::API::MatrixWorkspace; -using Mantid::API::ExperimentInfo; using Mantid::HistogramData::Histogram; /** diff --git a/MantidPlot/src/Mantid/MantidUI.cpp b/MantidPlot/src/Mantid/MantidUI.cpp index 22a3a99418494833fc425845daa4e3975f971269..9b584025b7bb5ea6f01bbe78511775d4555f1db8 100644 --- a/MantidPlot/src/Mantid/MantidUI.cpp +++ b/MantidPlot/src/Mantid/MantidUI.cpp @@ -103,7 +103,6 @@ using namespace Mantid::API; using namespace MantidQt::API; using namespace MantidQt::MantidWidgets; using MantidQt::MantidWidgets::MantidWSIndexDialog; -using MantidQt::MantidWidgets::MantidTreeWidget; using Mantid::Kernel::DateAndTime; using MantidQt::SliceViewer::SliceViewerWindow; diff --git a/qt/scientific_interfaces/Indirect/DensityOfStates.cpp b/qt/scientific_interfaces/Indirect/DensityOfStates.cpp index 8b5920230f2e105603cb129426d3c00d108cf76d..f458a80e6da41a146f8faca1228d0fd6fd799fe4 100644 --- a/qt/scientific_interfaces/Indirect/DensityOfStates.cpp +++ b/qt/scientific_interfaces/Indirect/DensityOfStates.cpp @@ -9,7 +9,6 @@ #include <QString> using namespace Mantid::API; -using MantidQt::API::BatchAlgorithmRunner; namespace { Mantid::Kernel::Logger g_log("DensityOfStates"); diff --git a/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp b/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp index f5e710d7fcf73df34e2acb305c2e9332e89a19ab..6677fe9a598f11101d796066561d664536ac9962 100644 --- a/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp +++ b/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp @@ -4,7 +4,6 @@ #include "MantidQtWidgets/Common/UserSubWindow.h" #include "IndirectBayesTab.h" -using MantidQt::MantidWidgets::RangeSelector; namespace MantidQt { namespace CustomInterfaces { diff --git a/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp b/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp index 25a64473aa6b1a87b7830c4931f5accc527220c3..3382c857a8bfe7ac521c09c1a1103b9138ab83d6 100644 --- a/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp +++ b/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp @@ -23,7 +23,6 @@ namespace MantidQt { namespace CustomInterfaces { namespace MDF { -using Mantid::Kernel::Math::StatisticType; /// Constructor. DataController::DataController(MultiDatasetFit *parent, QTableWidget *dataTable) diff --git a/qt/scientific_interfaces/MultiDatasetFit/MultiDatasetFit.cpp b/qt/scientific_interfaces/MultiDatasetFit/MultiDatasetFit.cpp index d036983a5da54a95b42dc37cacb5566aa54b6dcc..a563cec425ff709cd9c8d03cbc5f96330a549af7 100644 --- a/qt/scientific_interfaces/MultiDatasetFit/MultiDatasetFit.cpp +++ b/qt/scientific_interfaces/MultiDatasetFit/MultiDatasetFit.cpp @@ -29,7 +29,6 @@ Mantid::Kernel::Logger g_log("MultiDatasetFit"); namespace MantidQt { namespace CustomInterfaces { -using Mantid::Kernel::Math::StatisticType; // Register the class with the factory DECLARE_SUBWINDOW(MultiDatasetFit) diff --git a/qt/widgets/instrumentview/src/CompAssemblyActor.cpp b/qt/widgets/instrumentview/src/CompAssemblyActor.cpp index 197d992055d3b4cabfcd08c6ae1d445438755057..cffee32477a9d62bb411263116a6905c7135c8d6 100644 --- a/qt/widgets/instrumentview/src/CompAssemblyActor.cpp +++ b/qt/widgets/instrumentview/src/CompAssemblyActor.cpp @@ -19,7 +19,6 @@ #include <cfloat> -using Mantid::Geometry::Instrument; using Mantid::Geometry::IComponent; using Mantid::Geometry::IObjComponent; using Mantid::Geometry::ICompAssembly; @@ -27,8 +26,6 @@ using Mantid::Geometry::ObjCompAssembly; using Mantid::Geometry::ComponentID; using Mantid::Geometry::RectangularDetector; using Mantid::Geometry::StructuredDetector; -using Mantid::Geometry::IDetector; -using Mantid::Geometry::Object; namespace MantidQt { namespace MantidWidgets { diff --git a/qt/widgets/instrumentview/src/InstrumentTreeModel.cpp b/qt/widgets/instrumentview/src/InstrumentTreeModel.cpp index 422c9bf7545b4a8a3f234bfe6af922e9f819ebd6..73c8037b4b1ee8b27b55bee3d545a3977bbb9bc2 100644 --- a/qt/widgets/instrumentview/src/InstrumentTreeModel.cpp +++ b/qt/widgets/instrumentview/src/InstrumentTreeModel.cpp @@ -8,7 +8,6 @@ #include "MantidGeometry/Instrument.h" #include "MantidAPI/MatrixWorkspace.h" -using Mantid::Geometry::Instrument; using Mantid::Geometry::IComponent; using Mantid::Geometry::ICompAssembly; using Mantid::Geometry::IObjComponent; diff --git a/qt/widgets/instrumentview/src/UnwrappedSurface.cpp b/qt/widgets/instrumentview/src/UnwrappedSurface.cpp index e57e273cca4156ed5455bbd8133b802055a438e9..31432d38bf47dc5e7ae98d9821348109560f5ddf 100644 --- a/qt/widgets/instrumentview/src/UnwrappedSurface.cpp +++ b/qt/widgets/instrumentview/src/UnwrappedSurface.cpp @@ -24,7 +24,6 @@ #include "MantidKernel/Exception.h" using namespace Mantid::Geometry; -using Mantid::Kernel::Exception::NotFoundError; namespace MantidQt { namespace MantidWidgets { diff --git a/qt/widgets/refdetectorview/src/RefMatrixWSImageView.cpp b/qt/widgets/refdetectorview/src/RefMatrixWSImageView.cpp index d4f144629f9c860bfc911d428b9e91827695d5c6..310ec2a296ca314e038175098f8cd51bc27092b5 100644 --- a/qt/widgets/refdetectorview/src/RefMatrixWSImageView.cpp +++ b/qt/widgets/refdetectorview/src/RefMatrixWSImageView.cpp @@ -9,8 +9,6 @@ using Mantid::API::MatrixWorkspace_sptr; using namespace MantidQt; using namespace RefDetectorViewer; -using Mantid::API::WorkspaceProperty; -using Mantid::API::Algorithm; using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/qt/widgets/sliceviewer/src/SliceViewer.cpp b/qt/widgets/sliceviewer/src/SliceViewer.cpp index a10123cd15c1f694be34bf92376fc8f9cb6380df..ee8c1fa0eeb7e26352247d5cac9281476caf19b7 100644 --- a/qt/widgets/sliceviewer/src/SliceViewer.cpp +++ b/qt/widgets/sliceviewer/src/SliceViewer.cpp @@ -66,8 +66,6 @@ using Poco::XML::Document; using Poco::XML::Element; using Poco::XML::Node; using Poco::XML::NodeList; -using Poco::XML::NodeIterator; -using Poco::XML::NodeFilter; using MantidQt::API::AlgorithmRunner; namespace MantidQt {