summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/dtrans
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/unx/generic/dtrans
parent9f356d3e66127bf14fe957962e8451dbd27c8ac8 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81
Diffstat (limited to 'vcl/unx/generic/dtrans')
-rw-r--r--vcl/unx/generic/dtrans/X11_service.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/dtrans/X11_service.cxx b/vcl/unx/generic/dtrans/X11_service.cxx
index 360b29d087ad..3b8f45bb6991 100644
--- a/vcl/unx/generic/dtrans/X11_service.cxx
+++ b/vcl/unx/generic/dtrans/X11_service.cxx
@@ -85,12 +85,12 @@ css::uno::Reference< XInterface > X11SalInstance::CreateClipboard( const Sequenc
css::uno::Reference< XInterface > X11SalInstance::CreateDragSource()
{
- return css::uno::Reference < XInterface >( ( OWeakObject * ) new SelectionManagerHolder() );
+ return css::uno::Reference < XInterface >( static_cast<OWeakObject *>(new SelectionManagerHolder()) );
}
css::uno::Reference< XInterface > X11SalInstance::CreateDropTarget()
{
- return css::uno::Reference < XInterface >( ( OWeakObject * ) new DropTarget() );
+ return css::uno::Reference < XInterface >( static_cast<OWeakObject *>(new DropTarget()) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */