From cbaf9928eeaec7971ff81f31bd1d3df7564b019d Mon Sep 17 00:00:00 2001 From: Nick Draper Date: Thu, 12 Feb 2015 09:46:12 +0000 Subject: [PATCH] re #11066 Dev testing done on windows at ISIS --- .../Framework/ICat/src/CatalogDownloadDataFiles.cpp | 2 +- Code/Mantid/Framework/ICat/src/CatalogPublish.cpp | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Code/Mantid/Framework/ICat/src/CatalogDownloadDataFiles.cpp b/Code/Mantid/Framework/ICat/src/CatalogDownloadDataFiles.cpp index 0c79334d8f20..45180e755e17 100644 --- a/Code/Mantid/Framework/ICat/src/CatalogDownloadDataFiles.cpp +++ b/Code/Mantid/Framework/ICat/src/CatalogDownloadDataFiles.cpp @@ -87,7 +87,7 @@ void CatalogDownloadDataFiles::exec() { // Can we open the file (Hence, have access to the archives?) std::ifstream hasAccessToArchives(fileLocation.c_str()); - if (hasAccessToArchives) { + if (hasAccessToArchives) { g_log.information() << "File (" << *fileName << ") located in archives (" << fileLocation << ")." << std::endl; fileLocations.push_back(fileLocation); diff --git a/Code/Mantid/Framework/ICat/src/CatalogPublish.cpp b/Code/Mantid/Framework/ICat/src/CatalogPublish.cpp index 13592e7aefc3..26b3a068d428 100644 --- a/Code/Mantid/Framework/ICat/src/CatalogPublish.cpp +++ b/Code/Mantid/Framework/ICat/src/CatalogPublish.cpp @@ -8,18 +8,9 @@ #include "MantidDataObjects/Workspace2D.h" #include "MantidKernel/InternetHelper.h" #include "MantidKernel/MandatoryValidator.h" +#include "MantidKernel/Exception.h" -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include #include #include