diff --git a/src/Base/Console.h b/src/Base/Console.h index b2bd857e90..03f41d07ae 100644 --- a/src/Base/Console.h +++ b/src/Base/Console.h @@ -1169,7 +1169,17 @@ template(notifiername, format); diff --git a/src/Mod/Spreadsheet/App/Sheet.cpp b/src/Mod/Spreadsheet/App/Sheet.cpp index b810357488..55cf1b1ba5 100644 --- a/src/Mod/Spreadsheet/App/Sheet.cpp +++ b/src/Mod/Spreadsheet/App/Sheet.cpp @@ -24,6 +24,7 @@ #ifndef _PreComp_ #include +#include #include #include #include @@ -107,7 +108,7 @@ Sheet::~Sheet() try { clearAll(); } - catch (boost::wrapexcept&) { + catch (boost::regex_error&) { // Don't let an exception propagate out of a destructor (calls terminate()) Base::Console().Error( "clearAll() resulted in an exception when deleting the spreadsheet : %s\n",