From d3ff876f3c7f441fd72a037ed31fb973f223ca6d Mon Sep 17 00:00:00 2001 From: Gergo Mocsi Date: Mon, 2 Sep 2013 17:55:59 +0200 Subject: GSOC work, small fixes after Fixed some errors after the merge. Change-Id: I8c0360d7fd04425a00dacb37f673d10efffa0ebe --- basic/source/comp/token.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') 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); -- cgit