[Libreoffice-commits] .: basic/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Apr 24 07:45:09 PDT 2012


 basic/source/comp/scanner.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bc069413e54ae9626298f337b180dd4f142f4776
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 24 15:39:51 2012 +0100

    WaE: return SYMBOL -> return true
    
    has been return SYMBOL since initial checkin in 2000,
    SYMBOL is a non-0 enum so return true here instead

diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx
index a664e57..6f7f0bd 100644
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -419,7 +419,7 @@ bool SbiScanner::NextSym()
                 // treated as an operator
                 --pLine; --nCol; nCol1 = nCol-1;
                 aSym = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("&"));
-                return SYMBOL;
+                return true;
         }
         bNumber = true;
         long l = 0;


More information about the Libreoffice-commits mailing list