diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-15 23:34:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-16 09:16:08 +0100 |
commit | 58c8b07e33ea958db5380507c548b7dc9b1e11ee (patch) | |
tree | 490727e0021bb3dc3d5698d3ed488fb2357ca084 /tools | |
parent | eef23a3f537320267583f5fc2e145f66d520fe23 (diff) |
can be const
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/ref/globname.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index 05c7709931e6..9f55aadbde77 100644 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -262,8 +262,8 @@ void SvGlobalName::MakeFromMemory( void * pData ) *************************************************************************/ sal_Bool SvGlobalName::MakeId( const String & rIdStr ) { - ByteString aStr( rIdStr, RTL_TEXTENCODING_ASCII_US ); - sal_Char * pStr = (sal_Char *)aStr.GetBuffer(); + ByteString aStr( rIdStr, RTL_TEXTENCODING_ASCII_US ); + const sal_Char * pStr = (sal_Char *)aStr.GetBuffer(); if( rIdStr.Len() == 36 && '-' == pStr[ 8 ] && '-' == pStr[ 13 ] && '-' == pStr[ 18 ] && '-' == pStr[ 23 ] ) |