summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorGergo Mocsi <gmocsi91@gmail.com>2013-09-02 17:55:59 +0200
committerGergo Mocsi <gmocsi91@gmail.com>2013-09-02 18:17:03 +0200
commitd3ff876f3c7f441fd72a037ed31fb973f223ca6d (patch)
treeb987f8e55cfd7301f2796bd02aa9f96543125f2c /basic
parentd9e81b8540dd932222400663d746a7ecce4823df (diff)
GSOC work, small fixes after
Fixed some errors after the merge. Change-Id: I8c0360d7fd04425a00dacb37f673d10efffa0ebe
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/token.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index a2df363308f6..beff37d7f6c3 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -552,11 +552,11 @@ OUString SbiTokenizer::GetKeywordCase( const OUString& sKeyword )
{
if( !nToken )
{
- TokenTable *tp;
+ const TokenTable *tp;
for( nToken = 0, tp = pTokTable; tp->t; nToken++, tp++ )
{}
}
- TokenTable* tp = pTokTable;
+ const TokenTable* tp = pTokTable;
for( short i = 0; i < nToken; i++, tp++ )
{
OUString sStr = OStringToOUString(tp->s, RTL_TEXTENCODING_ASCII_US);