summaryrefslogtreecommitdiff
path: root/basic/source/comp
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-22 20:57:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-22 21:03:55 +0900
commitbddd4d45989067e58589519c497e03ff443094e9 (patch)
tree41e4eadda19dab42bd976115eef7562b36e287eb /basic/source/comp
parentfb7b24dc5affb4f29f61a8716c97370951ccba80 (diff)
Mark as const
Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
Diffstat (limited to 'basic/source/comp')
-rw-r--r--basic/source/comp/sbcomp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx
index 20d5262aafb1..32cdabc7067b 100644
--- a/basic/source/comp/sbcomp.cxx
+++ b/basic/source/comp/sbcomp.cxx
@@ -245,11 +245,11 @@ static void lcl_lineOut( const char* pStr, const char* pPreStr = NULL, const cha
const char* lcl_getSpaces( int nSpaceCount )
{
- static sal_Char Spaces[] = " "
+ static const sal_Char Spaces[] = " "
" "
" ";
- static int nAvailableSpaceCount = strlen( Spaces );
- static sal_Char* pSpacesEnd = Spaces + nAvailableSpaceCount;
+ static const int nAvailableSpaceCount = strlen( Spaces );
+ static const sal_Char* pSpacesEnd = Spaces + nAvailableSpaceCount;
if( nSpaceCount > nAvailableSpaceCount )
nSpaceCount = nAvailableSpaceCount;