[Libreoffice-commits] core.git: basic/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 22 04:50:29 UTC 2019
basic/source/comp/token.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 1b2f97a5bd66f74d4ca631f81f2371ac7ceeb1c4
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Oct 21 11:09:59 2019 +0300
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Oct 22 06:49:47 2019 +0200
These should be sal_Int32
Change-Id: If00ef09bec9b66cd4b7725398b2cdb3f49a3fe90
Reviewed-on: https://gerrit.libreoffice.org/81274
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
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
More information about the Libreoffice-commits
mailing list