summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-28 14:11:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-28 19:02:06 +0100
commitc71d886120998884fdd16a862826f59883d9a114 (patch)
tree6967a263d1af03b6765d68fc9a72ff8b54a0afc0 /sc/inc
parent523189a32e8d867b71d23f8aa88708ae2757f727 (diff)
fix a few places using SCROW/SCCOL datatypes incorrectly
Found while looking for problems in another patch. This will become more important with "jumbo sheets" when using the wrong datatype can mean overflow Change-Id: I7370ffd8a6edc33a5e613242735e4c7b9eaf830d Reviewed-on: https://gerrit.libreoffice.org/83991 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/interpretercontext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/interpretercontext.hxx b/sc/inc/interpretercontext.hxx
index 35b91947405c..7eb1f1415642 100644
--- a/sc/inc/interpretercontext.hxx
+++ b/sc/inc/interpretercontext.hxx
@@ -30,7 +30,7 @@ enum class SvNumFormatType : sal_Int16;
// SetNumberFormat() is not thread-safe, so calls to it need to be delayed to the main thread.
struct DelayedSetNumberFormat
{
- SCROW mCol;
+ SCCOL mCol;
SCROW mRow;
sal_uInt32 mnNumberFormat;
};