1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

Add missing dependences to EXTERNLIB

This commit is contained in:
kgv 2017-05-29 12:08:38 +03:00 committed by ema
parent 3a90fab251
commit 91c71dd97c
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

@ -92,7 +92,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())