Skip to content

Commit f9e395d

Browse files
committed
Correct exception type (squash on merge)
1 parent 021c7d0 commit f9e395d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mod/Spreadsheet/App/Sheet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Sheet::~Sheet()
107107
try {
108108
clearAll();
109109
}
110-
catch (boost::wrapexcept<boost::regex_error>&) {
110+
catch (boost::regex_error&) {
111111
// Don't let an exception propagate out of a destructor (calls terminate())
112112
Base::Console().Error(
113113
"clearAll() resulted in an exception when deleting the spreadsheet : %s\n",

0 commit comments

Comments
 (0)