From 08b34df80f3ea4f962f14fccab8a017485816efb Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 29 Mar 2012 12:38:39 +0000 Subject: [PATCH] Fix for the bug "IPAL22873: Export table into csv format - first column with abscissa is missed" --- src/VISU_I/VISU_Table_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.39.2