summaryrefslogtreecommitdiff
path: root/wizards/source/tools/Misc.xba
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2019-09-26 08:39:19 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-09-27 20:26:35 +0200
commit7c694158ffb6549b31c2547c82c6bd670757a53c (patch)
tree59f9f6a2e0d0afb4c3bfac63879fa709d5ad7704 /wizards/source/tools/Misc.xba
parent5e1b57b8e6482616a415f995c2fa261d5a189973 (diff)
tdf#50846 - Wrong type of function GetLastUsedRow
Changed the type of the function GetLastUsedRow from int to long in order to avoid overflows. Change-Id: Ia0d789611f732eecdfdbe557b751dbead5748c45 Reviewed-on: https://gerrit.libreoffice.org/79586 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'wizards/source/tools/Misc.xba')
-rw-r--r--wizards/source/tools/Misc.xba2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/source/tools/Misc.xba b/wizards/source/tools/Misc.xba
index 2bf17d32e984..9b9e1dba6cda 100644
--- a/wizards/source/tools/Misc.xba
+++ b/wizards/source/tools/Misc.xba
@@ -642,7 +642,7 @@ Dim i as Integer
End Function
-Function GetLastUsedRow(oSheet as Object) as Integer
+Function GetLastUsedRow(oSheet as Object) as Long
Dim oCell As Object
Dim oCursor As Object
Dim aAddress As Variant