From: eap Date: Fri, 12 Dec 2014 09:18:31 +0000 (+0300) Subject: 22752: [EDF] Provide explicit feedback on what has been done by Shape Processing... X-Git-Tag: V7_6_0a1~60^2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c85f63b521d846e843818bc1173a0f4586b3b7c1;p=modules%2Fgeom.git 22752: [EDF] Provide explicit feedback on what has been done by Shape Processing operation Cut off "Unknown message invoked with the keyword " at the message beginning --- diff --git a/src/GEOM_I/GEOM_IHealingOperations_i.cc b/src/GEOM_I/GEOM_IHealingOperations_i.cc index 53707cac8..4a21bbbef 100644 --- a/src/GEOM_I/GEOM_IHealingOperations_i.cc +++ b/src/GEOM_I/GEOM_IHealingOperations_i.cc @@ -655,6 +655,13 @@ GEOM::ModifStatistics* GEOM_IHealingOperations_i::GetStatistics() { statsVar[ i ].name = modif->myModif.c_str(); statsVar[ i ].count = modif->myCount; + + // Cut off "Unknown message invoked with the keyword " at the beginning + const char* toRm = "Unknown message invoked with the keyword "; + const size_t lenToRm = strlen( toRm ); + if ( modif->myModif.size() > lenToRm && + modif->myModif.compare( 0, lenToRm, toRm ) == 0 ) + statsVar[ i ].name = modif->myModif.substr( lenToRm ).c_str(); } return statsVar._retn();