[Libreoffice-commits] core.git: idl/inc

Stephan Bergmann sbergman at redhat.com
Sat Feb 25 09:13:49 UTC 2017


 idl/inc/lex.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 64b68e98d215f98f72fd6493b62517ab9984a8d2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sat Feb 25 10:13:17 2017 +0100

    SvTokenStream::nBufPos should be sal_Int32
    
    Change-Id: I929bb6e35a125674b1e65f00e77785b59ae6d2a0

diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index 40e7fe1..20c7b43 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -99,7 +99,7 @@ inline SvToken::SvToken()
 class SvTokenStream
 {
     sal_uLong       nLine, nColumn;
-    int             nBufPos;
+    sal_Int32       nBufPos;
     int             c;          // next character
     static const sal_uInt16 nTabSize = 4;   // length of tabulator
     OString         aStrTrue;
@@ -138,7 +138,7 @@ class SvTokenStream
                         // if end of line spare calculation
                         if( 0 != c )
                         {
-                            sal_uInt16 n = 0;
+                            sal_Int32 n = 0;
                             nColumn = 0;
                             while( n < nBufPos )
                                 nColumn += aBufStr[n++] == '\t' ? nTabSize : 1;


More information about the Libreoffice-commits mailing list