Changed all catch types to references for polymorphic exceptions.
This commit is contained in:
@@ -793,7 +793,7 @@ DocumentObjectExecReturn *Sheet::execute(void)
|
||||
++i;
|
||||
}
|
||||
}
|
||||
catch (std::exception) {
|
||||
catch (std::exception&) {
|
||||
// Cycle detected; flag all with errors
|
||||
|
||||
std::map<CellAddress, Vertex>::const_iterator i = VertexList.begin();
|
||||
|
||||
Reference in New Issue
Block a user