diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:12:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:48 +0200 |
commit | bf37694ab8c984e3cbbe666c408e0f168ba61f52 (patch) | |
tree | 202336246ff36303d494c38292214694d7f0d7dd /include | |
parent | dfd44d0b122869e291ba42085e31164a401a0a23 (diff) |
svx: remove SAL_THROW macro
Change-Id: I8bfce109e55871d48b35300be98085f383fef26f
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/AccessibleControlShape.hxx | 4 | ||||
-rw-r--r-- | include/svx/AccessibleTextHelper.hxx | 20 | ||||
-rw-r--r-- | include/svx/dbtoolsclient.hxx | 10 |
3 files changed, 16 insertions, 18 deletions
diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx index 5477914d5de2..55cd22d7d5f0 100644 --- a/include/svx/AccessibleControlShape.hxx +++ b/include/svx/AccessibleControlShape.hxx @@ -135,10 +135,10 @@ protected: #endif // DBG_UTIL /// (safely) reads the given property from the model of the UNO control - OUString getControlModelStringProperty( const OUString& _rPropertyName ) const SAL_THROW(( )); + OUString getControlModelStringProperty( const OUString& _rPropertyName ) const; /// ensure that our control model exists(will be retrieved upon need only) - bool ensureControlModelAccess( ) SAL_THROW(( )); + bool ensureControlModelAccess( ); /// ensures that we're listening for the given property if(and only if!) necessary bool ensureListeningState( const bool _bCurrentlyListening, const bool _bNeedNewListening, diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx index d96b256ed411..d369c0d18b20 100644 --- a/include/svx/AccessibleTextHelper.hxx +++ b/include/svx/AccessibleTextHelper.hxx @@ -145,7 +145,7 @@ namespace accessibility should only be called from the main office thread. */ - virtual const SvxEditSource& GetEditSource() const SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual const SvxEditSource& GetEditSource() const; /** Set the current edit source @@ -188,7 +188,7 @@ namespace accessibility from the caller to the callee. */ SAL_WNODEPRECATED_DECLARATIONS_PUSH - virtual void SetEditSource( ::std::auto_ptr< SvxEditSource > pEditSource ) SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual void SetEditSource( ::std::auto_ptr< SvxEditSource > pEditSource ); SAL_WNODEPRECATED_DECLARATIONS_POP /** Set the event source @@ -288,7 +288,7 @@ namespace accessibility (e.g. via TEXT_HINT_VIEWSCROLLED). Normally, there should not be a need to call this method. */ - virtual void UpdateChildren() SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual void UpdateChildren(); /** Drop all references and enter disposed state @@ -323,7 +323,7 @@ namespace accessibility @see HaveFocus() */ - virtual void SetFocus( bool bHaveFocus = true ) SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual void SetFocus( bool bHaveFocus = true ); /** Query the focus state of the surrounding object @@ -335,7 +335,7 @@ namespace accessibility @return the state of the focus ownership */ - virtual bool HaveFocus() SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual bool HaveFocus(); /** Call this method to invoke all event listeners with the given event @@ -381,13 +381,13 @@ namespace accessibility @attention Don't call with locked mutexes. You may hold the solar mutex, but this method aquires it anyway. */ - virtual sal_Int32 GetChildCount() SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual sal_Int32 GetChildCount(); /** Implements getAccessibleChild @attention Don't call with locked mutexes. You may hold the solar mutex, but this method aquires it anyway. */ - virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetChild( sal_Int32 i ) SAL_THROW((::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException)); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetChild( sal_Int32 i ); // XAccessibleEventBroadcaster child related methods @@ -395,12 +395,12 @@ namespace accessibility @attention Don't call with locked mutexes */ - virtual void AddEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual void AddEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ); /** Implements removeEventListener @attention Don't call with locked mutexes */ - virtual void RemoveEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual void RemoveEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ); // XAccessibleComponent child related methods @@ -409,7 +409,7 @@ namespace accessibility @attention Don't call with locked mutexes. You may hold the solar mutex, but this method aquires it anyway. */ - virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL GetAt( const ::com::sun::star::awt::Point& aPoint ) SAL_THROW((::com::sun::star::uno::RuntimeException)); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL GetAt( const ::com::sun::star::awt::Point& aPoint ); private: diff --git a/include/svx/dbtoolsclient.hxx b/include/svx/dbtoolsclient.hxx index a7001c48cd8a..6064e35ffb20 100644 --- a/include/svx/dbtoolsclient.hxx +++ b/include/svx/dbtoolsclient.hxx @@ -90,19 +90,17 @@ namespace svxform const OUString& _rUser, const OUString& _rPwd, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext - ) const SAL_THROW ( (::com::sun::star::sdbc::SQLException) ); + ) const; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> connectRowset( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext, bool _bSetAsActiveConnection - ) const SAL_THROW ( ( ::com::sun::star::sdbc::SQLException - , ::com::sun::star::lang::WrappedTargetException - , ::com::sun::star::uno::RuntimeException) ); + ) const; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> getRowSetConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet) - const SAL_THROW ( (::com::sun::star::uno::RuntimeException) ); + const; void TransferFormComponentProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxOld, @@ -142,7 +140,7 @@ namespace svxform const OUString& _rCommand, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& _rxKeepFieldsAlive, ::dbtools::SQLExceptionInfo* _pErrorInfo = NULL - ) SAL_THROW( ( ) ); + ); bool isEmbeddedInDatabase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent, |