From: apo Date: Sun, 25 Nov 2007 08:05:19 +0000 (+0000) Subject: Partial fix for Bug IPAL17732 X-Git-Tag: mergefrom_MERGE_MULTIPR_EVOLUTION_07-Dec-07~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65bcb99bbec35a2778cd4fab55535c2143b061f7;p=modules%2Fvisu.git Partial fix for Bug IPAL17732 TC71: REGR: Names of table and first column are wrong --- diff --git a/src/VISU_I/VISU_CutLines_i.cc b/src/VISU_I/VISU_CutLines_i.cc index 16e05f94..06f6f87a 100644 --- a/src/VISU_I/VISU_CutLines_i.cc +++ b/src/VISU_I/VISU_CutLines_i.cc @@ -644,10 +644,9 @@ VISU::CutLines_i typedef map TXYMapCont; typedef map TLineIdCont; - QString aTitle; - aTitle.sprintf("%s",GetCTitle().c_str()); + QString aTitle( GetScalarBarTitle().c_str() ); aTitle = aTitle.simplifyWhiteSpace(); - aTableOfReal->SetTitle(aTitle.latin1()); + aTableOfReal->SetTitle( aTitle.latin1() ); int iLineEnd = myCutLinesPL->GetAppendPolyData()->GetNumberOfInputConnections(0); if(MYDEBUG) MESSAGE("CutPlanes_i::BuildTableOfReal iLineEnd = "<