From e9fc10eaaa69c6203f5f18f25b2a81700cdcac84 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 17 Apr 2008 11:33:07 +0000 Subject: [PATCH] PAL19582 : crash on apply --- src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2