Loleaflet - Calc: beyond row 65535 it is not possibile to resize a row

The row parameter type was an unsigned short.

Change-Id: I81bfd5211ebc6c380014d0cd2a2b1d3b8c252749
Reviewed-on: https://gerrit.libreoffice.org/36086
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:
Marco Cecchetti 2017-04-02 20:50:29 +02:00 committed by Jan Holesovsky
parent 878eef6cb4
commit 6215471e2e

View file

@ -275,7 +275,7 @@ L.Control.RowHeader = L.Control.Header.extend({
if (item.height != distance.y) {
var command = {
Row: {
type: 'unsigned short',
type: 'long',
value: item.parentNode && item.parentNode.nextSibling &&
L.DomUtil.getStyle(item.parentNode.nextSibling, 'display') === 'none' ? item.row + 1 : item.row
},