loplugin:unusedmethods unused return value in scripting
Change-Id: I9b203e255eddce59c37df1a94884e459df034459
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user