Fix build failures on Windows by WMayer

Patch request from WMayer to fix build failures on Windows.
This commit is contained in:
balazs-bamer
2014-12-24 10:06:18 +01:00
committed by wmayer
parent 00f245efdd
commit 14014bc61a
5 changed files with 9 additions and 25 deletions

View File

@@ -63,8 +63,6 @@ App::DocumentObjectExecReturn *Cut::execute(void)
//Perform error checking
bool res;
//Begin Construction
try{
@@ -109,7 +107,7 @@ App::DocumentObjectExecReturn *Cut::execute(void)
return new App::DocumentObjectExecReturn("Resulting shape is null");
}
this->Shape.setValue(aCutShape);
return 0;
} //End Try
catch (Standard_Failure) {
Handle_Standard_Failure e = Standard_Failure::Caught();