X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FVrmlAPI%2FVrmlAPI.cxx;h=03f378f46162447f1c309b06e1a20ba5f40f9b75;hb=c42ef16585fc1f12abf582b48796343af49ad56f;hpb=1f44d29a0fc71e8f34aa8d221d34883624c1e26a diff --git a/src/VrmlAPI/VrmlAPI.cxx b/src/VrmlAPI/VrmlAPI.cxx index 2cd2158a78..03f378f461 100644 --- a/src/VrmlAPI/VrmlAPI.cxx +++ b/src/VrmlAPI/VrmlAPI.cxx @@ -18,7 +18,7 @@ #include #include -void VrmlAPI::Write(const TopoDS_Shape& aShape, const Standard_CString aFileName, const Standard_Integer aVersion) { +Standard_Boolean VrmlAPI::Write(const TopoDS_Shape& aShape, const Standard_CString aFileName, const Standard_Integer aVersion) { VrmlAPI_Writer writer; - writer.Write(aShape, aFileName, aVersion); + return writer.Write(aShape, aFileName, aVersion); }