1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Add missing dependences to EXTERNLIB

This commit is contained in:
kgv
2017-05-29 12:08:38 +03:00
committed by snn
parent ed9b49bac1
commit aef69abba1
4 changed files with 9 additions and 3 deletions

View File

@@ -11,4 +11,5 @@ TKHLR
TKService
TKGeomAlgo
TKV3d
TKSTL
TKSTL
TKShHealing

View File

@@ -24,3 +24,4 @@ TKDCAF
TKViewerTest
TKBinXCAF
TKXmlXCAF
TKVRML

View File

@@ -33,6 +33,10 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlData_IndexedLineSet,VrmlData_Geometry)
#pragma warning (disable:4996)
#endif
namespace
{
static Handle(TopoDS_TShape) THE_NULL_SHAPE;
}
//=======================================================================
//function : GetColor
@@ -82,7 +86,7 @@ const Handle(TopoDS_TShape)& VrmlData_IndexedLineSet::TShape ()
// }
// myTShape = aWire.TShape();
//}
return Handle(TopoDS_TShape)();
return THE_NULL_SHAPE;
}
//=======================================================================

View File

@@ -114,7 +114,7 @@ XCAFDoc_NoteBinData::Set(const TCollection_ExtendedString& theTitle,
if (theFile.Size() > (Standard_Size)IntegerLast())
return Standard_False;
myData.reset(new TColStd_HArray1OfByte(1, (Standard_Integer)theFile.Size()));
myData.reset(new TColStd_HArray1OfByte(1, static_cast<Standard_Integer>(theFile.Size())));
Standard_Integer nbReadBytes = 0;
theFile.Read((Standard_Address)&myData->First(), myData->Length(), nbReadBytes);
if (nbReadBytes < myData->Length())