sax/source/fastparser/fastparser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6df3d5e93a86a3ecb79cdb11e943e037d7648724 Author: LuboÅ¡ LuÅák <[email protected]> Date: Mon Nov 10 15:05:22 2014 +0100 remove pointless const_cast Change-Id: I6026ab64f0cfe1d509c8f94ce3b9c6f700c823cf diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 12429be..5c78713 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 == ':' ) {
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
