From: ana Date: Thu, 29 Mar 2012 12:38:39 +0000 (+0000) Subject: Fix for the bug "IPAL22873: Export table into csv format - first column with abscissa... X-Git-Tag: V6_main_20120405 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08b34df80f3ea4f962f14fccab8a017485816efb;p=modules%2Fvisu.git Fix for the bug "IPAL22873: Export table into csv format - first column with abscissa is missed" --- diff --git a/src/VISU_I/VISU_Table_i.cc b/src/VISU_I/VISU_Table_i.cc index bf18fa05..e19f6e6c 100644 --- a/src/VISU_I/VISU_Table_i.cc +++ b/src/VISU_I/VISU_Table_i.cc @@ -1940,7 +1940,7 @@ template bool ExportTableToFile(const TTableAttr& aTabAttr, QString aValue; for (int j = 1; j <= aColNb; j++) { QString aLine = ""; - if(aTabAttr->HasValue(j,1)) { + if(aTabAttr->HasValue(1,j)) { aLine = aValue.sprintf("%.16g",(double)aTabAttr->GetValue(1,j)); } for (int i = 2; i <= aRowsNb; i++) {