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

The row parameter type was a unsigned short.

Change-Id: I2da1a96d60988e8f1efeb49f55032fb84a8b562b
Reviewed-on: https://gerrit.libreoffice.org/36087
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Marco Cecchetti
2017-04-02 20:46:41 +02:00
committed by Jan Holesovsky
parent a4712a3251
commit 1fd19d3e45
2 changed files with 2 additions and 2 deletions

View File

@@ -4352,7 +4352,7 @@ SfxInt32Item Row SID_RANGE_ROW
SfxUInt16Item RowHeight FID_ROW_HEIGHT
(SfxUInt16Item Row FN_PARAM_1,SfxUInt16Item Height FN_PARAM_2)
(SfxInt32Item Row FN_PARAM_1,SfxUInt16Item Height FN_PARAM_2)
[
AutoUpdate = FALSE,
FastCall = FALSE,

View File

@@ -543,7 +543,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
pReqArgs->HasItem( FN_PARAM_2, &pHeight ) )
{
std::vector<sc::ColRowSpan> aRanges;
SCCOLROW nRow = static_cast<const SfxUInt16Item*>(pRow)->GetValue() - 1;
SCCOLROW nRow = static_cast<const SfxInt32Item*>(pRow)->GetValue() - 1;
sal_uInt16 nHeight = static_cast<const SfxUInt16Item*>(pHeight)->GetValue();
ScMarkData& rMark = GetViewData()->GetMarkData();