loplugin:unusedmethods unused return value in vbahelper/

Change-Id: I654f1b2d3a488e147acdeb790ce9a9ff3dde61f1
This commit is contained in:
Noel Grandin 2016-01-13 12:07:29 +02:00
parent 5ec991b6fe
commit 5b5f3ccdbb
2 changed files with 2 additions and 5 deletions

View File

@ -160,16 +160,13 @@ void VbaCommandBarHelper::ApplyChange( const OUString& sResourceUrl, const css::
}
}
bool VbaCommandBarHelper::persistChanges() throw (css::uno::RuntimeException)
void VbaCommandBarHelper::persistChanges() throw (css::uno::RuntimeException)
{
uno::Reference< css::ui::XUIConfigurationPersistence > xConfigPersistence( m_xDocCfgMgr, uno::UNO_QUERY_THROW );
bool result = false;
if( xConfigPersistence->isModified() )
{
xConfigPersistence->store();
result = true;
}
return result;
}
uno::Reference< frame::XLayoutManager > VbaCommandBarHelper::getLayoutManager() throw (uno::RuntimeException)

View File

@ -69,7 +69,7 @@ public:
{
return m_xWindowState;
}
bool persistChanges() throw (css::uno::RuntimeException);
void persistChanges() throw (css::uno::RuntimeException);
css::uno::Reference< css::container::XIndexAccess > getSettings( const OUString& sResourceUrl ) throw (css::uno::RuntimeException);
void removeSettings( const OUString& sResourceUrl ) throw (css::uno::RuntimeException);
void ApplyChange( const OUString& sResourceUrl, const css::uno::Reference< css::container::XIndexAccess >& xSettings, bool bTemporary = true ) throw (css::uno::RuntimeException);