X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultBody.cpp;h=1be002979bd6cb54781fe94ece9bbb274e9b5292;hb=a41d2ac2fd8cd9425eebdcfd98adf6c27950ef87;hp=4f442842e795195bbbd0763b7e8d3c2986ae9523;hpb=2dd75e4dc2ae0ed886f21db6122230e03d8a3e97;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultBody.cpp b/src/Model/Model_ResultBody.cpp index 4f442842e..1be002979 100644 --- a/src/Model/Model_ResultBody.cpp +++ b/src/Model/Model_ResultBody.cpp @@ -125,9 +125,9 @@ ResultBodyPtr Model_ResultBody::subResult(const int theIndex, bool forTree) cons return mySubs.at(theIndex); } -bool Model_ResultBody::isSub(ObjectPtr theObject, int& theIndex) const +bool Model_ResultBody::isSub(ObjectPtr theResult, int& theIndex) const { - std::map::const_iterator aFound = mySubsMap.find(theObject); + std::map::const_iterator aFound = mySubsMap.find(theResult); if (aFound != mySubsMap.end()) { theIndex = aFound->second; return true;