Kaydet (Commit) fe0e43a3 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedmethods unused return value in scripting

Change-Id: I9b203e255eddce59c37df1a94884e459df034459
üst 5669ea31
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment