summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/signaturecreatorimpl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:30:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:30:07 +0200
commit642f4e574c80a29a226373a9d33273b113ebf689 (patch)
tree5fb254cb7666b9ce5f689c5f12c9d63118253950 /xmlsecurity/source/framework/signaturecreatorimpl.cxx
parent689a4a69733cd40c93b34dec83d7f7ca52abedb5 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Idcaafa47f1891858d2ac4cdc536065cbc127b7c4
Diffstat (limited to 'xmlsecurity/source/framework/signaturecreatorimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/signaturecreatorimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx
index 68f0025bde7c..b9e3b6985613 100644
--- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx
+++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx
@@ -245,7 +245,7 @@ cssu::Reference< cssu::XInterface > SAL_CALL SignatureCreatorImpl_createInstance
const cssu::Reference< cssl::XMultiServiceFactory >& xMSF )
throw( cssu::Exception )
{
- return (cppu::OWeakObject*) new SignatureCreatorImpl( comphelper::getComponentContext( xMSF ) );
+ return static_cast<cppu::OWeakObject*>(new SignatureCreatorImpl( comphelper::getComponentContext( xMSF ) ));
}
/* XServiceInfo */