From 91c71dd97c11cf7475495b58721df1daf52c965d Mon Sep 17 00:00:00 2001 From: kgv Date: Mon, 29 May 2017 12:08:38 +0300 Subject: [PATCH] Add missing dependences to EXTERNLIB --- src/TKVRML/EXTERNLIB | 3 ++- src/TKXDEDRAW/EXTERNLIB | 1 + src/VrmlData/VrmlData_IndexedLineSet.cxx | 6 +++++- src/XCAFDoc/XCAFDoc_NoteBinData.cxx | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/TKVRML/EXTERNLIB b/src/TKVRML/EXTERNLIB index ed69fdfbd8..5000908dbf 100755 --- a/src/TKVRML/EXTERNLIB +++ b/src/TKVRML/EXTERNLIB @@ -11,4 +11,5 @@ TKHLR TKService TKGeomAlgo TKV3d -TKSTL \ No newline at end of file +TKSTL +TKShHealing diff --git a/src/TKXDEDRAW/EXTERNLIB b/src/TKXDEDRAW/EXTERNLIB index 85edbded0e..a6a7b608d8 100755 --- a/src/TKXDEDRAW/EXTERNLIB +++ b/src/TKXDEDRAW/EXTERNLIB @@ -24,3 +24,4 @@ TKDCAF TKViewerTest TKBinXCAF TKXmlXCAF +TKVRML diff --git a/src/VrmlData/VrmlData_IndexedLineSet.cxx b/src/VrmlData/VrmlData_IndexedLineSet.cxx index bd2642ab5f..f9e5dbe074 100644 --- a/src/VrmlData/VrmlData_IndexedLineSet.cxx +++ b/src/VrmlData/VrmlData_IndexedLineSet.cxx @@ -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; } //======================================================================= diff --git a/src/XCAFDoc/XCAFDoc_NoteBinData.cxx b/src/XCAFDoc/XCAFDoc_NoteBinData.cxx index beb638f83d..343098ad1c 100644 --- a/src/XCAFDoc/XCAFDoc_NoteBinData.cxx +++ b/src/XCAFDoc/XCAFDoc_NoteBinData.cxx @@ -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(theFile.Size()))); Standard_Integer nbReadBytes = 0; theFile.Read((Standard_Address)&myData->First(), myData->Length(), nbReadBytes); if (nbReadBytes < myData->Length())