From: asl Date: Thu, 17 Apr 2008 11:33:07 +0000 (+0000) Subject: PAL19582 : crash on apply X-Git-Tag: V5_0_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9fc10eaaa69c6203f5f18f25b2a81700cdcac84;p=modules%2Fsmesh.git PAL19582 : crash on apply --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 4dadd0db5..e3a58cdff 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -1004,9 +1004,9 @@ void SMESHGUI_FilterTable::GetCriterion (const int theRow, } else { - theCriterion.ThresholdStr = aTable->text(theRow, 2).toLatin1().data(); + theCriterion.ThresholdStr = CORBA::string_dup( aTable->text(theRow, 2).toLatin1().constData() ); if ( aCriterionType != SMESH::FT_RangeOfIds ) - theCriterion.ThresholdID = aTable->text( theRow, 5 ).toLatin1().data(); + theCriterion.ThresholdID = CORBA::string_dup( aTable->text( theRow, 5 ).toLatin1().constData() ); } QTableWidgetItem* anItem = aTable->item(theRow, 0);