Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image positioning by two points.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImportBathymetryOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx
b/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx
index d902c7d397bd0317de7103334d3f7852741bb9ec..2654523a0c8b6a0f4ec1a566d6a6a5a01f293576 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx
@@
-106,7
+106,7
@@
bool HYDROGUI_ImportBathymetryOp::processApply( int& theUpdateFlags,
}
// check that there are no other objects with the same name in the document
}
// check that there are no other objects with the same name in the document
- Handle(HYDROData_
Object
) anObject = HYDROGUI_Tool::FindObjectByName( module(), anObjectName );
+ Handle(HYDROData_
Entity
) anObject = HYDROGUI_Tool::FindObjectByName( module(), anObjectName );
if ( !anObject.IsNull() )
{
theErrorMsg = tr( "OBJECT_EXISTS_IN_DOCUMENT" ).arg( anObjectName );
if ( !anObject.IsNull() )
{
theErrorMsg = tr( "OBJECT_EXISTS_IN_DOCUMENT" ).arg( anObjectName );