loplugin:unusedmethods unused return value in vbahelper/
Change-Id: I654f1b2d3a488e147acdeb790ce9a9ff3dde61f1
This commit is contained in:
parent
5ec991b6fe
commit
5b5f3ccdbb
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user