diff options
Diffstat (limited to 'forms/source/richtext/richtextcontrol.cxx')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 6d1aa2c708f5..5bdd44154c93 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -63,7 +63,7 @@ namespace frm IMPLEMENT_FORWARD_XTYPEPROVIDER2( ORichTextControl, UnoEditControl, ORichTextControl_Base ) - Any SAL_CALL ORichTextControl::queryAggregation( const Type& _rType ) throw ( RuntimeException, std::exception ) + Any SAL_CALL ORichTextControl::queryAggregation( const Type& _rType ) { Any aReturn = UnoEditControl::queryAggregation( _rType ); @@ -144,7 +144,7 @@ namespace frm } - void SAL_CALL ORichTextControl::createPeer( const Reference< XToolkit >& _rToolkit, const Reference< XWindowPeer >& _rParentPeer ) throw( RuntimeException, std::exception ) + void SAL_CALL ORichTextControl::createPeer( const Reference< XToolkit >& _rToolkit, const Reference< XWindowPeer >& _rParentPeer ) { bool bReallyActAsRichText = false; try @@ -215,19 +215,19 @@ namespace frm } } - OUString SAL_CALL ORichTextControl::getImplementationName() throw( RuntimeException, std::exception ) + OUString SAL_CALL ORichTextControl::getImplementationName() { return OUString( "com.sun.star.comp.form.ORichTextControl" ); } - Sequence< OUString > SAL_CALL ORichTextControl::getSupportedServiceNames() throw( RuntimeException, std::exception ) + Sequence< OUString > SAL_CALL ORichTextControl::getSupportedServiceNames() { return { "com.sun.star.awt.UnoControl", "com.sun.star.awt.UnoControlEdit", FRM_SUN_CONTROL_RICHTEXTCONTROL }; } - Reference< XDispatch > SAL_CALL ORichTextControl::queryDispatch( const css::util::URL& _rURL, const OUString& _rTargetFrameName, sal_Int32 _nSearchFlags ) throw (RuntimeException, std::exception) + Reference< XDispatch > SAL_CALL ORichTextControl::queryDispatch( const css::util::URL& _rURL, const OUString& _rTargetFrameName, sal_Int32 _nSearchFlags ) { Reference< XDispatch > aReturn; Reference< XDispatchProvider > xTypedPeer( getPeer(), UNO_QUERY ); @@ -238,7 +238,7 @@ namespace frm return aReturn; } - Sequence< Reference< XDispatch > > SAL_CALL ORichTextControl::queryDispatches( const Sequence< DispatchDescriptor >& _rRequests ) throw (RuntimeException, std::exception) + Sequence< Reference< XDispatch > > SAL_CALL ORichTextControl::queryDispatches( const Sequence< DispatchDescriptor >& _rRequests ) { Sequence< Reference< XDispatch > > aReturn; Reference< XDispatchProvider > xTypedPeer( getPeer(), UNO_QUERY ); @@ -290,7 +290,7 @@ namespace frm } - void ORichTextPeer::dispose( ) throw(RuntimeException, std::exception) + void ORichTextPeer::dispose( ) { { SolarMutexGuard aGuard; @@ -316,7 +316,7 @@ namespace frm } - void SAL_CALL ORichTextPeer::draw( sal_Int32 _nX, sal_Int32 _nY ) throw(css::uno::RuntimeException, std::exception) + void SAL_CALL ORichTextPeer::draw( sal_Int32 _nX, sal_Int32 _nY ) { SolarMutexGuard aGuard; @@ -344,8 +344,6 @@ namespace frm void SAL_CALL ORichTextPeer::setProperty( const OUString& _rPropertyName, const Any& _rValue ) - throw (RuntimeException, - std::exception) { SolarMutexGuard g; @@ -594,7 +592,7 @@ namespace frm } - Reference< XDispatch > SAL_CALL ORichTextPeer::queryDispatch( const css::util::URL& _rURL, const OUString& /*_rTargetFrameName*/, sal_Int32 /*_nSearchFlags*/ ) throw (RuntimeException, std::exception) + Reference< XDispatch > SAL_CALL ORichTextPeer::queryDispatch( const css::util::URL& _rURL, const OUString& /*_rTargetFrameName*/, sal_Int32 /*_nSearchFlags*/ ) { Reference< XDispatch > xReturn; if ( !GetWindow() ) @@ -631,7 +629,7 @@ namespace frm } - Sequence< Reference< XDispatch > > SAL_CALL ORichTextPeer::queryDispatches( const Sequence< DispatchDescriptor >& _rRequests ) throw (RuntimeException, std::exception) + Sequence< Reference< XDispatch > > SAL_CALL ORichTextPeer::queryDispatches( const Sequence< DispatchDescriptor >& _rRequests ) { Sequence< Reference< XDispatch > > aReturn( _rRequests.getLength() ); Reference< XDispatch >* pReturn = aReturn.getArray(); |