summaryrefslogtreecommitdiff
path: root/testtools/source/bridgetest/cppobj.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:58 +0200
commitd4e57ae426efd3666494374b5fd56ddf5ed82891 (patch)
treee54f714f43d63f51ab07821634e8c2ba1ddae78b /testtools/source/bridgetest/cppobj.cxx
parentb2c8ea3a0253ce87f1b292fbb19b461a53c14912 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I13f61e80a27e58fba347173e5d84464553312836
Diffstat (limited to 'testtools/source/bridgetest/cppobj.cxx')
-rw-r--r--testtools/source/bridgetest/cppobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index a468d900492e..d21d753ae470 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -1170,7 +1170,7 @@ Sequence< OUString > Test_Impl::getSupportedServiceNames()
static Reference< XInterface > SAL_CALL Test_Impl_create(
SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > & )
{
- return Reference< XInterface >( (XBridgeTest *)new Test_Impl() );
+ return Reference< XInterface >( static_cast<XBridgeTest *>(new Test_Impl()) );
}
}