summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-11-10 15:05:22 +0100
committerLuboš Luňák <l.lunak@collabora.com>2014-11-10 21:23:02 +0100
commit6df3d5e93a86a3ecb79cdb11e943e037d7648724 (patch)
treee9a47d71e206c7f25909c8e73373811213f6e680 /sax
parentb64caa8ad85d951c74e1c84096802997340c8e1b (diff)
remove pointless const_cast
Change-Id: I6026ab64f0cfe1d509c8f94ce3b9c6f700c823cf
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 12429beda9a4..5c7871351cfb 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -740,8 +740,8 @@ sal_Int32 FastSaxParserImpl::GetTokenWithContextNamespace( sal_Int32 nNamespaceT
void FastSaxParserImpl::splitName( const XML_Char *pwName, const XML_Char *&rpPrefix, sal_Int32 &rPrefixLen, const XML_Char *&rpName, sal_Int32 &rNameLen )
{
- XML_Char *p;
- for( p = const_cast< XML_Char* >( pwName ), rNameLen = 0, rPrefixLen = 0; *p; p++ )
+ const XML_Char *p;
+ for( p = pwName, rNameLen = 0, rPrefixLen = 0; *p; p++ )
{
if( *p == ':' )
{