summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r--forms/source/component/FormComponent.cxx144
1 files changed, 70 insertions, 74 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 80e85758801c..caf486676148 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -150,7 +150,7 @@ void OControl::doSetDelegator()
}
// UNO Binding
-Any SAL_CALL OControl::queryAggregation( const Type& _rType ) throw(RuntimeException, std::exception)
+Any SAL_CALL OControl::queryAggregation( const Type& _rType )
{
// ask the base class
Any aReturn( OComponentHelper::queryAggregation(_rType) );
@@ -166,12 +166,12 @@ Any SAL_CALL OControl::queryAggregation( const Type& _rType ) throw(RuntimeExcep
return aReturn;
}
-Sequence<sal_Int8> SAL_CALL OControl::getImplementationId() throw(RuntimeException, std::exception)
+Sequence<sal_Int8> SAL_CALL OControl::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
-Sequence<Type> SAL_CALL OControl::getTypes() throw(RuntimeException, std::exception)
+Sequence<Type> SAL_CALL OControl::getTypes()
{
TypeBag aTypes( _getTypes() );
@@ -200,7 +200,7 @@ void OControl::disposing()
}
// XServiceInfo
-sal_Bool SAL_CALL OControl::supportsService(const OUString& _rsServiceName) throw ( RuntimeException, std::exception)
+sal_Bool SAL_CALL OControl::supportsService(const OUString& _rsServiceName)
{
return cppu::supportsService(this, _rsServiceName);
}
@@ -215,14 +215,14 @@ Sequence< OUString > OControl::getAggregateServiceNames()
return aAggServices;
}
-Sequence<OUString> SAL_CALL OControl::getSupportedServiceNames() throw(RuntimeException, std::exception)
+Sequence<OUString> SAL_CALL OControl::getSupportedServiceNames()
{
// no own supported service names
return getAggregateServiceNames();
}
// XEventListener
-void SAL_CALL OControl::disposing(const css::lang::EventObject& _rEvent) throw (RuntimeException, std::exception)
+void SAL_CALL OControl::disposing(const css::lang::EventObject& _rEvent)
{
Reference< XInterface > xAggAsIface;
query_aggregation(m_xAggregate, xAggAsIface);
@@ -237,13 +237,13 @@ void SAL_CALL OControl::disposing(const css::lang::EventObject& _rEvent) throw (
}
// XControl
-void SAL_CALL OControl::setContext(const Reference< XInterface >& Context) throw (RuntimeException, std::exception)
+void SAL_CALL OControl::setContext(const Reference< XInterface >& Context)
{
if (m_xControl.is())
m_xControl->setContext(Context);
}
-Reference< XInterface > SAL_CALL OControl::getContext() throw (RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL OControl::getContext()
{
return m_xControl.is() ? m_xControl->getContext() : Reference< XInterface >();
}
@@ -264,7 +264,7 @@ void OControl::impl_resetStateGuard_nothrow()
m_aWindowStateGuard.attach( xWindow, xModel );
}
-void SAL_CALL OControl::createPeer(const Reference<XToolkit>& _rxToolkit, const Reference<XWindowPeer>& _rxParent) throw (RuntimeException, std::exception)
+void SAL_CALL OControl::createPeer(const Reference<XToolkit>& _rxToolkit, const Reference<XWindowPeer>& _rxParent)
{
if ( m_xControl.is() )
{
@@ -273,12 +273,12 @@ void SAL_CALL OControl::createPeer(const Reference<XToolkit>& _rxToolkit, const
}
}
-Reference<XWindowPeer> SAL_CALL OControl::getPeer() throw ( RuntimeException, std::exception)
+Reference<XWindowPeer> SAL_CALL OControl::getPeer()
{
return m_xControl.is() ? m_xControl->getPeer() : Reference<XWindowPeer>();
}
-sal_Bool SAL_CALL OControl::setModel(const Reference<XControlModel>& Model) throw ( RuntimeException, std::exception)
+sal_Bool SAL_CALL OControl::setModel(const Reference<XControlModel>& Model)
{
if ( !m_xControl.is() )
return false;
@@ -288,28 +288,28 @@ sal_Bool SAL_CALL OControl::setModel(const Reference<XControlModel>& Model) thro
return bSuccess;
}
-Reference<XControlModel> SAL_CALL OControl::getModel() throw ( RuntimeException, std::exception)
+Reference<XControlModel> SAL_CALL OControl::getModel()
{
return m_xControl.is() ? m_xControl->getModel() : Reference<XControlModel>();
}
-Reference<XView> SAL_CALL OControl::getView() throw ( RuntimeException, std::exception)
+Reference<XView> SAL_CALL OControl::getView()
{
return m_xControl.is() ? m_xControl->getView() : Reference<XView>();
}
-void SAL_CALL OControl::setDesignMode(sal_Bool bOn) throw ( RuntimeException, std::exception)
+void SAL_CALL OControl::setDesignMode(sal_Bool bOn)
{
if (m_xControl.is())
m_xControl->setDesignMode(bOn);
}
-sal_Bool SAL_CALL OControl::isDesignMode() throw ( RuntimeException, std::exception)
+sal_Bool SAL_CALL OControl::isDesignMode()
{
return !m_xControl.is() || m_xControl->isDesignMode();
}
-sal_Bool SAL_CALL OControl::isTransparent() throw ( RuntimeException, std::exception)
+sal_Bool SAL_CALL OControl::isTransparent()
{
return !m_xControl.is() || m_xControl->isTransparent();
}
@@ -330,7 +330,7 @@ Sequence< Type> OBoundControl::_getTypes()
return TypeBag( OControl::_getTypes(), OBoundControl_BASE::getTypes() ).getTypes();
}
-Any SAL_CALL OBoundControl::queryAggregation(const Type& _rType) throw(RuntimeException, std::exception)
+Any SAL_CALL OBoundControl::queryAggregation(const Type& _rType)
{
Any aReturn;
@@ -350,12 +350,12 @@ Any SAL_CALL OBoundControl::queryAggregation(const Type& _rType) throw(RuntimeEx
return aReturn;
}
-sal_Bool SAL_CALL OBoundControl::getLock() throw(RuntimeException, std::exception)
+sal_Bool SAL_CALL OBoundControl::getLock()
{
return m_bLocked;
}
-void SAL_CALL OBoundControl::setLock(sal_Bool _bLock) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControl::setLock(sal_Bool _bLock)
{
if (m_bLocked == bool(_bLock))
return;
@@ -382,12 +382,12 @@ void OBoundControl::_setLock(bool _bLock)
}
}
-sal_Bool SAL_CALL OBoundControl::setModel( const Reference< XControlModel >& _rxModel ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL OBoundControl::setModel( const Reference< XControlModel >& _rxModel )
{
return OControl::setModel( _rxModel );
}
-void SAL_CALL OBoundControl::disposing(const EventObject& Source) throw (RuntimeException, std::exception)
+void SAL_CALL OBoundControl::disposing(const EventObject& Source)
{
// just disambiguate
OControl::disposing(Source);
@@ -399,12 +399,12 @@ void OBoundControl::disposing()
}
// OControlModel
-Sequence<sal_Int8> SAL_CALL OControlModel::getImplementationId() throw(RuntimeException, std::exception)
+Sequence<sal_Int8> SAL_CALL OControlModel::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
-Sequence<Type> SAL_CALL OControlModel::getTypes() throw(RuntimeException, std::exception)
+Sequence<Type> SAL_CALL OControlModel::getTypes()
{
TypeBag aTypes( _getTypes() );
@@ -424,7 +424,7 @@ Sequence<Type> OControlModel::_getTypes()
).getTypes();
}
-Any SAL_CALL OControlModel::queryAggregation(const Type& _rType) throw (RuntimeException, std::exception)
+Any SAL_CALL OControlModel::queryAggregation(const Type& _rType)
{
// base class 1
Any aReturn(OComponentHelper::queryAggregation(_rType));
@@ -596,12 +596,12 @@ void OControlModel::doSetDelegator()
}
// XChild
-Reference< XInterface > SAL_CALL OControlModel::getParent() throw(RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL OControlModel::getParent()
{
return m_xParent;
}
-void SAL_CALL OControlModel::setParent(const Reference< XInterface >& _rxParent) throw(css::lang::NoSupportException, RuntimeException, std::exception)
+void SAL_CALL OControlModel::setParent(const Reference< XInterface >& _rxParent)
{
osl::MutexGuard aGuard(m_aMutex);
@@ -617,7 +617,7 @@ void SAL_CALL OControlModel::setParent(const Reference< XInterface >& _rxParent)
}
// XNamed
-OUString SAL_CALL OControlModel::getName() throw(RuntimeException, std::exception)
+OUString SAL_CALL OControlModel::getName()
{
OUString aReturn;
try
@@ -636,7 +636,7 @@ OUString SAL_CALL OControlModel::getName() throw(RuntimeException, std::exceptio
return aReturn;
}
-void SAL_CALL OControlModel::setName(const OUString& _rName) throw(RuntimeException, std::exception)
+void SAL_CALL OControlModel::setName(const OUString& _rName)
{
try
{
@@ -654,7 +654,7 @@ void SAL_CALL OControlModel::setName(const OUString& _rName) throw(RuntimeExcept
}
// XServiceInfo
-sal_Bool SAL_CALL OControlModel::supportsService(const OUString& _rServiceName) throw ( RuntimeException, std::exception)
+sal_Bool SAL_CALL OControlModel::supportsService(const OUString& _rServiceName)
{
return cppu::supportsService(this, _rServiceName);
}
@@ -668,7 +668,7 @@ Sequence< OUString > OControlModel::getAggregateServiceNames()
return aAggServices;
}
-Sequence<OUString> SAL_CALL OControlModel::getSupportedServiceNames() throw(RuntimeException, std::exception)
+Sequence<OUString> SAL_CALL OControlModel::getSupportedServiceNames()
{
return ::comphelper::concatSequences(
getAggregateServiceNames(),
@@ -676,7 +676,7 @@ Sequence<OUString> SAL_CALL OControlModel::getSupportedServiceNames() throw(Runt
);
}
-Sequence< OUString > SAL_CALL OControlModel::getSupportedServiceNames_Static() throw( RuntimeException )
+Sequence< OUString > SAL_CALL OControlModel::getSupportedServiceNames_Static()
{
Sequence< OUString > aServiceNames( 2 );
aServiceNames[ 0 ] = FRM_SUN_FORMCOMPONENT;
@@ -685,7 +685,7 @@ Sequence< OUString > SAL_CALL OControlModel::getSupportedServiceNames_Static() t
}
// XEventListener
-void SAL_CALL OControlModel::disposing(const css::lang::EventObject& _rSource) throw (RuntimeException, std::exception)
+void SAL_CALL OControlModel::disposing(const css::lang::EventObject& _rSource)
{
// release the parent
if (_rSource.Source == m_xParent)
@@ -733,7 +733,6 @@ void OControlModel::readAggregate( const Reference< XObjectInputStream >& _rxInS
}
void SAL_CALL OControlModel::write(const Reference<css::io::XObjectOutputStream>& _rxOutStream)
- throw(css::io::IOException, RuntimeException, std::exception)
{
osl::MutexGuard aGuard(m_aMutex);
@@ -777,7 +776,7 @@ void SAL_CALL OControlModel::write(const Reference<css::io::XObjectOutputStream>
// EOIN!
}
-void OControlModel::read(const Reference<css::io::XObjectInputStream>& InStream) throw (css::io::IOException, RuntimeException, std::exception)
+void OControlModel::read(const Reference<css::io::XObjectInputStream>& InStream)
{
osl::MutexGuard aGuard(m_aMutex);
@@ -929,7 +928,6 @@ void OControlModel::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) con
sal_Bool OControlModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue)
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
bool bModified(false);
switch (_nHandle)
@@ -967,7 +965,6 @@ sal_Bool OControlModel::convertFastPropertyValue(
}
void OControlModel::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, const Any& _rValue)
- throw (Exception, std::exception)
{
switch (_nHandle)
{
@@ -1047,7 +1044,7 @@ Reference< XMultiPropertySet > OControlModel::getPropertiesInterface()
return Reference< XMultiPropertySet >( *this, UNO_QUERY );
}
-Reference< XPropertySetInfo> SAL_CALL OControlModel::getPropertySetInfo() throw( RuntimeException, std::exception)
+Reference< XPropertySetInfo> SAL_CALL OControlModel::getPropertySetInfo()
{
return createPropertySetInfo( getInfoHelper() );
}
@@ -1057,22 +1054,22 @@ Reference< XPropertySetInfo> SAL_CALL OControlModel::getPropertySetInfo() throw(
return m_aPropertyBagHelper.getInfoHelper();
}
-void SAL_CALL OControlModel::addProperty( const OUString& _rName, ::sal_Int16 _nAttributes, const Any& _rInitialValue ) throw (PropertyExistException, IllegalTypeException, IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL OControlModel::addProperty( const OUString& _rName, ::sal_Int16 _nAttributes, const Any& _rInitialValue )
{
m_aPropertyBagHelper.addProperty( _rName, _nAttributes, _rInitialValue );
}
-void SAL_CALL OControlModel::removeProperty( const OUString& _rName ) throw (UnknownPropertyException, NotRemoveableException, RuntimeException, std::exception)
+void SAL_CALL OControlModel::removeProperty( const OUString& _rName )
{
m_aPropertyBagHelper.removeProperty( _rName );
}
-Sequence< PropertyValue > SAL_CALL OControlModel::getPropertyValues() throw (RuntimeException, std::exception)
+Sequence< PropertyValue > SAL_CALL OControlModel::getPropertyValues()
{
return m_aPropertyBagHelper.getPropertyValues();
}
-void SAL_CALL OControlModel::setPropertyValues( const Sequence< PropertyValue >& _rProps ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
+void SAL_CALL OControlModel::setPropertyValues( const Sequence< PropertyValue >& _rProps )
{
m_aPropertyBagHelper.setPropertyValues( _rProps );
}
@@ -1104,7 +1101,7 @@ void OControlModel::firePropertyChanges( const std::vector< sal_Int32 >& _rHandl
}
// OBoundControlModel
-Any SAL_CALL OBoundControlModel::queryAggregation( const Type& _rType ) throw (RuntimeException, std::exception)
+Any SAL_CALL OBoundControlModel::queryAggregation( const Type& _rType )
{
Any aReturn( OControlModel::queryAggregation(_rType) );
if (!aReturn.hasValue())
@@ -1400,7 +1397,7 @@ void OBoundControlModel::onValuePropertyChange( ControlModelLock& i_rControLock
recheckValidity( true );
}
-void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt ) throw ( RuntimeException, std::exception )
+void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt )
{
ControlModelLock aLock( *this );
OSL_ENSURE( _rEvt.PropertyName == m_sValuePropertyName,
@@ -1445,7 +1442,7 @@ void OBoundControlModel::doFormListening( const bool _bStart )
}
// XChild
-void SAL_CALL OBoundControlModel::setParent(const Reference<XInterface>& _rxParent) throw(css::lang::NoSupportException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::setParent(const Reference<XInterface>& _rxParent)
{
ControlModelLock aLock( *this );
FieldChangeNotifier aBoundFieldNotifier( aLock );
@@ -1472,7 +1469,7 @@ void SAL_CALL OBoundControlModel::setParent(const Reference<XInterface>& _rxPare
}
// XEventListener
-void SAL_CALL OBoundControlModel::disposing(const css::lang::EventObject& _rEvent) throw (RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::disposing(const css::lang::EventObject& _rEvent)
{
ControlModelLock aLock( *this );
if ( _rEvent.Source == getField() )
@@ -1504,7 +1501,7 @@ void SAL_CALL OBoundControlModel::disposing(const css::lang::EventObject& _rEven
}
// XServiceInfo
-css::uno::Sequence<OUString> SAL_CALL OBoundControlModel::getSupportedServiceNames() throw(RuntimeException, std::exception)
+css::uno::Sequence<OUString> SAL_CALL OBoundControlModel::getSupportedServiceNames()
{
return ::comphelper::combineSequences(
getAggregateServiceNames(),
@@ -1512,7 +1509,7 @@ css::uno::Sequence<OUString> SAL_CALL OBoundControlModel::getSupportedServiceNam
);
}
-Sequence< OUString > SAL_CALL OBoundControlModel::getSupportedServiceNames_Static() throw( RuntimeException )
+Sequence< OUString > SAL_CALL OBoundControlModel::getSupportedServiceNames_Static()
{
Sequence<OUString> aOwnServiceNames { "com.sun.star.form.DataAwareControlModel" };
return ::comphelper::concatSequences(
@@ -1522,7 +1519,7 @@ Sequence< OUString > SAL_CALL OBoundControlModel::getSupportedServiceNames_Stati
}
// XPersist
-void SAL_CALL OBoundControlModel::write( const Reference<css::io::XObjectOutputStream>& _rxOutStream ) throw(css::io::IOException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::write( const Reference<css::io::XObjectOutputStream>& _rxOutStream )
{
OControlModel::write(_rxOutStream);
osl::MutexGuard aGuard(m_aMutex);
@@ -1595,7 +1592,7 @@ void OBoundControlModel::writeCommonProperties(const Reference<css::io::XObjectO
xMark->deleteMark(nMark);
}
-void SAL_CALL OBoundControlModel::read( const Reference< css::io::XObjectInputStream >& _rxInStream ) throw(css::io::IOException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::read( const Reference< css::io::XObjectInputStream >& _rxInStream )
{
OControlModel::read(_rxInStream);
osl::MutexGuard aGuard(m_aMutex);
@@ -1634,7 +1631,6 @@ sal_Bool OBoundControlModel::convertFastPropertyValue(
Any& _rConvertedValue, Any& _rOldValue,
sal_Int32 _nHandle,
const Any& _rValue)
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
bool bModified(false);
switch (_nHandle)
@@ -1689,7 +1685,7 @@ Any OBoundControlModel::getPropertyDefaultByHandle( sal_Int32 _nHandle ) const
return aDefault;
}
-void OBoundControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception)
+void OBoundControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue )
{
switch (nHandle)
{
@@ -1768,7 +1764,7 @@ void OBoundControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, co
}
// XPropertyChangeListener
-void SAL_CALL OBoundControlModel::propertyChange( const PropertyChangeEvent& evt ) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::propertyChange( const PropertyChangeEvent& evt )
{
// if the DBColumn value changed, transfer it to the control
if ( evt.PropertyName == PROPERTY_VALUE )
@@ -1814,7 +1810,7 @@ void SAL_CALL OBoundControlModel::propertyChange( const PropertyChangeEvent& evt
}
}
-void SAL_CALL OBoundControlModel::onRowSetChanged( const EventObject& /*i_Event*/ ) throw (RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::onRowSetChanged( const EventObject& /*i_Event*/ )
{
ControlModelLock aLock( *this );
FieldChangeNotifier aBoundFieldNotifier( aLock );
@@ -1834,17 +1830,17 @@ void SAL_CALL OBoundControlModel::onRowSetChanged( const EventObject& /*i_Event*
}
// XBoundComponent
-void SAL_CALL OBoundControlModel::addUpdateListener(const Reference<XUpdateListener>& _rxListener) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::addUpdateListener(const Reference<XUpdateListener>& _rxListener)
{
m_aUpdateListeners.addInterface(_rxListener);
}
-void SAL_CALL OBoundControlModel::removeUpdateListener(const Reference< XUpdateListener>& _rxListener) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::removeUpdateListener(const Reference< XUpdateListener>& _rxListener)
{
m_aUpdateListeners.removeInterface(_rxListener);
}
-sal_Bool SAL_CALL OBoundControlModel::commit() throw(RuntimeException, std::exception)
+sal_Bool SAL_CALL OBoundControlModel::commit()
{
ControlModelLock aLock( *this );
OSL_PRECOND( m_bCommitable, "OBoundControlModel::commit: invalid call (I'm not commitable !) " );
@@ -2059,7 +2055,7 @@ void OBoundControlModel::impl_disconnectDatabaseColumn_noNotify()
}
// XLoadListener
-void SAL_CALL OBoundControlModel::loaded( const EventObject& _rEvent ) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::loaded( const EventObject& _rEvent )
{
ControlModelLock aLock( *this );
FieldChangeNotifier aBoundFieldNotifier( aLock );
@@ -2071,12 +2067,12 @@ void SAL_CALL OBoundControlModel::loaded( const EventObject& _rEvent ) throw(Run
impl_connectDatabaseColumn_noNotify( false );
}
-void SAL_CALL OBoundControlModel::unloaded( const css::lang::EventObject& /*aEvent*/ ) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::unloaded( const css::lang::EventObject& /*aEvent*/ )
{
OSL_PRECOND( !hasExternalValueBinding(), "OBoundControlModel::unloaded: we should never reach this with an external value binding!" );
}
-void SAL_CALL OBoundControlModel::reloading( const css::lang::EventObject& /*aEvent*/ ) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::reloading( const css::lang::EventObject& /*aEvent*/ )
{
OSL_PRECOND( !hasExternalValueBinding(), "OBoundControlModel::reloading: we should never reach this with an external value binding!" );
if ( hasExternalValueBinding() )
@@ -2085,7 +2081,7 @@ void SAL_CALL OBoundControlModel::reloading( const css::lang::EventObject& /*aEv
m_bForwardValueChanges = false;
}
-void SAL_CALL OBoundControlModel::unloading(const css::lang::EventObject& /*aEvent*/) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::unloading(const css::lang::EventObject& /*aEvent*/)
{
ControlModelLock aLock( *this );
FieldChangeNotifier aBoundFieldNotifier( aLock );
@@ -2095,7 +2091,7 @@ void SAL_CALL OBoundControlModel::unloading(const css::lang::EventObject& /*aEve
impl_disconnectDatabaseColumn_noNotify();
}
-void SAL_CALL OBoundControlModel::reloaded( const EventObject& _rEvent ) throw(RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::reloaded( const EventObject& _rEvent )
{
ControlModelLock aLock( *this );
FieldChangeNotifier aBoundFieldNotifier( aLock );
@@ -2214,17 +2210,17 @@ void OBoundControlModel::resetNoBroadcast()
setControlValue( getDefaultForReset(), eOther );
}
-void OBoundControlModel::addResetListener(const Reference<XResetListener>& l) throw (RuntimeException, std::exception)
+void OBoundControlModel::addResetListener(const Reference<XResetListener>& l)
{
m_aResetHelper.addResetListener( l );
}
-void OBoundControlModel::removeResetListener(const Reference<XResetListener>& l) throw (RuntimeException, std::exception)
+void OBoundControlModel::removeResetListener(const Reference<XResetListener>& l)
{
m_aResetHelper.removeResetListener( l );
}
-void OBoundControlModel::reset() throw (RuntimeException, std::exception)
+void OBoundControlModel::reset()
{
if ( !m_aResetHelper.approveReset() )
return;
@@ -2475,7 +2471,7 @@ void OBoundControlModel::disconnectExternalValueBinding( )
impl_connectDatabaseColumn_noNotify( false );
}
-void SAL_CALL OBoundControlModel::setValueBinding( const Reference< XValueBinding >& _rxBinding ) throw (IncompatibleTypesException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::setValueBinding( const Reference< XValueBinding >& _rxBinding )
{
OSL_PRECOND( m_bSupportsExternalBinding, "OBoundControlModel::setValueBinding: How did you reach this method?" );
// the interface for this method should not have been exposed if we do not
@@ -2501,7 +2497,7 @@ void SAL_CALL OBoundControlModel::setValueBinding( const Reference< XValueBindin
connectExternalValueBinding( _rxBinding, aLock );
}
-Reference< XValueBinding > SAL_CALL OBoundControlModel::getValueBinding( ) throw (RuntimeException, std::exception)
+Reference< XValueBinding > SAL_CALL OBoundControlModel::getValueBinding( )
{
::osl::MutexGuard aGuard( m_aMutex );
OSL_PRECOND( m_bSupportsExternalBinding, "OBoundControlModel::getValueBinding: How did you reach this method?" );
@@ -2510,7 +2506,7 @@ Reference< XValueBinding > SAL_CALL OBoundControlModel::getValueBinding( ) thro
return m_xExternalBinding;
}
-void SAL_CALL OBoundControlModel::modified( const EventObject& _rEvent ) throw ( RuntimeException, std::exception )
+void SAL_CALL OBoundControlModel::modified( const EventObject& _rEvent )
{
ControlModelLock aLock( *this );
OSL_PRECOND( hasExternalValueBinding(), "OBoundControlModel::modified: Where did this come from?" );
@@ -2693,7 +2689,7 @@ void OBoundControlModel::disconnectValidator( )
onDisconnectedValidator( );
}
-void SAL_CALL OBoundControlModel::setValidator( const Reference< XValidator >& _rxValidator ) throw (VetoException,RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::setValidator( const Reference< XValidator >& _rxValidator )
{
::osl::ClearableMutexGuard aGuard( m_aMutex );
OSL_PRECOND( m_bSupportsValidation, "OBoundControlModel::setValidator: How did you reach this method?" );
@@ -2719,7 +2715,7 @@ void SAL_CALL OBoundControlModel::setValidator( const Reference< XValidator >& _
connectValidator( _rxValidator );
}
-Reference< XValidator > SAL_CALL OBoundControlModel::getValidator( ) throw (RuntimeException, std::exception)
+Reference< XValidator > SAL_CALL OBoundControlModel::getValidator( )
{
::osl::MutexGuard aGuard( m_aMutex );
OSL_PRECOND( m_bSupportsValidation, "OBoundControlModel::getValidator: How did you reach this method?" );
@@ -2729,7 +2725,7 @@ Reference< XValidator > SAL_CALL OBoundControlModel::getValidator( ) throw (Run
return m_xValidator;
}
-void SAL_CALL OBoundControlModel::validityConstraintChanged( const EventObject& /*Source*/ ) throw (RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::validityConstraintChanged( const EventObject& /*Source*/ )
{
::osl::ClearableMutexGuard aGuard( m_aMutex );
OSL_PRECOND( m_bSupportsValidation, "OBoundControlModel::validityConstraintChanged: How did you reach this method?" );
@@ -2739,7 +2735,7 @@ void SAL_CALL OBoundControlModel::validityConstraintChanged( const EventObject&
recheckValidity( false );
}
-sal_Bool SAL_CALL OBoundControlModel::isValid( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL OBoundControlModel::isValid( )
{
return m_bIsCurrentValueValid;
}
@@ -2751,19 +2747,19 @@ css::uno::Any OBoundControlModel::getCurrentFormComponentValue() const
return getControlValue();
}
-Any SAL_CALL OBoundControlModel::getCurrentValue( ) throw (RuntimeException, std::exception)
+Any SAL_CALL OBoundControlModel::getCurrentValue( )
{
::osl::MutexGuard aGuard( m_aMutex );
return getCurrentFormComponentValue();
}
-void SAL_CALL OBoundControlModel::addFormComponentValidityListener( const Reference< validation::XFormComponentValidityListener >& Listener ) throw (NullPointerException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::addFormComponentValidityListener( const Reference< validation::XFormComponentValidityListener >& Listener )
{
if ( Listener.is() )
m_aFormComponentListeners.addInterface( Listener );
}
-void SAL_CALL OBoundControlModel::removeFormComponentValidityListener( const Reference< validation::XFormComponentValidityListener >& Listener ) throw (NullPointerException, RuntimeException, std::exception)
+void SAL_CALL OBoundControlModel::removeFormComponentValidityListener( const Reference< validation::XFormComponentValidityListener >& Listener )
{
if ( Listener.is() )
m_aFormComponentListeners.removeInterface( Listener );