[Libreoffice-commits] core.git: sc/sdi sc/source
Marco Cecchetti
marco.cecchetti at collabora.com
Wed Apr 5 10:22:10 UTC 2017
sc/sdi/scalc.sdi | 2 +-
sc/source/ui/view/cellsh3.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1fd19d3e45bd192de2ceae84724653a9f722d51c
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Sun Apr 2 20:46:41 2017 +0200
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 at collabora.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi
index ae0e8682fa90..e95b7474b3c7 100644
--- a/sc/sdi/scalc.sdi
+++ b/sc/sdi/scalc.sdi
@@ -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,
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index 8d46afaffc40..374f5f5a5a5a 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -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();
More information about the Libreoffice-commits
mailing list