Because GetCurrentRow returns 0, the Group started from Row number 2. While there is a solution to fix GetCurrentRow, it seemed likely to affect other code, so I decided to get the row position the same way as bHeader. This change also resolves tdf#102154. Change-Id: Iadf140082e8dda98aa959baaa27226a19c30da9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204815 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins