loplugin:unusedmethods unused return value in scripting

Change-Id: I9b203e255eddce59c37df1a94884e459df034459
This commit is contained in:
Noel Grandin
2016-01-14 11:44:18 +02:00
parent 5669ea31dd
commit fe0e43a376
2 changed files with 0 additions and 23 deletions

View File

@@ -734,25 +734,6 @@ void StringResourceImpl::implLoadAllLocales()
}
Reference< XMultiComponentFactory > StringResourceImpl::getMultiComponentFactory()
{
::osl::MutexGuard aGuard( getMutex() );
if( !m_xMCF.is() )
{
Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager(), UNO_QUERY );
if( !xSMgr.is() )
{
throw RuntimeException(
"StringResourceImpl::getMultiComponentFactory: Couldn't instantiate MultiComponentFactory" );
}
m_xMCF = xSMgr;
}
return m_xMCF;
}
// StringResourcePersistenceImpl