diff --git a/MantidPlot/src/ProjectRecovery.cpp b/MantidPlot/src/ProjectRecovery.cpp
index 3b73fc805a4c1e91fb0a99889545fb9d6f2a73c0..e8e689eeb220f0ab8aa243258240ace1b1ee7027 100644
--- a/MantidPlot/src/ProjectRecovery.cpp
+++ b/MantidPlot/src/ProjectRecovery.cpp
@@ -335,7 +335,7 @@ bool ProjectRecovery::openInEditor(const Poco::Path &inputFolder) {
 void ProjectRecovery::projectSavingThreadWrapper() {
   try {
     projectSavingThread();
-  } catch (Mantid::API::Algorithm::CancelException) {
+  } catch (Mantid::API::Algorithm::CancelException &) {
     return;
   } catch (std::exception const &e) {
     std::string preamble("Project recovery has stopped. Please report"