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:
committed by
Jan Holesovsky
parent
a4712a3251
commit
1fd19d3e45
@@ -4352,7 +4352,7 @@ SfxInt32Item Row SID_RANGE_ROW
|
|||||||
|
|
||||||
|
|
||||||
SfxUInt16Item RowHeight FID_ROW_HEIGHT
|
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,
|
AutoUpdate = FALSE,
|
||||||
FastCall = FALSE,
|
FastCall = FALSE,
|
||||||
|
@@ -543,7 +543,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
|
|||||||
pReqArgs->HasItem( FN_PARAM_2, &pHeight ) )
|
pReqArgs->HasItem( FN_PARAM_2, &pHeight ) )
|
||||||
{
|
{
|
||||||
std::vector<sc::ColRowSpan> aRanges;
|
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();
|
sal_uInt16 nHeight = static_cast<const SfxUInt16Item*>(pHeight)->GetValue();
|
||||||
ScMarkData& rMark = GetViewData()->GetMarkData();
|
ScMarkData& rMark = GetViewData()->GetMarkData();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user