loplugin:unusedmethods unused return value in scripting
Change-Id: I9b203e255eddce59c37df1a94884e459df034459
This commit is contained in:
parent
5669ea31dd
commit
fe0e43a376
@ -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
|
||||
|
||||
|
||||
|
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user