1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +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

@ -12,3 +12,4 @@ TKService
TKGeomAlgo TKGeomAlgo
TKV3d TKV3d
TKSTL TKSTL
TKShHealing

View File

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

View File

@ -33,6 +33,10 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlData_IndexedLineSet,VrmlData_Geometry)
#pragma warning (disable:4996) #pragma warning (disable:4996)
#endif #endif
namespace
{
static Handle(TopoDS_TShape) THE_NULL_SHAPE;
}
//======================================================================= //=======================================================================
//function : GetColor //function : GetColor
@ -82,7 +86,7 @@ const Handle(TopoDS_TShape)& VrmlData_IndexedLineSet::TShape ()
// } // }
// myTShape = aWire.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()) if (theFile.Size() > (Standard_Size)IntegerLast())
return Standard_False; 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; Standard_Integer nbReadBytes = 0;
theFile.Read((Standard_Address)&myData->First(), myData->Length(), nbReadBytes); theFile.Read((Standard_Address)&myData->First(), myData->Length(), nbReadBytes);
if (nbReadBytes < myData->Length()) if (nbReadBytes < myData->Length())