summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:47 +0200
commit7011bf7817e1ed40c3c5a8020698996bf634045f (patch)
treea7034285f824b0cef8d8f018aec09267bebdeb19 /xmlsecurity
parent00be1308d029f70ececc7e16c17e91f90573d798 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Idac7d377f3798a56d3fb32d8e3ec393bd2a53e9d
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/saxhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx
index be771e099251..b017efa2391b 100644
--- a/xmlsecurity/source/xmlsec/saxhelper.cxx
+++ b/xmlsecurity/source/xmlsec/saxhelper.cxx
@@ -303,7 +303,7 @@ void SAXHelper::endElement( const OUString& aName )
if( fullname != NULL )
{
- xmlFree( ( xmlChar* )fullname ) ;
+ xmlFree( fullname ) ;
fullname = NULL ;
}
}
@@ -362,13 +362,13 @@ void SAXHelper::processingInstruction(
if( target != NULL )
{
- xmlFree( ( xmlChar* )target ) ;
+ xmlFree( target ) ;
target = NULL ;
}
if( data != NULL )
{
- xmlFree( ( xmlChar* )data ) ;
+ xmlFree( data ) ;
data = NULL ;
}
}