loplugin:referencecasting (macOS)
Change-Id: I99470067a34fab9fbc2ea53d2f8a634240f0d223 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111127 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
4adf4e0a55
commit
9ece0ae7e1
6 changed files with 7 additions and 7 deletions
|
@ -44,7 +44,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString&
|
|||
if( !xPlayer->create( aURL.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ) ) )
|
||||
return {};
|
||||
|
||||
return uno::Reference<media::XPlayer>(xPlayer.get());
|
||||
return uno::Reference<media::XPlayer>(xPlayer);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber()
|
|||
if( !pGrabber->create( pMovie ) )
|
||||
return {};
|
||||
|
||||
return pGrabber.get();
|
||||
return pGrabber;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -729,7 +729,7 @@ sal_Bool SAL_CALL MacabDatabaseMetaData::supportsBatchUpdates( )
|
|||
|
||||
Reference< XConnection > SAL_CALL MacabDatabaseMetaData::getConnection( )
|
||||
{
|
||||
return m_xConnection.get();
|
||||
return m_xConnection;
|
||||
}
|
||||
|
||||
Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTableTypes( )
|
||||
|
|
|
@ -131,7 +131,7 @@ Reference< XResultSetMetaData > SAL_CALL MacabPreparedStatement::getMetaData()
|
|||
m_xMetaData = new MacabResultSetMetaData(getOwnConnection(),sTableName);
|
||||
setMacabFields();
|
||||
}
|
||||
Reference< XResultSetMetaData > xMetaData = m_xMetaData.get();
|
||||
Reference< XResultSetMetaData > xMetaData = m_xMetaData;
|
||||
return xMetaData;
|
||||
}
|
||||
|
||||
|
|
|
@ -513,7 +513,7 @@ Reference< XResultSetMetaData > SAL_CALL MacabResultSet::getMetaData()
|
|||
if (!m_xMetaData.is())
|
||||
m_xMetaData = new MacabResultSetMetaData(m_xStatement->getOwnConnection(), m_sTableName);
|
||||
|
||||
Reference< XResultSetMetaData > xMetaData = m_xMetaData.get();
|
||||
Reference< XResultSetMetaData > xMetaData = m_xMetaData;
|
||||
return xMetaData;
|
||||
}
|
||||
|
||||
|
@ -668,7 +668,7 @@ Reference< XInterface > SAL_CALL MacabResultSet::getStatement()
|
|||
::osl::MutexGuard aGuard( m_aMutex );
|
||||
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
|
||||
|
||||
Reference< XStatement > xStatement = m_xStatement.get();
|
||||
Reference< XStatement > xStatement = m_xStatement;
|
||||
return xStatement;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ static bool enabled = false;
|
|||
mdAllWrapper = [ [ [ NSMutableDictionary alloc ] init ] retain ];
|
||||
// initialize keyboard focus tracker
|
||||
rtl::Reference< AquaA11yFocusListener > listener( AquaA11yFocusListener::get() );
|
||||
TheAquaA11yFocusTracker::get().setFocusListener(listener.get());
|
||||
TheAquaA11yFocusTracker::get().setFocusListener(listener);
|
||||
enabled = true;
|
||||
}
|
||||
return mdAllWrapper;
|
||||
|
|
Loading…
Reference in a new issue