diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:54 +0200 |
commit | 0bfc98e63b062bc847fd0f37308c050ac618c56f (patch) | |
tree | 0b20885e7bb84fcc7932e5b6488a6efec1716ade /dbaccess | |
parent | 4e871a9b225c0d21ed703b45400b4e8476214bce (diff) |
loplugin:redundantcast: reinterpret_cast to void*
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/intercept.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/intercept.cxx b/dbaccess/source/core/dataaccess/intercept.cxx index 96751d7e88fc..d0560ab92c38 100644 --- a/dbaccess/source/core/dataaccess/intercept.cxx +++ b/dbaccess/source/core/dataaccess/intercept.cxx @@ -176,7 +176,7 @@ void SAL_CALL OInterceptor::dispatch( const URL& _URL,const Sequence<PropertyVal DispatchHelper* pHelper = new DispatchHelper; pHelper->aArguments = Arguments; pHelper->aURL = _URL; - Application::PostUserEvent( LINK( this, OInterceptor, OnDispatch ), reinterpret_cast< void* >( pHelper ) ); + Application::PostUserEvent( LINK( this, OInterceptor, OnDispatch ), pHelper ); return; } } diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx index 8fa399e363d2..325cc9b4c521 100644 --- a/dbaccess/source/ui/app/AppDetailView.cxx +++ b/dbaccess/source/ui/app/AppDetailView.cxx @@ -496,7 +496,7 @@ void OTasksWindow::fillTaskEntryList( const TaskEntryList& _rList ) for ( TaskEntryList::const_iterator pTask = _rList.begin(); pTask != aEnd; ++pTask, ++pImages ) { SvTreeListEntry* pEntry = m_aCreation->InsertEntry( pTask->sTitle ); - pEntry->SetUserData( reinterpret_cast< void* >( new TaskEntry( *pTask ) ) ); + pEntry->SetUserData( new TaskEntry( *pTask ) ); Image aImage = Image( *pImages ); m_aCreation->SetExpandedEntryBmp( pEntry, aImage ); |