summaryrefslogtreecommitdiff
path: root/stoc/source/invocation_adapterfactory
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:10 +0200
commit6bf5ebc0019a605d4add8185b8bc4180c4e20088 (patch)
tree9f3693b5a8aebeae8439c25d29d7cf4297693f0a /stoc/source/invocation_adapterfactory
parenteac0f3023c920325a4c58bcf6d5d57041128c06e (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iaf1585c0413d07ce4f8712570d9195d6a21fa174
Diffstat (limited to 'stoc/source/invocation_adapterfactory')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 2894fb2c3df7..dca1c9778919 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -896,7 +896,7 @@ static Reference< XInterface > SAL_CALL FactoryImpl_create(
const Reference< XComponentContext > & xContext )
throw (Exception)
{
- return (::cppu::OWeakObject *)new FactoryImpl( xContext );
+ return static_cast<cppu::OWeakObject *>(new FactoryImpl( xContext ));
}
}