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

View File

@ -123,10 +123,6 @@ protected:
void implCheckReadOnly( const sal_Char* pExceptionMsg )
throw (css::lang::NoSupportException);
// Return the context's MultiComponentFactory
css::uno::Reference< css::lang::XMultiComponentFactory >
getMultiComponentFactory();
// Returns the LocalItem for a given locale, if it exists, otherwise NULL
// This method compares the locales exactly, no closest match search is performed
LocaleItem* getItemForLocale( const css::lang::Locale& locale, bool bException )