Salome HOME
projects
/
modules
/
visu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for the bug "IPAL22873: Export table into csv format - first column with abscissa...
[modules/visu.git]
/
src
/
VISU_I
/
VISU_Table_i.cc
diff --git
a/src/VISU_I/VISU_Table_i.cc
b/src/VISU_I/VISU_Table_i.cc
index bf18fa0580758eccc7badbaf991f8cdeafa75726..e19f6e6c8ce5df2ae88766eb00be57bc76efbc33 100644
(file)
--- a/
src/VISU_I/VISU_Table_i.cc
+++ b/
src/VISU_I/VISU_Table_i.cc
@@
-1940,7
+1940,7
@@
template<class TTableAttr> 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++) {