]> OCCT Git - occt-copy.git/commitdiff
Add missing dependences to EXTERNLIB
authorkgv <kgv@opencascade.com>
Mon, 29 May 2017 09:08:38 +0000 (12:08 +0300)
committersnn <snn@opencascade.com>
Thu, 23 Aug 2018 09:04:34 +0000 (12:04 +0300)
src/TKVRML/EXTERNLIB
src/TKXDEDRAW/EXTERNLIB
src/VrmlData/VrmlData_IndexedLineSet.cxx
src/XCAFDoc/XCAFDoc_NoteBinData.cxx

index ed69fdfbd84c945fbc6ea285ecb1b0f2346d4d2a..5000908dbfa8b195d271b02787ad44dc7e346096 100755 (executable)
@@ -11,4 +11,5 @@ TKHLR
 TKService
 TKGeomAlgo
 TKV3d
-TKSTL
\ No newline at end of file
+TKSTL
+TKShHealing
index 85edbded0ef6ce80c36de8dbcb7e54ced3994b3d..a6a7b608d8378a5999f711d1eebe4bd5a412c82b 100755 (executable)
@@ -24,3 +24,4 @@ TKDCAF
 TKViewerTest
 TKBinXCAF
 TKXmlXCAF
+TKVRML
index bd2642ab5f2be155418eeb0ca5f082c890c89d33..f9e5dbe07461945369993065fd3794627aae9d67 100644 (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;
 }
 
 //=======================================================================
index c8bb3e3f980d041a067da8bf3e4619906b7879d3..1d3ae8934b6196f82b6a0276f9468dfa5baec10d 100644 (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())