1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Fix compilation errors.

This commit is contained in:
ika
2015-10-22 13:41:35 +03:00
committed by aba
parent c5e030c909
commit 6fa0f312c6
3 changed files with 5 additions and 1 deletions

View File

@@ -309,8 +309,12 @@ Handle(XCAFDimTolObjects_DatumObject) XCAFDoc_Datum::GetObject() const
{
anObj->IsDatumTarget((aIsDTarget->Get() != 0));
}
else
{
return anObj;
}
if (aIsDTarget != 0)
if (aIsDTarget->Get() != 0)
{
Handle(TDataStd_Integer) aDTargetType;
if(Label().FindChild(ChildLab_DTargetType).FindAttribute(TDataStd_Integer::GetID(), aDTargetType))