summaryrefslogtreecommitdiff
path: root/vcl/source/components/dtranscomp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:41 +0200
commitf6ec07a3963a401dc736baa9bdd2ed3c7325bb66 (patch)
tree9cad620eb2cd5846464cf151b10949a8e36e5200 /vcl/source/components/dtranscomp.cxx
parent9f356d3e66127bf14fe957962e8451dbd27c8ac8 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81
Diffstat (limited to 'vcl/source/components/dtranscomp.cxx')
-rw-r--r--vcl/source/components/dtranscomp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index f2d221d743d3..53c90cab4c77 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -514,17 +514,17 @@ Reference< XInterface > SAL_CALL DropTarget_createInstance( const Reference< XMu
*/
Reference< XInterface > SalInstance::CreateClipboard( const Sequence< Any >& )
{
- return Reference< XInterface >( ( cppu::OWeakObject * )new vcl::GenericClipboard() );
+ return Reference< XInterface >( static_cast<cppu::OWeakObject *>(new vcl::GenericClipboard()) );
}
Reference< XInterface > SalInstance::CreateDragSource()
{
- return Reference< XInterface >( ( cppu::OWeakObject * )new vcl::GenericDragSource() );
+ return Reference< XInterface >( static_cast<cppu::OWeakObject *>(new vcl::GenericDragSource()) );
}
Reference< XInterface > SalInstance::CreateDropTarget()
{
- return Reference< XInterface >( ( cppu::OWeakObject * )new vcl::GenericDropTarget() );
+ return Reference< XInterface >( static_cast<cppu::OWeakObject *>(new vcl::GenericDropTarget()) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */