diff options
Diffstat (limited to 'svx/source/form/formcontroller.cxx')
-rw-r--r-- | svx/source/form/formcontroller.cxx | 208 |
1 files changed, 102 insertions, 106 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 3a09dccfa87a..668125ff2dc8 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -99,7 +99,6 @@ using namespace ::dbtools; css::uno::Reference< css::uno::XInterface > SAL_CALL FormController_NewInstance_Impl( const css::uno::Reference< css::lang::XMultiServiceFactory > & _rxORB ) - throw (css::uno::Exception) { return *( new ::svxform::FormController( comphelper::getComponentContext(_rxORB) ) ); } @@ -430,11 +429,11 @@ public: const Sequence< PropertyValue >& getValues() const { return m_aValues; } // XInteractionSupplyParameters - virtual void SAL_CALL setParameters( const Sequence< PropertyValue >& _rValues ) throw(RuntimeException, std::exception) override; + virtual void SAL_CALL setParameters( const Sequence< PropertyValue >& _rValues ) override; }; -void SAL_CALL OParameterContinuation::setParameters( const Sequence< PropertyValue >& _rValues ) throw(RuntimeException, std::exception) +void SAL_CALL OParameterContinuation::setParameters( const Sequence< PropertyValue >& _rValues ) { m_aValues = _rValues; } @@ -463,14 +462,14 @@ public: } virtual OUString GetComponentServiceName() override {return OUString("Edit");} - virtual void SAL_CALL createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw( RuntimeException, std::exception ) override; + virtual void SAL_CALL createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) override; protected: virtual void ImplSetPeerProperty( const OUString& rPropName, const Any& rVal ) override; }; -void FmXAutoControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw( RuntimeException, std::exception ) +void FmXAutoControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) { UnoControl::createPeer( rxToolkit, rParentPeer ); @@ -627,7 +626,7 @@ void SAL_CALL FormController::release() throw () } -Any SAL_CALL FormController::queryInterface( const Type& _rType ) throw(RuntimeException, std::exception) +Any SAL_CALL FormController::queryInterface( const Type& _rType ) { Any aRet = FormController_BASE::queryInterface( _rType ); if ( !aRet.hasValue() ) @@ -638,12 +637,12 @@ Any SAL_CALL FormController::queryInterface( const Type& _rType ) throw(RuntimeE } -Sequence< sal_Int8 > SAL_CALL FormController::getImplementationId() throw( RuntimeException, std::exception ) +Sequence< sal_Int8 > SAL_CALL FormController::getImplementationId() { return css::uno::Sequence<sal_Int8>(); } -Sequence< Type > SAL_CALL FormController::getTypes( ) throw(RuntimeException, std::exception) +Sequence< Type > SAL_CALL FormController::getTypes( ) { return comphelper::concatSequences( FormController_BASE::getTypes(), @@ -652,17 +651,17 @@ Sequence< Type > SAL_CALL FormController::getTypes( ) throw(RuntimeException, s } // XServiceInfo -sal_Bool SAL_CALL FormController::supportsService(const OUString& ServiceName) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::supportsService(const OUString& ServiceName) { return cppu::supportsService(this, ServiceName); } -OUString SAL_CALL FormController::getImplementationName() throw( RuntimeException, std::exception ) +OUString SAL_CALL FormController::getImplementationName() { return OUString("org.openoffice.comp.svx.FormController"); } -Sequence< OUString> SAL_CALL FormController::getSupportedServiceNames() throw( RuntimeException, std::exception ) +Sequence< OUString> SAL_CALL FormController::getSupportedServiceNames() { // service names which are supported only, but cannot be used to created an // instance at a service factory @@ -674,13 +673,13 @@ Sequence< OUString> SAL_CALL FormController::getSupportedServiceNames() throw( R } -sal_Bool SAL_CALL FormController::approveReset(const EventObject& /*rEvent*/) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::approveReset(const EventObject& /*rEvent*/) { return true; } -void SAL_CALL FormController::resetted(const EventObject& rEvent) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::resetted(const EventObject& rEvent) { ::osl::MutexGuard aGuard(m_aMutex); if (getCurrentControl().is() && (getCurrentControl()->getModel() == rEvent.Source)) @@ -764,14 +763,12 @@ void FormController::impl_setTextOnAllFilter_throw() sal_Bool FormController::convertFastPropertyValue( Any & /*rConvertedValue*/, Any & /*rOldValue*/, sal_Int32 /*nHandle*/, const Any& /*rValue*/ ) - throw( IllegalArgumentException ) { return false; } void FormController::setFastPropertyValue_NoBroadcast( sal_Int32 /*nHandle*/, const Any& /*rValue*/ ) - throw( Exception, std::exception ) { } @@ -855,7 +852,7 @@ void FormController::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons } -Reference< XPropertySetInfo > FormController::getPropertySetInfo() throw( RuntimeException, std::exception ) +Reference< XPropertySetInfo > FormController::getPropertySetInfo() { static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) ); return xInfo; @@ -887,19 +884,19 @@ void FormController::fillProperties( // XFilterController -void SAL_CALL FormController::addFilterControllerListener( const Reference< XFilterControllerListener >& Listener ) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addFilterControllerListener( const Reference< XFilterControllerListener >& Listener ) { m_aFilterListeners.addInterface( Listener ); } -void SAL_CALL FormController::removeFilterControllerListener( const Reference< XFilterControllerListener >& Listener ) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeFilterControllerListener( const Reference< XFilterControllerListener >& Listener ) { m_aFilterListeners.removeInterface( Listener ); } -::sal_Int32 SAL_CALL FormController::getFilterComponents() throw( css::uno::RuntimeException, std::exception ) +::sal_Int32 SAL_CALL FormController::getFilterComponents() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -908,7 +905,7 @@ void SAL_CALL FormController::removeFilterControllerListener( const Reference< X } -::sal_Int32 SAL_CALL FormController::getDisjunctiveTerms() throw( css::uno::RuntimeException, std::exception ) +::sal_Int32 SAL_CALL FormController::getDisjunctiveTerms() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -917,7 +914,7 @@ void SAL_CALL FormController::removeFilterControllerListener( const Reference< X } -void SAL_CALL FormController::setPredicateExpression( ::sal_Int32 Component, ::sal_Int32 Term, const OUString& PredicateExpression ) throw( RuntimeException, IndexOutOfBoundsException, std::exception ) +void SAL_CALL FormController::setPredicateExpression( ::sal_Int32 Component, ::sal_Int32 Term, const OUString& PredicateExpression ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -936,7 +933,7 @@ void SAL_CALL FormController::setPredicateExpression( ::sal_Int32 Component, ::s } -Reference< XControl > FormController::getFilterComponent( ::sal_Int32 Component ) throw( RuntimeException, IndexOutOfBoundsException, std::exception ) +Reference< XControl > FormController::getFilterComponent( ::sal_Int32 Component ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -948,7 +945,7 @@ Reference< XControl > FormController::getFilterComponent( ::sal_Int32 Component } -Sequence< Sequence< OUString > > FormController::getPredicateExpressions() throw( RuntimeException, std::exception ) +Sequence< Sequence< OUString > > FormController::getPredicateExpressions() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -981,7 +978,7 @@ Sequence< Sequence< OUString > > FormController::getPredicateExpressions() throw } -void SAL_CALL FormController::removeDisjunctiveTerm( ::sal_Int32 Term ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void SAL_CALL FormController::removeDisjunctiveTerm( ::sal_Int32 Term ) { // SYNCHRONIZED --> ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -1022,7 +1019,7 @@ void SAL_CALL FormController::removeDisjunctiveTerm( ::sal_Int32 Term ) throw (I } -void SAL_CALL FormController::appendEmptyDisjunctiveTerm() throw (RuntimeException, std::exception) +void SAL_CALL FormController::appendEmptyDisjunctiveTerm() { // SYNCHRONIZED --> ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -1033,7 +1030,7 @@ void SAL_CALL FormController::appendEmptyDisjunctiveTerm() throw (RuntimeExcepti } -::sal_Int32 SAL_CALL FormController::getActiveTerm() throw (RuntimeException, std::exception) +::sal_Int32 SAL_CALL FormController::getActiveTerm() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -1042,7 +1039,7 @@ void SAL_CALL FormController::appendEmptyDisjunctiveTerm() throw (RuntimeExcepti } -void SAL_CALL FormController::setActiveTerm( ::sal_Int32 ActiveTerm ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void SAL_CALL FormController::setActiveTerm( ::sal_Int32 ActiveTerm ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -1059,14 +1056,14 @@ void SAL_CALL FormController::setActiveTerm( ::sal_Int32 ActiveTerm ) throw (Ind // XElementAccess -sal_Bool SAL_CALL FormController::hasElements() throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::hasElements() { ::osl::MutexGuard aGuard( m_aMutex ); return !m_aChildren.empty(); } -Type SAL_CALL FormController::getElementType() throw( RuntimeException, std::exception ) +Type SAL_CALL FormController::getElementType() { return cppu::UnoType<XFormController>::get(); @@ -1074,7 +1071,7 @@ Type SAL_CALL FormController::getElementType() throw( RuntimeException, std::ex // XEnumerationAccess -Reference< XEnumeration > SAL_CALL FormController::createEnumeration() throw( RuntimeException, std::exception ) +Reference< XEnumeration > SAL_CALL FormController::createEnumeration() { ::osl::MutexGuard aGuard( m_aMutex ); return new ::comphelper::OEnumerationByIndex(this); @@ -1082,14 +1079,14 @@ Reference< XEnumeration > SAL_CALL FormController::createEnumeration() throw( R // XIndexAccess -sal_Int32 SAL_CALL FormController::getCount() throw( RuntimeException, std::exception ) +sal_Int32 SAL_CALL FormController::getCount() { ::osl::MutexGuard aGuard( m_aMutex ); return m_aChildren.size(); } -Any SAL_CALL FormController::getByIndex(sal_Int32 Index) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) +Any SAL_CALL FormController::getByIndex(sal_Int32 Index) { ::osl::MutexGuard aGuard( m_aMutex ); if (Index < 0 || @@ -1101,7 +1098,7 @@ Any SAL_CALL FormController::getByIndex(sal_Int32 Index) throw( IndexOutOfBounds // EventListener -void SAL_CALL FormController::disposing(const EventObject& e) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::disposing(const EventObject& e) { // Ist der Container disposed worden ::osl::MutexGuard aGuard( m_aMutex ); @@ -1231,7 +1228,7 @@ namespace } -void SAL_CALL FormController::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::propertyChange(const PropertyChangeEvent& evt) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); if ( evt.PropertyName == FM_PROP_BOUNDFIELD ) @@ -1441,7 +1438,7 @@ IMPL_LINK_NOARG(FormController, OnToggleAutoFields, void*, void) // XTextListener -void SAL_CALL FormController::textChanged(const TextEvent& e) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::textChanged(const TextEvent& e) { // SYNCHRONIZED --> ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -1498,7 +1495,7 @@ void SAL_CALL FormController::textChanged(const TextEvent& e) throw( RuntimeExce // XItemListener -void SAL_CALL FormController::itemStateChanged(const ItemEvent& /*rEvent*/) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::itemStateChanged(const ItemEvent& /*rEvent*/) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); impl_onModify(); @@ -1506,7 +1503,7 @@ void SAL_CALL FormController::itemStateChanged(const ItemEvent& /*rEvent*/) thro // XModificationBroadcaster -void SAL_CALL FormController::addModifyListener(const Reference< XModifyListener > & l) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addModifyListener(const Reference< XModifyListener > & l) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -1514,7 +1511,7 @@ void SAL_CALL FormController::addModifyListener(const Reference< XModifyListener } -void FormController::removeModifyListener(const Reference< XModifyListener > & l) throw( RuntimeException, std::exception ) +void FormController::removeModifyListener(const Reference< XModifyListener > & l) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -1523,7 +1520,7 @@ void FormController::removeModifyListener(const Reference< XModifyListener > & l // XModificationListener -void FormController::modified( const EventObject& _rEvent ) throw( RuntimeException, std::exception ) +void FormController::modified( const EventObject& _rEvent ) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); @@ -1616,7 +1613,7 @@ bool FormController::determineLockState() const // FocusListener -void FormController::focusGained(const FocusEvent& e) throw( RuntimeException, std::exception ) +void FormController::focusGained(const FocusEvent& e) { // SYNCHRONIZED --> ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -1769,7 +1766,7 @@ IMPL_LINK_NOARG( FormController, OnDeactivated, void*, void ) } -void FormController::focusLost(const FocusEvent& e) throw( RuntimeException, std::exception ) +void FormController::focusLost(const FocusEvent& e) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); @@ -1786,31 +1783,31 @@ void FormController::focusLost(const FocusEvent& e) throw( RuntimeException, std } -void SAL_CALL FormController::mousePressed( const awt::MouseEvent& /*_rEvent*/ ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::mousePressed( const awt::MouseEvent& /*_rEvent*/ ) { // not interested in } -void SAL_CALL FormController::mouseReleased( const awt::MouseEvent& /*_rEvent*/ ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::mouseReleased( const awt::MouseEvent& /*_rEvent*/ ) { // not interested in } -void SAL_CALL FormController::mouseEntered( const awt::MouseEvent& _rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::mouseEntered( const awt::MouseEvent& _rEvent ) { m_pControlBorderManager->mouseEntered( _rEvent.Source ); } -void SAL_CALL FormController::mouseExited( const awt::MouseEvent& _rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::mouseExited( const awt::MouseEvent& _rEvent ) { m_pControlBorderManager->mouseExited( _rEvent.Source ); } -void SAL_CALL FormController::componentValidityChanged( const EventObject& _rSource ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::componentValidityChanged( const EventObject& _rSource ) { Reference< XControl > xControl( findControl( m_aControls, Reference< XControlModel >( _rSource.Source, UNO_QUERY ), false, false ) ); Reference< XValidatableFormComponent > xValidatable( _rSource.Source, UNO_QUERY ); @@ -1822,7 +1819,7 @@ void SAL_CALL FormController::componentValidityChanged( const EventObject& _rSou } -void FormController::setModel(const Reference< XTabControllerModel > & Model) throw( RuntimeException, std::exception ) +void FormController::setModel(const Reference< XTabControllerModel > & Model) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -1935,7 +1932,7 @@ void FormController::setModel(const Reference< XTabControllerModel > & Model) th } -Reference< XTabControllerModel > FormController::getModel() throw( RuntimeException, std::exception ) +Reference< XTabControllerModel > FormController::getModel() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2001,7 +1998,7 @@ void FormController::removeFromEventAttacher(const Reference< XControl > & xCont } -void FormController::setContainer(const Reference< XControlContainer > & xContainer) throw( RuntimeException, std::exception ) +void FormController::setContainer(const Reference< XControlContainer > & xContainer) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); Reference< XTabControllerModel > xTabModel(getModel()); @@ -2086,7 +2083,7 @@ void FormController::setContainer(const Reference< XControlContainer > & xContai } -Reference< XControlContainer > FormController::getContainer() throw( RuntimeException, std::exception ) +Reference< XControlContainer > FormController::getContainer() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2098,7 +2095,7 @@ Reference< XControlContainer > FormController::getContainer() throw( RuntimeExc } -Sequence< Reference< XControl > > FormController::getControls() throw( RuntimeException, std::exception ) +Sequence< Reference< XControl > > FormController::getControls() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2138,7 +2135,7 @@ Sequence< Reference< XControl > > FormController::getControls() throw( RuntimeEx } -void FormController::autoTabOrder() throw( RuntimeException, std::exception ) +void FormController::autoTabOrder() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2149,7 +2146,7 @@ void FormController::autoTabOrder() throw( RuntimeException, std::exception ) } -void FormController::activateTabOrder() throw( RuntimeException, std::exception ) +void FormController::activateTabOrder() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2538,7 +2535,7 @@ void FormController::removeControl(const Reference< XControl > & xControl) // XLoadListener -void FormController::loaded(const EventObject& rEvent) throw( RuntimeException, std::exception ) +void FormController::loaded(const EventObject& rEvent) { OSL_ENSURE( rEvent.Source == m_xModelAsIndex, "FormController::loaded: where did this come from?" ); @@ -2620,7 +2617,7 @@ IMPL_LINK_NOARG(FormController, OnLoad, void*, void) } -void FormController::unloaded(const EventObject& /*rEvent*/) throw( RuntimeException, std::exception ) +void FormController::unloaded(const EventObject& /*rEvent*/) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2629,7 +2626,7 @@ void FormController::unloaded(const EventObject& /*rEvent*/) throw( RuntimeExcep } -void FormController::reloading(const EventObject& /*aEvent*/) throw( RuntimeException, std::exception ) +void FormController::reloading(const EventObject& /*aEvent*/) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2641,7 +2638,7 @@ void FormController::reloading(const EventObject& /*aEvent*/) throw( RuntimeExce } -void FormController::reloaded(const EventObject& aEvent) throw( RuntimeException, std::exception ) +void FormController::reloaded(const EventObject& aEvent) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2650,7 +2647,7 @@ void FormController::reloaded(const EventObject& aEvent) throw( RuntimeException } -void FormController::unloading(const EventObject& /*aEvent*/) throw( RuntimeException, std::exception ) +void FormController::unloading(const EventObject& /*aEvent*/) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2659,7 +2656,7 @@ void FormController::unloading(const EventObject& /*aEvent*/) throw( RuntimeExce } -void FormController::unload() throw( RuntimeException ) +void FormController::unload() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2768,7 +2765,7 @@ void FormController::stopFormListening( const Reference< XPropertySet >& _rxForm // css::sdbc::XRowSetListener -void FormController::cursorMoved(const EventObject& /*event*/) throw( RuntimeException, std::exception ) +void FormController::cursorMoved(const EventObject& /*event*/) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2789,12 +2786,12 @@ void FormController::cursorMoved(const EventObject& /*event*/) throw( RuntimeExc } -void FormController::rowChanged(const EventObject& /*event*/) throw( RuntimeException, std::exception ) +void FormController::rowChanged(const EventObject& /*event*/) { // not interested in ... } -void FormController::rowSetChanged(const EventObject& /*event*/) throw( RuntimeException, std::exception ) +void FormController::rowSetChanged(const EventObject& /*event*/) { // not interested in ... } @@ -2802,7 +2799,7 @@ void FormController::rowSetChanged(const EventObject& /*event*/) throw( RuntimeE // XContainerListener -void SAL_CALL FormController::elementInserted(const ContainerEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::elementInserted(const ContainerEvent& evt) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2848,7 +2845,7 @@ void SAL_CALL FormController::elementInserted(const ContainerEvent& evt) throw( } -void SAL_CALL FormController::elementReplaced(const ContainerEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::elementReplaced(const ContainerEvent& evt) { // simulate an elementRemoved ContainerEvent aRemoveEvent( evt ); @@ -2863,7 +2860,7 @@ void SAL_CALL FormController::elementReplaced(const ContainerEvent& evt) throw( } -void SAL_CALL FormController::elementRemoved(const ContainerEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::elementRemoved(const ContainerEvent& evt) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2909,7 +2906,7 @@ Reference< XControl > FormController::isInList(const Reference< XWindowPeer > & } -void FormController::activateFirst() throw( RuntimeException, std::exception ) +void FormController::activateFirst() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2920,7 +2917,7 @@ void FormController::activateFirst() throw( RuntimeException, std::exception ) } -void FormController::activateLast() throw( RuntimeException, std::exception ) +void FormController::activateLast() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2932,7 +2929,7 @@ void FormController::activateLast() throw( RuntimeException, std::exception ) // XFormController -Reference< XFormOperations > SAL_CALL FormController::getFormOperations() throw (RuntimeException, std::exception) +Reference< XFormOperations > SAL_CALL FormController::getFormOperations() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2941,7 +2938,7 @@ Reference< XFormOperations > SAL_CALL FormController::getFormOperations() throw } -Reference< XControl> SAL_CALL FormController::getCurrentControl() throw( RuntimeException, std::exception ) +Reference< XControl> SAL_CALL FormController::getCurrentControl() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2949,14 +2946,14 @@ Reference< XControl> SAL_CALL FormController::getCurrentControl() throw( Runtime } -void SAL_CALL FormController::addActivateListener(const Reference< XFormControllerListener > & l) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addActivateListener(const Reference< XFormControllerListener > & l) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); m_aActivateListeners.addInterface(l); } -void SAL_CALL FormController::removeActivateListener(const Reference< XFormControllerListener > & l) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeActivateListener(const Reference< XFormControllerListener > & l) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -2964,7 +2961,7 @@ void SAL_CALL FormController::removeActivateListener(const Reference< XFormContr } -void SAL_CALL FormController::addChildController( const Reference< XFormController >& ChildController ) throw( RuntimeException, IllegalArgumentException, std::exception ) +void SAL_CALL FormController::addChildController( const Reference< XFormController >& ChildController ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3001,7 +2998,7 @@ void SAL_CALL FormController::addChildController( const Reference< XFormControll } -Reference< XFormControllerContext > SAL_CALL FormController::getContext() throw (RuntimeException, std::exception) +Reference< XFormControllerContext > SAL_CALL FormController::getContext() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3009,7 +3006,7 @@ Reference< XFormControllerContext > SAL_CALL FormController::getContext() throw } -void SAL_CALL FormController::setContext( const Reference< XFormControllerContext >& _context ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::setContext( const Reference< XFormControllerContext >& _context ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3017,7 +3014,7 @@ void SAL_CALL FormController::setContext( const Reference< XFormControllerContex } -Reference< XInteractionHandler > SAL_CALL FormController::getInteractionHandler() throw (RuntimeException, std::exception) +Reference< XInteractionHandler > SAL_CALL FormController::getInteractionHandler() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3025,7 +3022,7 @@ Reference< XInteractionHandler > SAL_CALL FormController::getInteractionHandler( } -void SAL_CALL FormController::setInteractionHandler( const Reference< XInteractionHandler >& _interactionHandler ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::setInteractionHandler( const Reference< XInteractionHandler >& _interactionHandler ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3436,7 +3433,7 @@ void FormController::stopFiltering() // XModeSelector -void FormController::setMode(const OUString& Mode) throw( NoSupportException, RuntimeException, std::exception ) +void FormController::setMode(const OUString& Mode) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3464,7 +3461,7 @@ void FormController::setMode(const OUString& Mode) throw( NoSupportException, Ru } -OUString SAL_CALL FormController::getMode() throw( RuntimeException, std::exception ) +OUString SAL_CALL FormController::getMode() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3473,7 +3470,7 @@ OUString SAL_CALL FormController::getMode() throw( RuntimeException, std::except } -Sequence< OUString > SAL_CALL FormController::getSupportedModes() throw( RuntimeException, std::exception ) +Sequence< OUString > SAL_CALL FormController::getSupportedModes() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3489,7 +3486,7 @@ Sequence< OUString > SAL_CALL FormController::getSupportedModes() throw( Runtime } -sal_Bool SAL_CALL FormController::supportsMode(const OUString& Mode) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::supportsMode(const OUString& Mode) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3653,7 +3650,7 @@ namespace // XRowSetApproveListener -sal_Bool SAL_CALL FormController::approveRowChange(const RowChangeEvent& _rEvent) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::approveRowChange(const RowChangeEvent& _rEvent) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3741,7 +3738,7 @@ sal_Bool SAL_CALL FormController::approveRowChange(const RowChangeEvent& _rEvent } -sal_Bool SAL_CALL FormController::approveCursorMove(const EventObject& event) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::approveCursorMove(const EventObject& event) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3758,7 +3755,7 @@ sal_Bool SAL_CALL FormController::approveCursorMove(const EventObject& event) th } -sal_Bool SAL_CALL FormController::approveRowSetChange(const EventObject& event) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::approveRowSetChange(const EventObject& event) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3776,7 +3773,7 @@ sal_Bool SAL_CALL FormController::approveRowSetChange(const EventObject& event) // XRowSetApproveBroadcaster -void SAL_CALL FormController::addRowSetApproveListener(const Reference< XRowSetApproveListener > & _rxListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addRowSetApproveListener(const Reference< XRowSetApproveListener > & _rxListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3785,7 +3782,7 @@ void SAL_CALL FormController::addRowSetApproveListener(const Reference< XRowSetA } -void SAL_CALL FormController::removeRowSetApproveListener(const Reference< XRowSetApproveListener > & _rxListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeRowSetApproveListener(const Reference< XRowSetApproveListener > & _rxListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3795,7 +3792,7 @@ void SAL_CALL FormController::removeRowSetApproveListener(const Reference< XRowS // XErrorListener -void SAL_CALL FormController::errorOccured(const SQLErrorEvent& aEvent) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::errorOccured(const SQLErrorEvent& aEvent) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3816,7 +3813,7 @@ void SAL_CALL FormController::errorOccured(const SQLErrorEvent& aEvent) throw( R // XErrorBroadcaster -void SAL_CALL FormController::addSQLErrorListener(const Reference< XSQLErrorListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addSQLErrorListener(const Reference< XSQLErrorListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3825,7 +3822,7 @@ void SAL_CALL FormController::addSQLErrorListener(const Reference< XSQLErrorList } -void SAL_CALL FormController::removeSQLErrorListener(const Reference< XSQLErrorListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeSQLErrorListener(const Reference< XSQLErrorListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3835,7 +3832,7 @@ void SAL_CALL FormController::removeSQLErrorListener(const Reference< XSQLErrorL // XDatabaseParameterBroadcaster2 -void SAL_CALL FormController::addDatabaseParameterListener(const Reference< XDatabaseParameterListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addDatabaseParameterListener(const Reference< XDatabaseParameterListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3844,7 +3841,7 @@ void SAL_CALL FormController::addDatabaseParameterListener(const Reference< XDat } -void SAL_CALL FormController::removeDatabaseParameterListener(const Reference< XDatabaseParameterListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeDatabaseParameterListener(const Reference< XDatabaseParameterListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3854,20 +3851,20 @@ void SAL_CALL FormController::removeDatabaseParameterListener(const Reference< X // XDatabaseParameterBroadcaster -void SAL_CALL FormController::addParameterListener(const Reference< XDatabaseParameterListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addParameterListener(const Reference< XDatabaseParameterListener > & aListener) { FormController::addDatabaseParameterListener( aListener ); } -void SAL_CALL FormController::removeParameterListener(const Reference< XDatabaseParameterListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeParameterListener(const Reference< XDatabaseParameterListener > & aListener) { FormController::removeDatabaseParameterListener( aListener ); } // XDatabaseParameterListener -sal_Bool SAL_CALL FormController::approveParameter(const DatabaseParameterEvent& aEvent) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::approveParameter(const DatabaseParameterEvent& aEvent) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -3945,7 +3942,7 @@ sal_Bool SAL_CALL FormController::approveParameter(const DatabaseParameterEvent& // XConfirmDeleteBroadcaster -void SAL_CALL FormController::addConfirmDeleteListener(const Reference< XConfirmDeleteListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::addConfirmDeleteListener(const Reference< XConfirmDeleteListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3954,7 +3951,7 @@ void SAL_CALL FormController::addConfirmDeleteListener(const Reference< XConfirm } -void SAL_CALL FormController::removeConfirmDeleteListener(const Reference< XConfirmDeleteListener > & aListener) throw( RuntimeException, std::exception ) +void SAL_CALL FormController::removeConfirmDeleteListener(const Reference< XConfirmDeleteListener > & aListener) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -3964,7 +3961,7 @@ void SAL_CALL FormController::removeConfirmDeleteListener(const Reference< XConf // XConfirmDeleteListener -sal_Bool SAL_CALL FormController::confirmDelete(const RowChangeEvent& aEvent) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormController::confirmDelete(const RowChangeEvent& aEvent) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -4026,7 +4023,7 @@ sal_Bool SAL_CALL FormController::confirmDelete(const RowChangeEvent& aEvent) th } -void SAL_CALL FormController::invalidateFeatures( const Sequence< ::sal_Int16 >& Features ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::invalidateFeatures( const Sequence< ::sal_Int16 >& Features ) { ::osl::MutexGuard aGuard( m_aMutex ); // for now, just copy the ids of the features, because .... @@ -4040,7 +4037,7 @@ void SAL_CALL FormController::invalidateFeatures( const Sequence< ::sal_Int16 >& } -void SAL_CALL FormController::invalidateAllFeatures( ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::invalidateAllFeatures( ) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -4055,7 +4052,6 @@ void SAL_CALL FormController::invalidateAllFeatures( ) throw (RuntimeException, Reference< XDispatch > FormController::interceptedQueryDispatch( const URL& aURL, const OUString& /*aTargetFrameName*/, sal_Int32 /*nSearchFlags*/) - throw( RuntimeException ) { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); Reference< XDispatch > xReturn; @@ -4094,7 +4090,7 @@ FormController::interceptedQueryDispatch( const URL& aURL, } -void SAL_CALL FormController::dispatch( const URL& _rURL, const Sequence< PropertyValue >& _rArgs ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::dispatch( const URL& _rURL, const Sequence< PropertyValue >& _rArgs ) { if ( _rArgs.getLength() != 1 ) { @@ -4122,7 +4118,7 @@ void SAL_CALL FormController::dispatch( const URL& _rURL, const Sequence< Proper } -void SAL_CALL FormController::addStatusListener( const Reference< XStatusListener >& _rxListener, const URL& _rURL ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::addStatusListener( const Reference< XStatusListener >& _rxListener, const URL& _rURL ) { if (_rURL.Complete == FMURL_CONFIRM_DELETION) { @@ -4140,19 +4136,19 @@ void SAL_CALL FormController::addStatusListener( const Reference< XStatusListene } -Reference< XInterface > SAL_CALL FormController::getParent() throw( RuntimeException, std::exception ) +Reference< XInterface > SAL_CALL FormController::getParent() { return m_xParent; } -void SAL_CALL FormController::setParent( const Reference< XInterface >& Parent) throw( NoSupportException, RuntimeException, std::exception ) +void SAL_CALL FormController::setParent( const Reference< XInterface >& Parent) { m_xParent = Parent; } -void SAL_CALL FormController::removeStatusListener( const Reference< XStatusListener >& /*_rxListener*/, const URL& _rURL ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::removeStatusListener( const Reference< XStatusListener >& /*_rxListener*/, const URL& _rURL ) { (void)_rURL; OSL_ENSURE(_rURL.Complete == FMURL_CONFIRM_DELETION, "FormController::removeStatusListener: invalid (unsupported) URL!"); @@ -4192,7 +4188,7 @@ bool FormController::ensureInteractionHandler() } -void SAL_CALL FormController::handle( const Reference< XInteractionRequest >& _rRequest ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::handle( const Reference< XInteractionRequest >& _rRequest ) { if ( !ensureInteractionHandler() ) return; @@ -4234,7 +4230,7 @@ void FormController::implInvalidateCurrentControlDependentFeatures() } -void SAL_CALL FormController::columnChanged( const EventObject& /*_event*/ ) throw (RuntimeException, std::exception) +void SAL_CALL FormController::columnChanged( const EventObject& /*_event*/ ) { implInvalidateCurrentControlDependentFeatures(); } |