diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-09-11 17:02:55 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-09-14 15:38:25 +0200 |
commit | e0fa93ded694bd7df3c66b9c14fd75e21bdd4bb0 (patch) | |
tree | fe9d1564f9e21a36fcacc3167e97b701230c47d7 | |
parent | 854a6dc3aad8388d0627527c236d722d0eb1cf4f (diff) |
tdf#112328: Pivot table, XLS: Popup button for column fields is missing
...after round trip in Calc
Wrong heading row was exported.
Change-Id: I410eeeff7d7af408de1ea8128b6b21ac0cc76ea5
Reviewed-on: https://gerrit.libreoffice.org/42175
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
(cherry picked from commit bc9714fefb2dd2ad55a92aaacb6b246f354ed2c0)
Reviewed-on: https://gerrit.libreoffice.org/42223
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | sc/source/filter/excel/xepivot.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index 34c5bc530e43..9876c78acc5f 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -1429,9 +1429,9 @@ void XclExpPivotTable::Finalize() maPTInfo.mnDataRows = rnXclRow2 - rnDataXclRow + 1; // first heading - maPTInfo.mnFirstHeadRow = rnXclRow1; + maPTInfo.mnFirstHeadRow = rnXclRow1 + 1; if (bExtraHeaderRow) - maPTInfo.mnFirstHeadRow += 2; + maPTInfo.mnFirstHeadRow += 1; } // records ---------------------------------------------------------------- |