summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-10-21 11:09:59 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-10-22 06:49:47 +0200
commit1b2f97a5bd66f74d4ca631f81f2371ac7ceeb1c4 (patch)
treec5721a13c56da1df864992b213dd55ffa351c146 /basic
parent475165e431b5392e426db0de4cea50efc2513875 (diff)
These should be sal_Int32
Change-Id: If00ef09bec9b66cd4b7725398b2cdb3f49a3fe90 Reviewed-on: https://gerrit.libreoffice.org/81274 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/token.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index 3b6d81416fc0..cad82280b216 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -242,9 +242,9 @@ SbiToken SbiTokenizer::Peek()
{
if( ePush == NIL )
{
- sal_uInt16 nOldLine = nLine;
- sal_uInt16 nOldCol1 = nCol1;
- sal_uInt16 nOldCol2 = nCol2;
+ sal_Int32 nOldLine = nLine;
+ sal_Int32 nOldCol1 = nCol1;
+ sal_Int32 nOldCol2 = nCol2;
ePush = Next();
nPLine = nLine; nLine = nOldLine;
nPCol1 = nCol1; nCol1 = nOldCol1;
@@ -434,10 +434,10 @@ special:
{
// from 15.3.96, special treatment for END, at Peek() the current
// time is lost, so memorize everything and restore after
- sal_uInt16 nOldLine = nLine;
- sal_uInt16 nOldCol = nCol;
- sal_uInt16 nOldCol1 = nCol1;
- sal_uInt16 nOldCol2 = nCol2;
+ sal_Int32 nOldLine = nLine;
+ sal_Int32 nOldCol = nCol;
+ sal_Int32 nOldCol1 = nCol1;
+ sal_Int32 nOldCol2 = nCol2;
OUString aOldSym = aSym;
SaveLine(); // save pLine in the scanner