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

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