summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-04-02 20:46:41 +0200
committerJan Holesovsky <kendy@collabora.com>2017-04-04 17:18:29 +0200
commit533a283eeda5d2751e49bbdadfdc673fcefb5e77 (patch)
tree3d319b892c7c73eceecdcea3f84f9668981e45ed
parent105ce60b5274c19bf4f359d31bd4ee37698620bc (diff)
LOK - Calc: beyond row 65535 it is not possibile to resize a rowcp-5.3-4
The row parameter type was a unsigned short. Change-Id: I2da1a96d60988e8f1efeb49f55032fb84a8b562b
-rw-r--r--sc/sdi/scalc.sdi2
-rw-r--r--sc/source/ui/view/cellsh3.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi
index c19e12268024..735e18086e36 100644
--- a/sc/sdi/scalc.sdi
+++ b/sc/sdi/scalc.sdi
@@ -4461,7 +4461,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 a9f4c2abab38..1674b121996f 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -546,7 +546,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();