Kaydet (Commit) 1fd19d3e authored tarafından Marco Cecchetti's avatar Marco Cecchetti Kaydeden (comit) Jan Holesovsky

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/36087Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst a4712a32
...@@ -4352,7 +4352,7 @@ SfxInt32Item Row SID_RANGE_ROW ...@@ -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 ) ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment