RNV: fix compilation error.

This commit is contained in:
inv 2013-06-04 10:41:10 +00:00
parent 4e96ddf603
commit fbbed6aae0

View File

@ -43,6 +43,8 @@
#include <BRep_Tool.hxx>
#include <BOPTools_AlgoTools.hxx>
#include <Basics_OCCTVersion.hxx>
//=======================================================================
//function : GEOMAlgo_WireSolid
//purpose :
@ -174,7 +176,11 @@ void GEOMAlgo_WireSolid::BuildResult()
}
else if (aNbPB==1) {
const Handle(BOPDS_PaveBlock)& aPB=aLPB.First();
#if OCC_VERSION_LARGE > 0x06050500
if (pDS->IsCommonBlock(aPB)) {
#else
if (aPB->IsCommonBlock()) {
#endif
aState=TopAbs_ON;
}
else{