diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /svx/source/fmcomp/fmgridif.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svx/source/fmcomp/fmgridif.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 240 |
1 files changed, 120 insertions, 120 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 9d993a51b590..a90810569ad1 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -132,7 +132,7 @@ FmXModifyMultiplexer::FmXModifyMultiplexer( ::cppu::OWeakObject& rSource, ::osl: } -Any SAL_CALL FmXModifyMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXModifyMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn; aReturn = ::cppu::queryInterface(_rType, @@ -147,12 +147,12 @@ Any SAL_CALL FmXModifyMultiplexer::queryInterface(const Type& _rType) throw (Run } -void FmXModifyMultiplexer::disposing(const EventObject& ) throw( RuntimeException ) +void FmXModifyMultiplexer::disposing(const EventObject& ) throw( RuntimeException, std::exception ) { } -void FmXModifyMultiplexer::modified(const EventObject& e) throw( RuntimeException ) +void FmXModifyMultiplexer::modified(const EventObject& e) throw( RuntimeException, std::exception ) { EventObject aMulti( e); aMulti.Source = &m_rParent; @@ -170,7 +170,7 @@ FmXUpdateMultiplexer::FmXUpdateMultiplexer( ::cppu::OWeakObject& rSource, ::osl: } -Any SAL_CALL FmXUpdateMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXUpdateMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn; aReturn = ::cppu::queryInterface(_rType, @@ -185,12 +185,12 @@ Any SAL_CALL FmXUpdateMultiplexer::queryInterface(const Type& _rType) throw (Run } -void FmXUpdateMultiplexer::disposing(const EventObject& ) throw( RuntimeException ) +void FmXUpdateMultiplexer::disposing(const EventObject& ) throw( RuntimeException, std::exception ) { } -sal_Bool FmXUpdateMultiplexer::approveUpdate(const EventObject &e) throw( RuntimeException ) +sal_Bool FmXUpdateMultiplexer::approveUpdate(const EventObject &e) throw( RuntimeException, std::exception ) { EventObject aMulti( e ); aMulti.Source = &m_rParent; @@ -207,7 +207,7 @@ sal_Bool FmXUpdateMultiplexer::approveUpdate(const EventObject &e) throw( Runtim } -void FmXUpdateMultiplexer::updated(const EventObject &e) throw( RuntimeException ) +void FmXUpdateMultiplexer::updated(const EventObject &e) throw( RuntimeException, std::exception ) { EventObject aMulti( e ); aMulti.Source = &m_rParent; @@ -226,7 +226,7 @@ FmXSelectionMultiplexer::FmXSelectionMultiplexer( ::cppu::OWeakObject& rSource, } -Any SAL_CALL FmXSelectionMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXSelectionMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn; aReturn = ::cppu::queryInterface(_rType, @@ -241,12 +241,12 @@ Any SAL_CALL FmXSelectionMultiplexer::queryInterface(const Type& _rType) throw ( } -void FmXSelectionMultiplexer::disposing(const EventObject& ) throw( RuntimeException ) +void FmXSelectionMultiplexer::disposing(const EventObject& ) throw( RuntimeException, std::exception ) { } -void SAL_CALL FmXSelectionMultiplexer::selectionChanged( const EventObject& _rEvent ) throw (RuntimeException) +void SAL_CALL FmXSelectionMultiplexer::selectionChanged( const EventObject& _rEvent ) throw (RuntimeException, std::exception) { EventObject aMulti(_rEvent); aMulti.Source = &m_rParent; @@ -264,7 +264,7 @@ FmXContainerMultiplexer::FmXContainerMultiplexer( ::cppu::OWeakObject& rSource, } -Any SAL_CALL FmXContainerMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXContainerMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn; aReturn = ::cppu::queryInterface(_rType, @@ -279,11 +279,11 @@ Any SAL_CALL FmXContainerMultiplexer::queryInterface(const Type& _rType) throw ( } -void FmXContainerMultiplexer::disposing(const EventObject& ) throw( RuntimeException ) +void FmXContainerMultiplexer::disposing(const EventObject& ) throw( RuntimeException, std::exception ) { } -void FmXContainerMultiplexer::elementInserted(const ContainerEvent& e) throw( RuntimeException ) +void FmXContainerMultiplexer::elementInserted(const ContainerEvent& e) throw( RuntimeException, std::exception ) { ContainerEvent aMulti( e ); aMulti.Source = &m_rParent; @@ -291,7 +291,7 @@ void FmXContainerMultiplexer::elementInserted(const ContainerEvent& e) throw( Ru } -void FmXContainerMultiplexer::elementRemoved(const ContainerEvent& e) throw( RuntimeException ) +void FmXContainerMultiplexer::elementRemoved(const ContainerEvent& e) throw( RuntimeException, std::exception ) { ContainerEvent aMulti( e ); aMulti.Source = &m_rParent; @@ -300,7 +300,7 @@ void FmXContainerMultiplexer::elementRemoved(const ContainerEvent& e) throw( Run -void FmXContainerMultiplexer::elementReplaced(const ContainerEvent& e) throw( RuntimeException ) +void FmXContainerMultiplexer::elementReplaced(const ContainerEvent& e) throw( RuntimeException, std::exception ) { ContainerEvent aMulti( e ); aMulti.Source = &m_rParent; @@ -318,7 +318,7 @@ FmXGridControlMultiplexer::FmXGridControlMultiplexer( ::cppu::OWeakObject& rSour } -Any SAL_CALL FmXGridControlMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXGridControlMultiplexer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn; aReturn = ::cppu::queryInterface( _rType, @@ -332,12 +332,12 @@ Any SAL_CALL FmXGridControlMultiplexer::queryInterface(const Type& _rType) throw } -void FmXGridControlMultiplexer::disposing( const EventObject& ) throw( RuntimeException ) +void FmXGridControlMultiplexer::disposing( const EventObject& ) throw( RuntimeException, std::exception ) { } -void SAL_CALL FmXGridControlMultiplexer::columnChanged( const EventObject& _event ) throw (RuntimeException) +void SAL_CALL FmXGridControlMultiplexer::columnChanged( const EventObject& _event ) throw (RuntimeException, std::exception) { EventObject aForwardedEvent( _event ); aForwardedEvent.Source = &m_rParent; @@ -376,7 +376,7 @@ FmXGridControl::~FmXGridControl() } -Any SAL_CALL FmXGridControl::queryAggregation(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXGridControl::queryAggregation(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn = FmXGridControl_BASE::queryInterface(_rType); @@ -386,13 +386,13 @@ Any SAL_CALL FmXGridControl::queryAggregation(const Type& _rType) throw (Runtime } -Sequence< Type> SAL_CALL FmXGridControl::getTypes( ) throw(RuntimeException) +Sequence< Type> SAL_CALL FmXGridControl::getTypes( ) throw(RuntimeException, std::exception) { return comphelper::concatSequences(UnoControl::getTypes(),FmXGridControl_BASE::getTypes()); } -Sequence<sal_Int8> SAL_CALL FmXGridControl::getImplementationId( ) throw(RuntimeException) +Sequence<sal_Int8> SAL_CALL FmXGridControl::getImplementationId( ) throw(RuntimeException, std::exception) { static ::cppu::OImplementationId* pId = 0; if (! pId) @@ -408,17 +408,17 @@ Sequence<sal_Int8> SAL_CALL FmXGridControl::getImplementationId( ) throw(Runtim } // XServiceInfo -sal_Bool SAL_CALL FmXGridControl::supportsService(const OUString& ServiceName) throw() +sal_Bool SAL_CALL FmXGridControl::supportsService(const OUString& ServiceName) throw(std::exception) { return cppu::supportsService(this, ServiceName); } -OUString SAL_CALL FmXGridControl::getImplementationName() throw() +OUString SAL_CALL FmXGridControl::getImplementationName() throw(std::exception) { return OUString("com.sun.star.form.FmXGridControl"); } -::comphelper::StringSequence SAL_CALL FmXGridControl::getSupportedServiceNames() throw() +::comphelper::StringSequence SAL_CALL FmXGridControl::getSupportedServiceNames() throw(std::exception) { Sequence< OUString > aServiceNames(2); aServiceNames[0] = FM_SUN_CONTROL_GRIDCONTROL; @@ -427,7 +427,7 @@ OUString SAL_CALL FmXGridControl::getImplementationName() throw() } -void SAL_CALL FmXGridControl::dispose() throw( RuntimeException ) +void SAL_CALL FmXGridControl::dispose() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -448,7 +448,7 @@ OUString FmXGridControl::GetComponentServiceName() } -sal_Bool SAL_CALL FmXGridControl::setModel(const Reference< ::com::sun::star::awt::XControlModel >& rModel) throw( RuntimeException ) +sal_Bool SAL_CALL FmXGridControl::setModel(const Reference< ::com::sun::star::awt::XControlModel >& rModel) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -490,7 +490,7 @@ FmXGridPeer* FmXGridControl::imp_CreatePeer(Window* pParent) } -void SAL_CALL FmXGridControl::createPeer(const Reference< ::com::sun::star::awt::XToolkit >& /*rToolkit*/, const Reference< ::com::sun::star::awt::XWindowPeer >& rParentPeer) throw( RuntimeException ) +void SAL_CALL FmXGridControl::createPeer(const Reference< ::com::sun::star::awt::XToolkit >& /*rToolkit*/, const Reference< ::com::sun::star::awt::XWindowPeer >& rParentPeer) throw( RuntimeException, std::exception ) { if ( !mxModel.is() ) throw DisposedException( OUString(), *this ); @@ -647,7 +647,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< ::com::sun::star::awt: } -void FmXGridControl::addModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException ) +void FmXGridControl::addModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException, std::exception ) { m_aModifyListeners.addInterface( l ); if( getPeer().is() && m_aModifyListeners.getLength() == 1 ) @@ -658,7 +658,7 @@ void FmXGridControl::addModifyListener(const Reference< ::com::sun::star::util:: } -sal_Bool SAL_CALL FmXGridControl::select( const Any& _rSelection ) throw (IllegalArgumentException, RuntimeException) +sal_Bool SAL_CALL FmXGridControl::select( const Any& _rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception) { SolarMutexGuard aGuard; Reference< XSelectionSupplier > xPeer(getPeer(), UNO_QUERY); @@ -666,7 +666,7 @@ sal_Bool SAL_CALL FmXGridControl::select( const Any& _rSelection ) throw (Illega } -Any SAL_CALL FmXGridControl::getSelection( ) throw (RuntimeException) +Any SAL_CALL FmXGridControl::getSelection( ) throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; Reference< XSelectionSupplier > xPeer(getPeer(), UNO_QUERY); @@ -674,7 +674,7 @@ Any SAL_CALL FmXGridControl::getSelection( ) throw (RuntimeException) } -void SAL_CALL FmXGridControl::addSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException) +void SAL_CALL FmXGridControl::addSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException, std::exception) { m_aSelectionListeners.addInterface( _rxListener ); if( getPeer().is() && 1 == m_aSelectionListeners.getLength() ) @@ -685,7 +685,7 @@ void SAL_CALL FmXGridControl::addSelectionChangeListener( const Reference< XSele } -void SAL_CALL FmXGridControl::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException) +void SAL_CALL FmXGridControl::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException, std::exception) { if( getPeer().is() && 1 == m_aSelectionListeners.getLength() ) { @@ -696,7 +696,7 @@ void SAL_CALL FmXGridControl::removeSelectionChangeListener( const Reference< XS } -Sequence< sal_Bool > SAL_CALL FmXGridControl::queryFieldDataType( const Type& xType ) throw(RuntimeException) +Sequence< sal_Bool > SAL_CALL FmXGridControl::queryFieldDataType( const Type& xType ) throw(RuntimeException, std::exception) { if (getPeer().is()) { @@ -709,7 +709,7 @@ Sequence< sal_Bool > SAL_CALL FmXGridControl::queryFieldDataType( const Type& xT } -Sequence< Any > SAL_CALL FmXGridControl::queryFieldData( sal_Int32 nRow, const Type& xType ) throw(RuntimeException) +Sequence< Any > SAL_CALL FmXGridControl::queryFieldData( sal_Int32 nRow, const Type& xType ) throw(RuntimeException, std::exception) { if (getPeer().is()) { @@ -722,7 +722,7 @@ Sequence< Any > SAL_CALL FmXGridControl::queryFieldData( sal_Int32 nRow, const T } -void SAL_CALL FmXGridControl::removeModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException ) +void SAL_CALL FmXGridControl::removeModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException, std::exception ) { if( getPeer().is() && m_aModifyListeners.getLength() == 1 ) { @@ -733,7 +733,7 @@ void SAL_CALL FmXGridControl::removeModifyListener(const Reference< ::com::sun:: } -void SAL_CALL FmXGridControl::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeException ) +void SAL_CALL FmXGridControl::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; m_bInDraw = sal_True; @@ -742,7 +742,7 @@ void SAL_CALL FmXGridControl::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeExc } -void SAL_CALL FmXGridControl::setDesignMode(sal_Bool bOn) throw( RuntimeException ) +void SAL_CALL FmXGridControl::setDesignMode(sal_Bool bOn) throw( RuntimeException, std::exception ) { ::com::sun::star::util::ModeChangeEvent aModeChangeEvent; @@ -794,7 +794,7 @@ void SAL_CALL FmXGridControl::setDesignMode(sal_Bool bOn) throw( RuntimeExceptio // XBoundComponent -void SAL_CALL FmXGridControl::addUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException ) +void SAL_CALL FmXGridControl::addUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException, std::exception ) { m_aUpdateListeners.addInterface( l ); if( getPeer().is() && m_aUpdateListeners.getLength() == 1 ) @@ -805,7 +805,7 @@ void SAL_CALL FmXGridControl::addUpdateListener(const Reference< XUpdateListener } -void SAL_CALL FmXGridControl::removeUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException ) +void SAL_CALL FmXGridControl::removeUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException, std::exception ) { if( getPeer().is() && m_aUpdateListeners.getLength() == 1 ) { @@ -816,7 +816,7 @@ void SAL_CALL FmXGridControl::removeUpdateListener(const Reference< XUpdateListe } -sal_Bool SAL_CALL FmXGridControl::commit() throw( RuntimeException ) +sal_Bool SAL_CALL FmXGridControl::commit() throw( RuntimeException, std::exception ) { Reference< XBoundComponent > xBound(getPeer(), UNO_QUERY); if (xBound.is()) @@ -827,7 +827,7 @@ sal_Bool SAL_CALL FmXGridControl::commit() throw( RuntimeException ) // XContainer -void SAL_CALL FmXGridControl::addContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException ) +void SAL_CALL FmXGridControl::addContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException, std::exception ) { m_aContainerListeners.addInterface( l ); if( getPeer().is() && m_aContainerListeners.getLength() == 1 ) @@ -838,7 +838,7 @@ void SAL_CALL FmXGridControl::addContainerListener(const Reference< XContainerLi } -void SAL_CALL FmXGridControl::removeContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException ) +void SAL_CALL FmXGridControl::removeContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException, std::exception ) { if( getPeer().is() && m_aContainerListeners.getLength() == 1 ) { @@ -849,7 +849,7 @@ void SAL_CALL FmXGridControl::removeContainerListener(const Reference< XContaine } -Reference< ::com::sun::star::frame::XDispatch > SAL_CALL FmXGridControl::queryDispatch(const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( RuntimeException ) +Reference< ::com::sun::star::frame::XDispatch > SAL_CALL FmXGridControl::queryDispatch(const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::frame::XDispatchProvider > xPeerProvider(getPeer(), UNO_QUERY); if (xPeerProvider.is()) @@ -859,7 +859,7 @@ Reference< ::com::sun::star::frame::XDispatch > SAL_CALL FmXGridControl::queryD } -Sequence< Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL FmXGridControl::queryDispatches(const Sequence< ::com::sun::star::frame::DispatchDescriptor>& aDescripts) throw( RuntimeException ) +Sequence< Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL FmXGridControl::queryDispatches(const Sequence< ::com::sun::star::frame::DispatchDescriptor>& aDescripts) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::frame::XDispatchProvider > xPeerProvider(getPeer(), UNO_QUERY); if (xPeerProvider.is()) @@ -869,7 +869,7 @@ Sequence< Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL FmXGridCont } -void SAL_CALL FmXGridControl::registerDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException ) +void SAL_CALL FmXGridControl::registerDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::frame::XDispatchProviderInterception > xPeerInterception(getPeer(), UNO_QUERY); if (xPeerInterception.is()) @@ -877,7 +877,7 @@ void SAL_CALL FmXGridControl::registerDispatchProviderInterceptor(const Referenc } -void SAL_CALL FmXGridControl::releaseDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException ) +void SAL_CALL FmXGridControl::releaseDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::frame::XDispatchProviderInterception > xPeerInterception(getPeer(), UNO_QUERY); if (xPeerInterception.is()) @@ -885,7 +885,7 @@ void SAL_CALL FmXGridControl::releaseDispatchProviderInterceptor(const Reference } -void SAL_CALL FmXGridControl::addGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException ) +void SAL_CALL FmXGridControl::addGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( GetMutex() ); @@ -899,7 +899,7 @@ void SAL_CALL FmXGridControl::addGridControlListener( const Reference< XGridCont } -void SAL_CALL FmXGridControl::removeGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException ) +void SAL_CALL FmXGridControl::removeGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( GetMutex() ); @@ -914,14 +914,14 @@ void SAL_CALL FmXGridControl::removeGridControlListener( const Reference< XGridC } -sal_Int16 SAL_CALL FmXGridControl::getCurrentColumnPosition() throw( RuntimeException ) +sal_Int16 SAL_CALL FmXGridControl::getCurrentColumnPosition() throw( RuntimeException, std::exception ) { Reference< XGridControl > xGrid( getPeer(), UNO_QUERY ); return xGrid.is() ? xGrid->getCurrentColumnPosition() : -1; } -void SAL_CALL FmXGridControl::setCurrentColumnPosition(sal_Int16 nPos) throw( RuntimeException ) +void SAL_CALL FmXGridControl::setCurrentColumnPosition(sal_Int16 nPos) throw( RuntimeException, std::exception ) { Reference< XGridControl > xGrid( getPeer(), UNO_QUERY ); if ( xGrid.is() ) @@ -933,21 +933,21 @@ void SAL_CALL FmXGridControl::setCurrentColumnPosition(sal_Int16 nPos) throw( Ru // XElementAccess -sal_Bool SAL_CALL FmXGridControl::hasElements() throw( RuntimeException ) +sal_Bool SAL_CALL FmXGridControl::hasElements() throw( RuntimeException, std::exception ) { Reference< XElementAccess > xPeer(getPeer(), UNO_QUERY); return xPeer.is() ? xPeer->hasElements() : 0; } -Type SAL_CALL FmXGridControl::getElementType( ) throw(RuntimeException) +Type SAL_CALL FmXGridControl::getElementType( ) throw(RuntimeException, std::exception) { return ::getCppuType((const Reference< ::com::sun::star::awt::XTextComponent >*)NULL); } // XEnumerationAccess -Reference< XEnumeration > SAL_CALL FmXGridControl::createEnumeration() throw( RuntimeException ) +Reference< XEnumeration > SAL_CALL FmXGridControl::createEnumeration() throw( RuntimeException, std::exception ) { Reference< XEnumerationAccess > xPeer(getPeer(), UNO_QUERY); if (xPeer.is()) @@ -958,14 +958,14 @@ Reference< XEnumeration > SAL_CALL FmXGridControl::createEnumeration() throw( R // XIndexAccess -sal_Int32 SAL_CALL FmXGridControl::getCount() throw( RuntimeException ) +sal_Int32 SAL_CALL FmXGridControl::getCount() throw( RuntimeException, std::exception ) { Reference< XIndexAccess > xPeer(getPeer(), UNO_QUERY); return xPeer.is() ? xPeer->getCount() : 0; } -Any SAL_CALL FmXGridControl::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException ) +Any SAL_CALL FmXGridControl::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { Reference< XIndexAccess > xPeer(getPeer(), UNO_QUERY); if (!xPeer.is()) @@ -976,7 +976,7 @@ Any SAL_CALL FmXGridControl::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoun // ::com::sun::star::util::XModeSelector -void SAL_CALL FmXGridControl::setMode(const OUString& Mode) throw( NoSupportException, RuntimeException ) +void SAL_CALL FmXGridControl::setMode(const OUString& Mode) throw( NoSupportException, RuntimeException, std::exception ) { Reference< ::com::sun::star::util::XModeSelector > xPeer(getPeer(), UNO_QUERY); if (!xPeer.is()) @@ -986,21 +986,21 @@ void SAL_CALL FmXGridControl::setMode(const OUString& Mode) throw( NoSupportExce } -OUString SAL_CALL FmXGridControl::getMode() throw( RuntimeException ) +OUString SAL_CALL FmXGridControl::getMode() throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::util::XModeSelector > xPeer(getPeer(), UNO_QUERY); return xPeer.is() ? xPeer->getMode() : OUString(); } -::comphelper::StringSequence SAL_CALL FmXGridControl::getSupportedModes() throw( RuntimeException ) +::comphelper::StringSequence SAL_CALL FmXGridControl::getSupportedModes() throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::util::XModeSelector > xPeer(getPeer(), UNO_QUERY); return xPeer.is() ? xPeer->getSupportedModes() : ::comphelper::StringSequence(); } -sal_Bool SAL_CALL FmXGridControl::supportsMode(const OUString& Mode) throw( RuntimeException ) +sal_Bool SAL_CALL FmXGridControl::supportsMode(const OUString& Mode) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::util::XModeSelector > xPeer(getPeer(), UNO_QUERY); return xPeer.is() ? xPeer->supportsMode(Mode) : sal_False; @@ -1057,13 +1057,13 @@ Reference< XInterface > FmXGridPeer_CreateInstance(const Reference< XMultiServi } -Sequence< Type> SAL_CALL FmXGridPeer::getTypes( ) throw(RuntimeException) +Sequence< Type> SAL_CALL FmXGridPeer::getTypes( ) throw(RuntimeException, std::exception) { return comphelper::concatSequences( VCLXWindow::getTypes(), FmXGridPeer_BASE::getTypes() ); } -Sequence<sal_Int8> SAL_CALL FmXGridPeer::getImplementationId( ) throw(RuntimeException) +Sequence<sal_Int8> SAL_CALL FmXGridPeer::getImplementationId( ) throw(RuntimeException, std::exception) { static ::cppu::OImplementationId* pId = 0; if (! pId) @@ -1079,7 +1079,7 @@ Sequence<sal_Int8> SAL_CALL FmXGridPeer::getImplementationId( ) throw(RuntimeEx } -Any SAL_CALL FmXGridPeer::queryInterface(const Type& _rType) throw (RuntimeException) +Any SAL_CALL FmXGridPeer::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) { Any aReturn = FmXGridPeer_BASE::queryInterface(_rType); @@ -1189,7 +1189,7 @@ FmXGridPeer* FmXGridPeer::getImplementation( const Reference< XInterface >& _rxI } -sal_Int64 SAL_CALL FmXGridPeer::getSomething( const Sequence< sal_Int8 >& _rIdentifier ) throw(RuntimeException) +sal_Int64 SAL_CALL FmXGridPeer::getSomething( const Sequence< sal_Int8 >& _rIdentifier ) throw(RuntimeException, std::exception) { sal_Int64 nReturn(0); @@ -1207,7 +1207,7 @@ sal_Int64 SAL_CALL FmXGridPeer::getSomething( const Sequence< sal_Int8 >& _rIden // XEventListener -void FmXGridPeer::disposing(const EventObject& e) throw( RuntimeException ) +void FmXGridPeer::disposing(const EventObject& e) throw( RuntimeException, std::exception ) { using namespace ::com::sun::star::util; bool bKnownSender = false; @@ -1249,20 +1249,20 @@ using namespace ::com::sun::star::util; } -void FmXGridPeer::addModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException ) +void FmXGridPeer::addModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException, std::exception ) { m_aModifyListeners.addInterface( l ); } -void FmXGridPeer::removeModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException ) +void FmXGridPeer::removeModifyListener(const Reference< ::com::sun::star::util::XModifyListener >& l) throw( RuntimeException, std::exception ) { m_aModifyListeners.removeInterface( l ); } #define LAST_KNOWN_TYPE FormComponentType::PATTERNFIELD -Sequence< sal_Bool > SAL_CALL FmXGridPeer::queryFieldDataType( const Type& xType ) throw(RuntimeException) +Sequence< sal_Bool > SAL_CALL FmXGridPeer::queryFieldDataType( const Type& xType ) throw(RuntimeException, std::exception) { // eine 'Konvertierungstabelle' static const sal_Bool bCanConvert[LAST_KNOWN_TYPE][4] = @@ -1358,7 +1358,7 @@ Sequence< sal_Bool > SAL_CALL FmXGridPeer::queryFieldDataType( const Type& xType } -Sequence< Any > SAL_CALL FmXGridPeer::queryFieldData( sal_Int32 nRow, const Type& xType ) throw(RuntimeException) +Sequence< Any > SAL_CALL FmXGridPeer::queryFieldData( sal_Int32 nRow, const Type& xType ) throw(RuntimeException, std::exception) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); DBG_ASSERT(pGrid && pGrid->IsOpen(), "FmXGridPeer::queryFieldData : have no valid grid window !"); @@ -1447,7 +1447,7 @@ void FmXGridPeer::CellModified() // XPropertyChangeListener -void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeException ) +void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; // want to do a lot of VCL stuff here ... @@ -1560,19 +1560,19 @@ void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeE // XBoundComponent -void FmXGridPeer::addUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException ) +void FmXGridPeer::addUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException, std::exception ) { m_aUpdateListeners.addInterface(l); } -void FmXGridPeer::removeUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException ) +void FmXGridPeer::removeUpdateListener(const Reference< XUpdateListener >& l) throw( RuntimeException, std::exception ) { m_aUpdateListeners.removeInterface(l); } -sal_Bool FmXGridPeer::commit() throw( RuntimeException ) +sal_Bool FmXGridPeer::commit() throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (!m_xCursor.is() || !pGrid) @@ -1595,7 +1595,7 @@ sal_Bool FmXGridPeer::commit() throw( RuntimeException ) -void FmXGridPeer::cursorMoved(const EventObject& _rEvent) throw( RuntimeException ) +void FmXGridPeer::cursorMoved(const EventObject& _rEvent) throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); // we are not interested in move to insert row only in the resetted event @@ -1605,7 +1605,7 @@ void FmXGridPeer::cursorMoved(const EventObject& _rEvent) throw( RuntimeExceptio } -void FmXGridPeer::rowChanged(const EventObject& _rEvent) throw( RuntimeException ) +void FmXGridPeer::rowChanged(const EventObject& _rEvent) throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (pGrid && pGrid->IsOpen()) @@ -1618,7 +1618,7 @@ void FmXGridPeer::rowChanged(const EventObject& _rEvent) throw( RuntimeException } -void FmXGridPeer::rowSetChanged(const EventObject& /*event*/) throw( RuntimeException ) +void FmXGridPeer::rowSetChanged(const EventObject& /*event*/) throw( RuntimeException, std::exception ) { // not interested in ... // (our parent is a form which means we get a loaded or reloaded after this rowSetChanged) @@ -1626,40 +1626,40 @@ void FmXGridPeer::rowSetChanged(const EventObject& /*event*/) throw( RuntimeExce // XLoadListener -void FmXGridPeer::loaded(const EventObject& /*rEvent*/) throw( RuntimeException ) +void FmXGridPeer::loaded(const EventObject& /*rEvent*/) throw( RuntimeException, std::exception ) { updateGrid(m_xCursor); } -void FmXGridPeer::unloaded(const EventObject& /*rEvent*/) throw( RuntimeException ) +void FmXGridPeer::unloaded(const EventObject& /*rEvent*/) throw( RuntimeException, std::exception ) { updateGrid( Reference< XRowSet > (NULL) ); } -void FmXGridPeer::reloading(const EventObject& /*aEvent*/) throw( RuntimeException ) +void FmXGridPeer::reloading(const EventObject& /*aEvent*/) throw( RuntimeException, std::exception ) { // empty the grid updateGrid( Reference< XRowSet > (NULL) ); } -void FmXGridPeer::unloading(const EventObject& /*aEvent*/) throw( RuntimeException ) +void FmXGridPeer::unloading(const EventObject& /*aEvent*/) throw( RuntimeException, std::exception ) { // empty the grid updateGrid( Reference< XRowSet > (NULL) ); } -void FmXGridPeer::reloaded(const EventObject& /*aEvent*/) throw( RuntimeException ) +void FmXGridPeer::reloaded(const EventObject& /*aEvent*/) throw( RuntimeException, std::exception ) { updateGrid(m_xCursor); } // XGridPeer -Reference< XIndexContainer > FmXGridPeer::getColumns() throw( RuntimeException ) +Reference< XIndexContainer > FmXGridPeer::getColumns() throw( RuntimeException, std::exception ) { return m_xColumns; } @@ -1706,7 +1706,7 @@ void FmXGridPeer::removeColumnListeners(const Reference< XPropertySet >& xCol) } -void FmXGridPeer::setColumns(const Reference< XIndexContainer >& Columns) throw( RuntimeException ) +void FmXGridPeer::setColumns(const Reference< XIndexContainer >& Columns) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1763,7 +1763,7 @@ void FmXGridPeer::setColumns(const Reference< XIndexContainer >& Columns) throw( } -void FmXGridPeer::setDesignMode(sal_Bool bOn) throw( RuntimeException ) +void FmXGridPeer::setDesignMode(sal_Bool bOn) throw( RuntimeException, std::exception ) { if (bOn != isDesignMode()) { @@ -1779,7 +1779,7 @@ void FmXGridPeer::setDesignMode(sal_Bool bOn) throw( RuntimeException ) } -sal_Bool FmXGridPeer::isDesignMode() throw( RuntimeException ) +sal_Bool FmXGridPeer::isDesignMode() throw( RuntimeException, std::exception ) { Window* pWin = GetWindow(); if (pWin) @@ -1789,7 +1789,7 @@ sal_Bool FmXGridPeer::isDesignMode() throw( RuntimeException ) } -void FmXGridPeer::elementInserted(const ContainerEvent& evt) throw( RuntimeException ) +void FmXGridPeer::elementInserted(const ContainerEvent& evt) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1822,7 +1822,7 @@ void FmXGridPeer::elementInserted(const ContainerEvent& evt) throw( RuntimeExcep } -void FmXGridPeer::elementReplaced(const ContainerEvent& evt) throw( RuntimeException ) +void FmXGridPeer::elementReplaced(const ContainerEvent& evt) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1877,7 +1877,7 @@ void FmXGridPeer::elementReplaced(const ContainerEvent& evt) throw( RuntimeExcep } -void FmXGridPeer::elementRemoved(const ContainerEvent& evt) throw( RuntimeException ) +void FmXGridPeer::elementRemoved(const ContainerEvent& evt) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1894,7 +1894,7 @@ void FmXGridPeer::elementRemoved(const ContainerEvent& evt) throw( RuntimeExcept } -void FmXGridPeer::setProperty( const OUString& PropertyName, const Any& Value) throw( RuntimeException ) +void FmXGridPeer::setProperty( const OUString& PropertyName, const Any& Value) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -2107,7 +2107,7 @@ Reference< XAccessibleContext > FmXGridPeer::CreateAccessibleContext() } -Any FmXGridPeer::getProperty( const OUString& _rPropertyName ) throw( RuntimeException ) +Any FmXGridPeer::getProperty( const OUString& _rPropertyName ) throw( RuntimeException, std::exception ) { Any aProp; if (GetWindow()) @@ -2156,7 +2156,7 @@ Any FmXGridPeer::getProperty( const OUString& _rPropertyName ) throw( RuntimeExc } -void FmXGridPeer::dispose() throw( RuntimeException ) +void FmXGridPeer::dispose() throw( RuntimeException, std::exception ) { EventObject aEvt; aEvt.Source = static_cast< ::cppu::OWeakObject* >(this); @@ -2188,12 +2188,12 @@ void FmXGridPeer::dispose() throw( RuntimeException ) // XContainer -void FmXGridPeer::addContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException ) +void FmXGridPeer::addContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException, std::exception ) { m_aContainerListeners.addInterface( l ); } -void FmXGridPeer::removeContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException ) +void FmXGridPeer::removeContainerListener(const Reference< XContainerListener >& l) throw( RuntimeException, std::exception ) { m_aContainerListeners.removeInterface( l ); } @@ -2254,13 +2254,13 @@ void FmXGridPeer::updateGrid(const Reference< XRowSet >& _rxCursor) } -Reference< XRowSet > FmXGridPeer::getRowSet() throw( RuntimeException ) +Reference< XRowSet > FmXGridPeer::getRowSet() throw( RuntimeException, std::exception ) { return m_xCursor; } -void FmXGridPeer::setRowSet(const Reference< XRowSet >& _rDatabaseCursor) throw( RuntimeException ) +void FmXGridPeer::setRowSet(const Reference< XRowSet >& _rDatabaseCursor) throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (!pGrid || !m_xColumns.is() || !m_xColumns->getCount()) @@ -2297,26 +2297,26 @@ void FmXGridPeer::setRowSet(const Reference< XRowSet >& _rDatabaseCursor) throw( } -void SAL_CALL FmXGridPeer::addGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException ) +void SAL_CALL FmXGridPeer::addGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException, std::exception ) { m_aGridControlListeners.addInterface( _listener ); } -void SAL_CALL FmXGridPeer::removeGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException ) +void SAL_CALL FmXGridPeer::removeGridControlListener( const Reference< XGridControlListener >& _listener ) throw( RuntimeException, std::exception ) { m_aGridControlListeners.removeInterface( _listener ); } -sal_Int16 FmXGridPeer::getCurrentColumnPosition() throw( RuntimeException ) +sal_Int16 FmXGridPeer::getCurrentColumnPosition() throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); return pGrid ? pGrid->GetViewColumnPos(pGrid->GetCurColumnId()) : -1; } -void FmXGridPeer::setCurrentColumnPosition(sal_Int16 nPos) throw( RuntimeException ) +void FmXGridPeer::setCurrentColumnPosition(sal_Int16 nPos) throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (pGrid) @@ -2324,7 +2324,7 @@ void FmXGridPeer::setCurrentColumnPosition(sal_Int16 nPos) throw( RuntimeExcepti } -void FmXGridPeer::selectionChanged(const EventObject& evt) throw( RuntimeException ) +void FmXGridPeer::selectionChanged(const EventObject& evt) throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -2374,27 +2374,27 @@ void FmXGridPeer::selectionChanged(const EventObject& evt) throw( RuntimeExcepti // XElementAccess -sal_Bool FmXGridPeer::hasElements() throw( RuntimeException ) +sal_Bool FmXGridPeer::hasElements() throw( RuntimeException, std::exception ) { return getCount() != 0; } -Type SAL_CALL FmXGridPeer::getElementType( ) throw(RuntimeException) +Type SAL_CALL FmXGridPeer::getElementType( ) throw(RuntimeException, std::exception) { return ::getCppuType((Reference< ::com::sun::star::awt::XControl> *)NULL); } // XEnumerationAccess -Reference< XEnumeration > FmXGridPeer::createEnumeration() throw( RuntimeException ) +Reference< XEnumeration > FmXGridPeer::createEnumeration() throw( RuntimeException, std::exception ) { return new ::comphelper::OEnumerationByIndex(this); } // XIndexAccess -sal_Int32 FmXGridPeer::getCount() throw( RuntimeException ) +sal_Int32 FmXGridPeer::getCount() throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (pGrid) @@ -2404,7 +2404,7 @@ sal_Int32 FmXGridPeer::getCount() throw( RuntimeException ) } -Any FmXGridPeer::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException ) +Any FmXGridPeer::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); if (_nIndex < 0 || @@ -2429,7 +2429,7 @@ Any FmXGridPeer::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, // ::com::sun::star::util::XModeSelector -void FmXGridPeer::setMode(const OUString& Mode) throw( NoSupportException, RuntimeException ) +void FmXGridPeer::setMode(const OUString& Mode) throw( NoSupportException, RuntimeException, std::exception ) { if (!supportsMode(Mode)) throw NoSupportException(); @@ -2450,13 +2450,13 @@ void FmXGridPeer::setMode(const OUString& Mode) throw( NoSupportException, Runti } -OUString FmXGridPeer::getMode() throw( RuntimeException ) +OUString FmXGridPeer::getMode() throw( RuntimeException, std::exception ) { return m_aMode; } -::comphelper::StringSequence FmXGridPeer::getSupportedModes() throw( RuntimeException ) +::comphelper::StringSequence FmXGridPeer::getSupportedModes() throw( RuntimeException, std::exception ) { static ::comphelper::StringSequence aModes; if (!aModes.getLength()) @@ -2470,7 +2470,7 @@ OUString FmXGridPeer::getMode() throw( RuntimeException ) } -sal_Bool FmXGridPeer::supportsMode(const OUString& Mode) throw( RuntimeException ) +sal_Bool FmXGridPeer::supportsMode(const OUString& Mode) throw( RuntimeException, std::exception ) { ::comphelper::StringSequence aModes(getSupportedModes()); const OUString* pModes = aModes.getConstArray(); @@ -2513,7 +2513,7 @@ void FmXGridPeer::columnHidden(DbGridColumn* pColumn) } -void FmXGridPeer::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeException ) +void FmXGridPeer::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeException, std::exception ) { FmGridControl* pGrid = (FmGridControl*) GetWindow(); sal_Int32 nOldFlags = pGrid->GetBrowserFlags(); @@ -2525,7 +2525,7 @@ void FmXGridPeer::draw( sal_Int32 x, sal_Int32 y ) throw( RuntimeException ) } -Reference< ::com::sun::star::frame::XDispatch > FmXGridPeer::queryDispatch(const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( RuntimeException ) +Reference< ::com::sun::star::frame::XDispatch > FmXGridPeer::queryDispatch(const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( RuntimeException, std::exception ) { Reference< ::com::sun::star::frame::XDispatch > xResult; @@ -2544,7 +2544,7 @@ Reference< ::com::sun::star::frame::XDispatch > FmXGridPeer::queryDispatch(cons } -Sequence< Reference< ::com::sun::star::frame::XDispatch > > FmXGridPeer::queryDispatches(const Sequence< ::com::sun::star::frame::DispatchDescriptor>& aDescripts) throw( RuntimeException ) +Sequence< Reference< ::com::sun::star::frame::XDispatch > > FmXGridPeer::queryDispatches(const Sequence< ::com::sun::star::frame::DispatchDescriptor>& aDescripts) throw( RuntimeException, std::exception ) { if (m_xFirstDispatchInterceptor.is()) return m_xFirstDispatchInterceptor->queryDispatches(aDescripts); @@ -2554,7 +2554,7 @@ Sequence< Reference< ::com::sun::star::frame::XDispatch > > FmXGridPeer::queryDi } -void FmXGridPeer::registerDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException ) +void FmXGridPeer::registerDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException, std::exception ) { if (_xInterceptor.is()) { @@ -2583,7 +2583,7 @@ void FmXGridPeer::registerDispatchProviderInterceptor(const Reference< ::com::su } -void FmXGridPeer::releaseDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException ) +void FmXGridPeer::releaseDispatchProviderInterceptor(const Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& _xInterceptor) throw( RuntimeException, std::exception ) { if (!_xInterceptor.is()) return; @@ -2637,7 +2637,7 @@ void FmXGridPeer::releaseDispatchProviderInterceptor(const Reference< ::com::sun } -void FmXGridPeer::statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( RuntimeException ) +void FmXGridPeer::statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( RuntimeException, std::exception ) { DBG_ASSERT(m_pStateCache, "FmXGridPeer::statusChanged : invalid call !"); DBG_ASSERT(m_pDispatchers, "FmXGridPeer::statusChanged : invalid call !"); @@ -2665,13 +2665,13 @@ void FmXGridPeer::statusChanged(const ::com::sun::star::frame::FeatureStateEvent } -sal_Bool FmXGridPeer::approveReset(const EventObject& /*rEvent*/) throw( RuntimeException ) +sal_Bool FmXGridPeer::approveReset(const EventObject& /*rEvent*/) throw( RuntimeException, std::exception ) { return sal_True; } -sal_Bool SAL_CALL FmXGridPeer::select( const Any& _rSelection ) throw (IllegalArgumentException, RuntimeException) +sal_Bool SAL_CALL FmXGridPeer::select( const Any& _rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception) { Sequence< Any > aBookmarks; if ( !( _rSelection >>= aBookmarks ) ) @@ -2689,7 +2689,7 @@ sal_Bool SAL_CALL FmXGridPeer::select( const Any& _rSelection ) throw (IllegalAr } -Any SAL_CALL FmXGridPeer::getSelection( ) throw (RuntimeException) +Any SAL_CALL FmXGridPeer::getSelection( ) throw (RuntimeException, std::exception) { FmGridControl* pVclControl = static_cast<FmGridControl*>(GetWindow()); Sequence< Any > aSelectionBookmarks = pVclControl->getSelectionBookmarks(); @@ -2697,19 +2697,19 @@ Any SAL_CALL FmXGridPeer::getSelection( ) throw (RuntimeException) } -void SAL_CALL FmXGridPeer::addSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException) +void SAL_CALL FmXGridPeer::addSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException, std::exception) { m_aSelectionListeners.addInterface( _rxListener ); } -void SAL_CALL FmXGridPeer::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException) +void SAL_CALL FmXGridPeer::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& _rxListener ) throw (RuntimeException, std::exception) { m_aSelectionListeners.removeInterface( _rxListener ); } -void FmXGridPeer::resetted(const EventObject& rEvent) throw( RuntimeException ) +void FmXGridPeer::resetted(const EventObject& rEvent) throw( RuntimeException, std::exception ) { if (m_xColumns == rEvent.Source) { // my model was reset -> refresh the grid content |