From: eap Date: Wed, 22 Oct 2014 12:37:33 +0000 (+0400) Subject: 52542: TC7.5.0: Hypothesis "Distribution of layers" is missed X-Git-Tag: V7_5_0b1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=add89bac1934e88f341219fa1cf237fe92fe9883 52542: TC7.5.0: Hypothesis "Distribution of layers" is missed --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index b54df5d96..151328f9b 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -404,8 +404,8 @@ bool SMESHGUI_MeshOp::isSubshapeOk() const //================================================================================ /*! - * \brief Return name of the algorithm that does not support submeshes and makes - * submesh creation useless + * \brief Return name of the algorithm that does not support sub-meshes and makes + * sub-mesh creation useless * \retval char* - string is to be deleted!!! */ //================================================================================ diff --git a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx index db420a565..cb27cf9b4 100644 --- a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx +++ b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx @@ -161,8 +161,9 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&, for ( int i = 0; i < NB_ATTRIBUTES; ++i ) { QString aStr = atts.value( name[i] ); if ( !aStr.isEmpty() ) { - aStr = aStr.trimmed(); - attr[ i ] = aStr.split( ',', QString::SkipEmptyParts ); + attr[i] = aStr.split( ',', QString::SkipEmptyParts ); + for ( int j = 0; j < attr[i].count(); ++j ) + attr[i][j] = attr[i][j].trimmed(); } }