diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2015-05-23 15:22:28 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-26 08:46:32 +0000 |
commit | 563a3935b8c2bfeaf18007019a1bbb4e1133bf11 (patch) | |
tree | bd678cbe62fe4a18498ddf390fcdd6326a16771f /basic/source/comp/scanner.cxx | |
parent | 19fc914aa6ab19890abf0e25712049e3ff9957ae (diff) |
BASIC: Remove BasicCharClass::IsLetterTab
Change-Id: Ib6a13cb7a5725d451c0f8d64c2c543a8a9ec2ad0
Reviewed-on: https://gerrit.libreoffice.org/15876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'basic/source/comp/scanner.cxx')
-rw-r--r-- | basic/source/comp/scanner.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx index ced5ac0de88f..fece800bc371 100644 --- a/basic/source/comp/scanner.cxx +++ b/basic/source/comp/scanner.cxx @@ -142,7 +142,7 @@ static SbxDataType GetSuffixType( sal_Unicode c ) void SbiScanner::scanAlphanumeric() { sal_Int32 n = nCol; - while(nCol < aLine.getLength() && (theBasicCharClass::get().isAlphaNumeric(aLine[nCol], bCompatible) || aLine[nCol] == '_')) + while(nCol < aLine.getLength() && (BasicCharClass::isAlphaNumeric(aLine[nCol], bCompatible) || aLine[nCol] == '_')) { ++pLine; ++nCol; @@ -248,7 +248,7 @@ bool SbiScanner::NextSym() } // copy character if symbol - if(nCol < aLine.getLength() && (theBasicCharClass::get().isAlpha(aLine[nCol], bCompatible) || aLine[nCol] == '_')) + if(nCol < aLine.getLength() && (BasicCharClass::isAlpha(aLine[nCol], bCompatible) || aLine[nCol] == '_')) { // if there's nothing behind '_' , it's the end of a line! if(nCol + 1 == aLine.getLength() && aLine[nCol] == '_') @@ -283,7 +283,7 @@ bool SbiScanner::NextSym() // don't test the exclamation mark // if there's a symbol behind it else if((nCol >= aLine.getLength() || aLine[nCol] != '!') || - (nCol + 1 >= aLine.getLength() || !theBasicCharClass::get().isAlpha(aLine[nCol + 1], bCompatible))) + (nCol + 1 >= aLine.getLength() || !BasicCharClass::isAlpha(aLine[nCol + 1], bCompatible))) { if(nCol < aLine.getLength()) { @@ -439,7 +439,7 @@ bool SbiScanner::NextSym() // e.g. -2,147,483,648 through 2,147,483,647 (signed) sal_uInt64 lu = 0; bool bOverflow = false; - while(nCol < aLine.getLength() && theBasicCharClass::get().isAlphaNumeric(aLine[nCol], false)) + while(nCol < aLine.getLength() && BasicCharClass::isAlphaNumeric(aLine[nCol], false)) { sal_Unicode ch = rtl::toAsciiUpperCase(aLine[nCol]); ++pLine; ++nCol; |