Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a258642
)
IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study
author
dmv
<dmv@opencascade.com>
Thu, 22 Oct 2009 07:09:09 +0000
(07:09 +0000)
committer
dmv
<dmv@opencascade.com>
Thu, 22 Oct 2009 07:09:09 +0000
(07:09 +0000)
src/GEOM/GEOM_Engine.cxx
patch
|
blob
|
history
diff --git
a/src/GEOM/GEOM_Engine.cxx
b/src/GEOM/GEOM_Engine.cxx
index 7a572ba1fca7ce2de164d043bb8f22452041c04f..f239246ad98af8e549f0a1d2cce76c76ba86216e 100644
(file)
--- a/
src/GEOM/GEOM_Engine.cxx
+++ b/
src/GEOM/GEOM_Engine.cxx
@@
-370,7
+370,7
@@
Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
//=============================================================================
bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
{
- if (
!theObject
) return false;
+ if (
theObject.IsNull()
) return false;
int aDocID = theObject->GetDocID();