diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:28:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:54:43 +0000 |
commit | e57ca02849c3d87142ff5ff9099a212e72b8139c (patch) | |
tree | bcce66b27261553c308779f3e8663a269ed3a671 /svtools/source/uno | |
parent | 8802ebd5172ec4bc412a59d136c82b77ab452281 (diff) |
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.
Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly). The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually). There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).
Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code. Missing @throws
documentation has not been applied in such manual clean-up.
Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/uno')
-rw-r--r-- | svtools/source/uno/addrtempuno.cxx | 20 | ||||
-rw-r--r-- | svtools/source/uno/framestatuslistener.cxx | 6 | ||||
-rw-r--r-- | svtools/source/uno/generictoolboxcontroller.cxx | 3 | ||||
-rw-r--r-- | svtools/source/uno/genericunodialog.cxx | 16 | ||||
-rw-r--r-- | svtools/source/uno/popupmenucontrollerbase.cxx | 26 | ||||
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 8 | ||||
-rw-r--r-- | svtools/source/uno/statusbarcontroller.cxx | 16 | ||||
-rw-r--r-- | svtools/source/uno/svtxgridcontrol.cxx | 52 | ||||
-rw-r--r-- | svtools/source/uno/svtxgridcontrol.hxx | 54 | ||||
-rw-r--r-- | svtools/source/uno/toolboxcontroller.cxx | 19 | ||||
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 96 | ||||
-rw-r--r-- | svtools/source/uno/treecontrolpeer.hxx | 88 | ||||
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 36 | ||||
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 8 | ||||
-rw-r--r-- | svtools/source/uno/unoiface.cxx | 192 | ||||
-rw-r--r-- | svtools/source/uno/unoimap.cxx | 71 | ||||
-rw-r--r-- | svtools/source/uno/wizard/unowizard.cxx | 76 |
17 files changed, 348 insertions, 439 deletions
diff --git a/svtools/source/uno/addrtempuno.cxx b/svtools/source/uno/addrtempuno.cxx index 4ffafea5f4f5..1138aaa5e7dc 100644 --- a/svtools/source/uno/addrtempuno.cxx +++ b/svtools/source/uno/addrtempuno.cxx @@ -54,20 +54,20 @@ namespace { explicit OAddressBookSourceDialogUno(const Reference< XComponentContext >& _rxORB); // XTypeProvider - virtual Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(RuntimeException, std::exception) override; + virtual Sequence<sal_Int8> SAL_CALL getImplementationId( ) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override; - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; // XPropertySet - virtual Reference< XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(RuntimeException, std::exception) override; + virtual Reference< XPropertySetInfo> SAL_CALL getPropertySetInfo() override; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; // OPropertyArrayUsageHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; - virtual void SAL_CALL initialize(const Sequence< Any >& aArguments) throw(Exception, RuntimeException, std::exception) override; + virtual void SAL_CALL initialize(const Sequence< Any >& aArguments) override; protected: // OGenericUnoDialog overridables @@ -87,26 +87,26 @@ namespace { } - Sequence<sal_Int8> SAL_CALL OAddressBookSourceDialogUno::getImplementationId( ) throw(RuntimeException, std::exception) + Sequence<sal_Int8> SAL_CALL OAddressBookSourceDialogUno::getImplementationId( ) { return css::uno::Sequence<sal_Int8>(); } - OUString SAL_CALL OAddressBookSourceDialogUno::getImplementationName() throw(RuntimeException, std::exception) + OUString SAL_CALL OAddressBookSourceDialogUno::getImplementationName() { return OUString( "com.sun.star.comp.svtools.OAddressBookSourceDialogUno" ); } - css::uno::Sequence<OUString> SAL_CALL OAddressBookSourceDialogUno::getSupportedServiceNames() throw(RuntimeException, std::exception) + css::uno::Sequence<OUString> SAL_CALL OAddressBookSourceDialogUno::getSupportedServiceNames() { css::uno::Sequence<OUString> aSupported { "com.sun.star.ui.AddressBookSourceDialog" }; return aSupported; } - Reference<XPropertySetInfo> SAL_CALL OAddressBookSourceDialogUno::getPropertySetInfo() throw(RuntimeException, std::exception) + Reference<XPropertySetInfo> SAL_CALL OAddressBookSourceDialogUno::getPropertySetInfo() { Reference<XPropertySetInfo> xInfo( createPropertySetInfo( getInfoHelper() ) ); return xInfo; @@ -136,7 +136,7 @@ namespace { static_cast< AddressBookSourceDialog* >( m_pDialog.get() )->getFieldMapping( m_aAliases ); } - void SAL_CALL OAddressBookSourceDialogUno::initialize(const Sequence< Any >& rArguments) throw(Exception, RuntimeException, std::exception) + void SAL_CALL OAddressBookSourceDialogUno::initialize(const Sequence< Any >& rArguments) { if( rArguments.getLength() == 5 ) { diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx index 2819b53a569e..518ae332575c 100644 --- a/svtools/source/uno/framestatuslistener.cxx +++ b/svtools/source/uno/framestatuslistener.cxx @@ -53,7 +53,6 @@ FrameStatusListener::~FrameStatusListener() // XInterface Any SAL_CALL FrameStatusListener::queryInterface( const Type& rType ) -throw ( RuntimeException, std::exception ) { Any a = ::cppu::queryInterface( rType , @@ -81,7 +80,6 @@ void SAL_CALL FrameStatusListener::release() throw () // XComponent void SAL_CALL FrameStatusListener::dispose() -throw (css::uno::RuntimeException, std::exception) { Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY ); @@ -115,20 +113,17 @@ throw (css::uno::RuntimeException, std::exception) } void SAL_CALL FrameStatusListener::addEventListener( const Reference< XEventListener >& ) -throw ( RuntimeException, std::exception ) { // helper class for status updates - no need to support listener } void SAL_CALL FrameStatusListener::removeEventListener( const Reference< XEventListener >& ) -throw ( RuntimeException, std::exception ) { // helper class for status updates - no need to support listener } // XEventListener void SAL_CALL FrameStatusListener::disposing( const EventObject& Source ) -throw ( RuntimeException, std::exception ) { Reference< XInterface > xSource( Source.Source ); @@ -149,7 +144,6 @@ throw ( RuntimeException, std::exception ) } void FrameStatusListener::frameAction( const FrameActionEvent& Action ) -throw ( RuntimeException, std::exception ) { if ( Action.Action == FrameAction_CONTEXT_CHANGED ) bindListener(); diff --git a/svtools/source/uno/generictoolboxcontroller.cxx b/svtools/source/uno/generictoolboxcontroller.cxx index 43d34379da18..dd03972489b1 100644 --- a/svtools/source/uno/generictoolboxcontroller.cxx +++ b/svtools/source/uno/generictoolboxcontroller.cxx @@ -71,7 +71,6 @@ GenericToolboxController::~GenericToolboxController() } void SAL_CALL GenericToolboxController::dispose() -throw ( RuntimeException, std::exception ) { SolarMutexGuard aSolarMutexGuard; m_pToolbox.clear(); @@ -80,7 +79,6 @@ throw ( RuntimeException, std::exception ) } void SAL_CALL GenericToolboxController::execute( sal_Int16 /*KeyModifier*/ ) -throw ( RuntimeException, std::exception ) { Reference< XDispatch > xDispatch; Reference< XURLTransformer > xURLTransformer; @@ -124,7 +122,6 @@ throw ( RuntimeException, std::exception ) } void GenericToolboxController::statusChanged( const FeatureStateEvent& Event ) -throw ( RuntimeException, std::exception ) { SolarMutexGuard aSolarMutexGuard; diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index b7543b202a46..c7a17139eb65 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -73,7 +73,7 @@ OGenericUnoDialog::~OGenericUnoDialog() } -Any SAL_CALL OGenericUnoDialog::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) +Any SAL_CALL OGenericUnoDialog::queryInterface(const Type& _rType) { Any aReturn = OGenericUnoDialogBase::queryInterface(_rType); @@ -88,7 +88,7 @@ Any SAL_CALL OGenericUnoDialog::queryInterface(const Type& _rType) throw (Runtim } -Sequence<Type> SAL_CALL OGenericUnoDialog::getTypes( ) throw(RuntimeException, std::exception) +Sequence<Type> SAL_CALL OGenericUnoDialog::getTypes( ) { return ::comphelper::concatSequences( OGenericUnoDialogBase::getTypes(), @@ -96,13 +96,13 @@ Sequence<Type> SAL_CALL OGenericUnoDialog::getTypes( ) throw(RuntimeException, ); } -sal_Bool SAL_CALL OGenericUnoDialog::supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL OGenericUnoDialog::supportsService(const OUString& ServiceName) { return cppu::supportsService(this, ServiceName); } -void OGenericUnoDialog::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw(Exception, std::exception) +void OGenericUnoDialog::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) { // TODO : need some handling if we're currently executing ... @@ -119,7 +119,7 @@ void OGenericUnoDialog::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, con } -sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) throw(IllegalArgumentException) +sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) { switch (nHandle) { @@ -139,7 +139,7 @@ sal_Bool OGenericUnoDialog::convertFastPropertyValue( Any& rConvertedValue, Any& } -void SAL_CALL OGenericUnoDialog::setTitle( const OUString& _rTitle ) throw(RuntimeException, std::exception) +void SAL_CALL OGenericUnoDialog::setTitle( const OUString& _rTitle ) { UnoDialogEntryGuard aGuard( *this ); @@ -195,7 +195,7 @@ bool OGenericUnoDialog::impl_ensureDialog_lck() } -sal_Int16 SAL_CALL OGenericUnoDialog::execute( ) throw(RuntimeException, std::exception) +sal_Int16 SAL_CALL OGenericUnoDialog::execute( ) { // both creation and execution of the dialog must be guarded with the SolarMutex, so be generous here SolarMutexGuard aSolarGuard; @@ -288,7 +288,7 @@ void OGenericUnoDialog::implInitialize(const Any& _rValue) } -void SAL_CALL OGenericUnoDialog::initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) +void SAL_CALL OGenericUnoDialog::initialize( const Sequence< Any >& aArguments ) { ::osl::MutexGuard aGuard( m_aMutex ); if ( m_bInitialized ) diff --git a/svtools/source/uno/popupmenucontrollerbase.cxx b/svtools/source/uno/popupmenucontrollerbase.cxx index 1c0f3431f8f7..225aa304d2b5 100644 --- a/svtools/source/uno/popupmenucontrollerbase.cxx +++ b/svtools/source/uno/popupmenucontrollerbase.cxx @@ -67,7 +67,7 @@ PopupMenuControllerBase::~PopupMenuControllerBase() } // protected function -void PopupMenuControllerBase::throwIfDisposed() throw ( RuntimeException ) +void PopupMenuControllerBase::throwIfDisposed() { if (rBHelper.bDisposed || rBHelper.bInDispose) throw css::lang::DisposedException(); @@ -92,13 +92,13 @@ void SAL_CALL PopupMenuControllerBase::disposing() } // XServiceInfo -sal_Bool SAL_CALL PopupMenuControllerBase::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL PopupMenuControllerBase::supportsService( const OUString& ServiceName ) { return cppu::supportsService(this, ServiceName); } // XEventListener -void SAL_CALL PopupMenuControllerBase::disposing( const EventObject& ) throw ( RuntimeException, std::exception ) +void SAL_CALL PopupMenuControllerBase::disposing( const EventObject& ) { osl::MutexGuard aLock( m_aMutex ); m_xFrame.clear(); @@ -107,11 +107,11 @@ void SAL_CALL PopupMenuControllerBase::disposing( const EventObject& ) throw ( R } // XMenuListener -void SAL_CALL PopupMenuControllerBase::itemHighlighted( const awt::MenuEvent& ) throw (RuntimeException, std::exception) +void SAL_CALL PopupMenuControllerBase::itemHighlighted( const awt::MenuEvent& ) { } -void SAL_CALL PopupMenuControllerBase::itemSelected( const awt::MenuEvent& rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL PopupMenuControllerBase::itemSelected( const awt::MenuEvent& rEvent ) { throwIfDisposed(); @@ -157,15 +157,15 @@ IMPL_STATIC_LINK( PopupMenuControllerBase, ExecuteHdl_Impl, void*, p, void ) delete pDispatchInfo; } -void SAL_CALL PopupMenuControllerBase::itemActivated( const awt::MenuEvent& ) throw (RuntimeException, std::exception) +void SAL_CALL PopupMenuControllerBase::itemActivated( const awt::MenuEvent& ) { } -void SAL_CALL PopupMenuControllerBase::itemDeactivated( const awt::MenuEvent& ) throw (RuntimeException, std::exception) +void SAL_CALL PopupMenuControllerBase::itemDeactivated( const awt::MenuEvent& ) { } -void SAL_CALL PopupMenuControllerBase::updatePopupMenu() throw ( css::uno::RuntimeException, std::exception ) +void SAL_CALL PopupMenuControllerBase::updatePopupMenu() { osl::ClearableMutexGuard aLock( m_aMutex ); throwIfDisposed(); @@ -199,7 +199,6 @@ PopupMenuControllerBase::queryDispatch( const URL& /*aURL*/, const OUString& /*sTarget*/, sal_Int32 /*nFlags*/ ) -throw( RuntimeException, std::exception ) { // must be implemented by subclass osl::MutexGuard aLock( m_aMutex ); @@ -208,7 +207,7 @@ throw( RuntimeException, std::exception ) return Reference< XDispatch >(); } -Sequence< Reference< XDispatch > > SAL_CALL PopupMenuControllerBase::queryDispatches( const Sequence< DispatchDescriptor >& lDescriptor ) throw( RuntimeException, std::exception ) +Sequence< Reference< XDispatch > > SAL_CALL PopupMenuControllerBase::queryDispatches( const Sequence< DispatchDescriptor >& lDescriptor ) { // Create return list - which must have same size then the given descriptor // It's not allowed to pack it! @@ -235,7 +234,6 @@ void SAL_CALL PopupMenuControllerBase::dispatch( const URL& /*aURL*/, const Sequence< PropertyValue >& /*seqProperties*/ ) -throw( css::uno::RuntimeException, std::exception ) { // must be implemented by subclass osl::MutexGuard aLock( m_aMutex ); @@ -246,7 +244,6 @@ void SAL_CALL PopupMenuControllerBase::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL ) -throw( css::uno::RuntimeException, std::exception ) { osl::ResettableMutexGuard aLock( m_aMutex ); throwIfDisposed(); @@ -275,7 +272,6 @@ throw( css::uno::RuntimeException, std::exception ) void SAL_CALL PopupMenuControllerBase::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& /*aURL*/ ) -throw( css::uno::RuntimeException, std::exception ) { rBHelper.removeListener( cppu::UnoType<decltype(xControl)>::get(), xControl ); } @@ -302,7 +298,7 @@ OUString PopupMenuControllerBase::determineBaseURL( const OUString& aURL ) } // XInitialization -void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException, std::exception ) +void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArguments ) { osl::MutexGuard aLock( m_aMutex ); @@ -336,7 +332,7 @@ void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArgum } } // XPopupMenuController -void SAL_CALL PopupMenuControllerBase::setPopupMenu( const Reference< awt::XPopupMenu >& xPopupMenu ) throw ( RuntimeException, std::exception ) +void SAL_CALL PopupMenuControllerBase::setPopupMenu( const Reference< awt::XPopupMenu >& xPopupMenu ) { osl::MutexGuard aLock( m_aMutex ); throwIfDisposed(); diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx index 9229f09bf040..51d7bbc38dde 100644 --- a/svtools/source/uno/popupwindowcontroller.cxx +++ b/svtools/source/uno/popupwindowcontroller.cxx @@ -163,26 +163,26 @@ PopupWindowController::~PopupWindowController() } // XServiceInfo -sal_Bool SAL_CALL PopupWindowController::supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL PopupWindowController::supportsService( const OUString& ServiceName ) { return cppu::supportsService(this, ServiceName); } // XComponent -void SAL_CALL PopupWindowController::dispose() throw (RuntimeException, std::exception) +void SAL_CALL PopupWindowController::dispose() { mxImpl.reset(); svt::ToolboxController::dispose(); } // XStatusListener -void SAL_CALL PopupWindowController::statusChanged( const frame::FeatureStateEvent& rEvent ) throw ( RuntimeException, std::exception ) +void SAL_CALL PopupWindowController::statusChanged( const frame::FeatureStateEvent& rEvent ) { svt::ToolboxController::statusChanged(rEvent); enable( rEvent.IsEnabled ); } -Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() throw (RuntimeException, std::exception) +Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() { VclPtr< ToolBox > pToolBox = dynamic_cast< ToolBox* >( VCLUnoHelper::GetWindow( getParent() ).get() ); if( pToolBox ) diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx index d2ae6a6b8c85..8bb37ea27ae7 100644 --- a/svtools/source/uno/statusbarcontroller.cxx +++ b/svtools/source/uno/statusbarcontroller.cxx @@ -94,7 +94,6 @@ Reference< XURLTransformer > StatusbarController::getURLTransformer() const // XInterface Any SAL_CALL StatusbarController::queryInterface( const Type& rType ) -throw ( RuntimeException, std::exception ) { Any a = ::cppu::queryInterface( rType , @@ -122,7 +121,6 @@ void SAL_CALL StatusbarController::release() throw () } void SAL_CALL StatusbarController::initialize( const Sequence< Any >& aArguments ) -throw ( Exception, RuntimeException, std::exception ) { bool bInitialized( true ); @@ -171,7 +169,6 @@ throw ( Exception, RuntimeException, std::exception ) } void SAL_CALL StatusbarController::update() -throw ( RuntimeException, std::exception ) { { SolarMutexGuard aSolarMutexGuard; @@ -185,7 +182,6 @@ throw ( RuntimeException, std::exception ) // XComponent void SAL_CALL StatusbarController::dispose() -throw (css::uno::RuntimeException, std::exception) { Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY ); @@ -235,20 +231,17 @@ throw (css::uno::RuntimeException, std::exception) } void SAL_CALL StatusbarController::addEventListener( const Reference< XEventListener >& xListener ) -throw ( RuntimeException, std::exception ) { m_aListenerContainer.addInterface( cppu::UnoType<XEventListener>::get(), xListener ); } void SAL_CALL StatusbarController::removeEventListener( const Reference< XEventListener >& aListener ) -throw ( RuntimeException, std::exception ) { m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), aListener ); } // XEventListener void SAL_CALL StatusbarController::disposing( const EventObject& Source ) -throw ( RuntimeException, std::exception ) { SolarMutexGuard aSolarMutexGuard; @@ -279,7 +272,6 @@ throw ( RuntimeException, std::exception ) // XStatusListener void SAL_CALL StatusbarController::statusChanged( const FeatureStateEvent& Event ) -throw ( RuntimeException, std::exception ) { SolarMutexGuard aSolarMutexGuard; @@ -302,21 +294,18 @@ throw ( RuntimeException, std::exception ) // XStatusbarController sal_Bool SAL_CALL StatusbarController::mouseButtonDown( const css::awt::MouseEvent& ) -throw (css::uno::RuntimeException, std::exception) { return false; } sal_Bool SAL_CALL StatusbarController::mouseMove( const css::awt::MouseEvent& ) -throw (css::uno::RuntimeException, std::exception) { return false; } sal_Bool SAL_CALL StatusbarController::mouseButtonUp( const css::awt::MouseEvent& ) -throw (css::uno::RuntimeException, std::exception) { return false; } @@ -326,7 +315,6 @@ void SAL_CALL StatusbarController::command( ::sal_Int32, sal_Bool, const css::uno::Any& ) -throw (css::uno::RuntimeException, std::exception) { } @@ -334,16 +322,14 @@ void SAL_CALL StatusbarController::paint( const css::uno::Reference< css::awt::XGraphics >&, const css::awt::Rectangle&, ::sal_Int32 ) -throw (css::uno::RuntimeException, std::exception) { } void SAL_CALL StatusbarController::click( const css::awt::Point& ) -throw (css::uno::RuntimeException, std::exception) { } -void SAL_CALL StatusbarController::doubleClick( const css::awt::Point& ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL StatusbarController::doubleClick( const css::awt::Point& ) { SolarMutexGuard aSolarMutexGuard; diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx index 07a840655704..574180953fa0 100644 --- a/svtools/source/uno/svtxgridcontrol.cxx +++ b/svtools/source/uno/svtxgridcontrol.cxx @@ -108,7 +108,7 @@ void SVTXGridControl::impl_checkRowIndex_throw( ::svt::table::TableControl const } -sal_Int32 SAL_CALL SVTXGridControl::getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL SVTXGridControl::getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) { SolarMutexGuard aGuard; @@ -120,7 +120,7 @@ sal_Int32 SAL_CALL SVTXGridControl::getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) } -sal_Int32 SAL_CALL SVTXGridControl::getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL SVTXGridControl::getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) { SolarMutexGuard aGuard; @@ -132,7 +132,7 @@ sal_Int32 SAL_CALL SVTXGridControl::getColumnAtPoint(::sal_Int32 x, ::sal_Int32 } -sal_Int32 SAL_CALL SVTXGridControl::getCurrentColumn( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL SVTXGridControl::getCurrentColumn( ) { SolarMutexGuard aGuard; @@ -144,7 +144,7 @@ sal_Int32 SAL_CALL SVTXGridControl::getCurrentColumn( ) throw (RuntimeException } -sal_Int32 SAL_CALL SVTXGridControl::getCurrentRow( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL SVTXGridControl::getCurrentRow( ) { SolarMutexGuard aGuard; @@ -156,7 +156,7 @@ sal_Int32 SAL_CALL SVTXGridControl::getCurrentRow( ) throw (RuntimeException, s } -void SAL_CALL SVTXGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, VetoException, std::exception) +void SAL_CALL SVTXGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) { SolarMutexGuard aGuard; @@ -170,19 +170,19 @@ void SAL_CALL SVTXGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 } -void SAL_CALL SVTXGridControl::addSelectionListener(const Reference< XGridSelectionListener > & listener) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::addSelectionListener(const Reference< XGridSelectionListener > & listener) { m_aSelectionListeners.addInterface(listener); } -void SAL_CALL SVTXGridControl::removeSelectionListener(const Reference< XGridSelectionListener > & listener) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::removeSelectionListener(const Reference< XGridSelectionListener > & listener) { m_aSelectionListeners.removeInterface(listener); } -void SVTXGridControl::setProperty( const OUString& PropertyName, const Any& aValue) throw(RuntimeException, std::exception) +void SVTXGridControl::setProperty( const OUString& PropertyName, const Any& aValue) { SolarMutexGuard aGuard; @@ -466,7 +466,7 @@ namespace } } -Any SVTXGridControl::getProperty( const OUString& PropertyName ) throw(RuntimeException, std::exception) +Any SVTXGridControl::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -600,7 +600,7 @@ Any SVTXGridControl::getProperty( const OUString& PropertyName ) throw(RuntimeEx } -void SAL_CALL SVTXGridControl::rowsInserted( const GridDataEvent& i_event ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::rowsInserted( const GridDataEvent& i_event ) { SolarMutexGuard aGuard; m_xTableModel->notifyRowsInserted( i_event ); @@ -608,14 +608,14 @@ void SAL_CALL SVTXGridControl::rowsInserted( const GridDataEvent& i_event ) thro void SAL_CALL - SVTXGridControl::rowsRemoved( const GridDataEvent& i_event ) throw (RuntimeException, std::exception) + SVTXGridControl::rowsRemoved( const GridDataEvent& i_event ) { SolarMutexGuard aGuard; m_xTableModel->notifyRowsRemoved( i_event ); } -void SAL_CALL SVTXGridControl::dataChanged( const GridDataEvent& i_event ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::dataChanged( const GridDataEvent& i_event ) { SolarMutexGuard aGuard; @@ -629,7 +629,7 @@ void SAL_CALL SVTXGridControl::dataChanged( const GridDataEvent& i_event ) throw } -void SAL_CALL SVTXGridControl::rowHeadingChanged( const GridDataEvent& ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::rowHeadingChanged( const GridDataEvent& ) { SolarMutexGuard aGuard; @@ -641,7 +641,7 @@ void SAL_CALL SVTXGridControl::rowHeadingChanged( const GridDataEvent& ) throw ( } -void SAL_CALL SVTXGridControl::elementInserted( const ContainerEvent& i_event ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::elementInserted( const ContainerEvent& i_event ) { SolarMutexGuard aGuard; @@ -653,7 +653,7 @@ void SAL_CALL SVTXGridControl::elementInserted( const ContainerEvent& i_event ) } -void SAL_CALL SVTXGridControl::elementRemoved( const ContainerEvent& i_event ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::elementRemoved( const ContainerEvent& i_event ) { SolarMutexGuard aGuard; @@ -663,7 +663,7 @@ void SAL_CALL SVTXGridControl::elementRemoved( const ContainerEvent& i_event ) t } -void SAL_CALL SVTXGridControl::elementReplaced( const ContainerEvent& ) throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::elementReplaced( const ContainerEvent& ) { OSL_ENSURE( false, "SVTXGridControl::elementReplaced: not implemented!" ); // at the moment, the XGridColumnModel API does not allow replacing columns @@ -671,13 +671,13 @@ void SAL_CALL SVTXGridControl::elementReplaced( const ContainerEvent& ) throw (R } -void SAL_CALL SVTXGridControl::disposing( const EventObject& Source ) throw(RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::disposing( const EventObject& Source ) { VCLXWindow::disposing( Source ); } -void SAL_CALL SVTXGridControl::selectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, std::exception ) +void SAL_CALL SVTXGridControl::selectRow( ::sal_Int32 i_rowIndex ) { SolarMutexGuard aGuard; @@ -690,7 +690,7 @@ void SAL_CALL SVTXGridControl::selectRow( ::sal_Int32 i_rowIndex ) throw (Runtim } -void SAL_CALL SVTXGridControl::selectAllRows() throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::selectAllRows() { SolarMutexGuard aGuard; @@ -701,7 +701,7 @@ void SAL_CALL SVTXGridControl::selectAllRows() throw (RuntimeException, std::exc } -void SAL_CALL SVTXGridControl::deselectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, std::exception ) +void SAL_CALL SVTXGridControl::deselectRow( ::sal_Int32 i_rowIndex ) { SolarMutexGuard aGuard; @@ -714,7 +714,7 @@ void SAL_CALL SVTXGridControl::deselectRow( ::sal_Int32 i_rowIndex ) throw (Runt } -void SAL_CALL SVTXGridControl::deselectAllRows() throw (RuntimeException, std::exception) +void SAL_CALL SVTXGridControl::deselectAllRows() { SolarMutexGuard aGuard; @@ -725,7 +725,7 @@ void SAL_CALL SVTXGridControl::deselectAllRows() throw (RuntimeException, std::e } -Sequence< ::sal_Int32 > SAL_CALL SVTXGridControl::getSelectedRows() throw (RuntimeException, std::exception) +Sequence< ::sal_Int32 > SAL_CALL SVTXGridControl::getSelectedRows() { SolarMutexGuard aGuard; @@ -740,7 +740,7 @@ Sequence< ::sal_Int32 > SAL_CALL SVTXGridControl::getSelectedRows() throw (Runti } -sal_Bool SAL_CALL SVTXGridControl::hasSelectedRows() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL SVTXGridControl::hasSelectedRows() { SolarMutexGuard aGuard; @@ -751,7 +751,7 @@ sal_Bool SAL_CALL SVTXGridControl::hasSelectedRows() throw (RuntimeException, st } -sal_Bool SAL_CALL SVTXGridControl::isRowSelected( ::sal_Int32 index ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL SVTXGridControl::isRowSelected( ::sal_Int32 index ) { SolarMutexGuard aGuard; @@ -762,7 +762,7 @@ sal_Bool SAL_CALL SVTXGridControl::isRowSelected( ::sal_Int32 index ) throw (Run } -void SVTXGridControl::dispose() throw(RuntimeException, std::exception) +void SVTXGridControl::dispose() { EventObject aObj; aObj.Source = static_cast<cppu::OWeakObject*>(this); @@ -850,7 +850,7 @@ void SVTXGridControl::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent } -void SVTXGridControl::setEnable( sal_Bool bEnable ) throw(css::uno::RuntimeException, std::exception) +void SVTXGridControl::setEnable( sal_Bool bEnable ) { SolarMutexGuard aGuard; diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index 07af15b39982..a8e074d1074d 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -64,45 +64,45 @@ public: virtual ~SVTXGridControl() override; // XGridDataListener - virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) override; + virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) override; + virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) override; + virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) override; // XContainerListener - virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) override; + virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) override; + virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override; // XEventListener - virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; // XGridControl - virtual ::sal_Int32 SAL_CALL getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getCurrentColumn( ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getCurrentRow( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, css::util::VetoException, std::exception) override; + virtual ::sal_Int32 SAL_CALL getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) override; + virtual ::sal_Int32 SAL_CALL getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) override; + virtual ::sal_Int32 SAL_CALL getCurrentColumn( ) override; + virtual ::sal_Int32 SAL_CALL getCurrentRow( ) override; + virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) override; // XGridRowSelection - virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception ) override; - virtual void SAL_CALL selectAllRows() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception ) override; - virtual void SAL_CALL deselectAllRows() throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedRows() throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasSelectedRows() throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isRowSelected(::sal_Int32 index) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception) override; - - void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) override; + virtual void SAL_CALL selectAllRows() override; + virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) override; + virtual void SAL_CALL deselectAllRows() override; + virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedRows() override; + virtual sal_Bool SAL_CALL hasSelectedRows() override; + virtual sal_Bool SAL_CALL isRowSelected(::sal_Int32 index) override; + virtual void SAL_CALL addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) override; + virtual void SAL_CALL removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) override; + + void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) override; + css::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) override; // css::lang::XComponent - void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) override; + void SAL_CALL dispose( ) override; // XWindow - void SAL_CALL setEnable( sal_Bool bEnable ) throw(css::uno::RuntimeException, std::exception) override; + void SAL_CALL setEnable( sal_Bool bEnable ) override; protected: // VCLXWindow diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx index 79a03db19e04..b8a48f08ae8f 100644 --- a/svtools/source/uno/toolboxcontroller.cxx +++ b/svtools/source/uno/toolboxcontroller.cxx @@ -133,7 +133,6 @@ Reference< XLayoutManager > ToolboxController::getLayoutManager() const // XInterface Any SAL_CALL ToolboxController::queryInterface( const Type& rType ) -throw ( RuntimeException, std::exception ) { css::uno::Any a(ToolboxController_Base::queryInterface(rType)); return a.hasValue() ? a : OPropertyContainer::queryInterface(rType); @@ -150,7 +149,6 @@ void SAL_CALL ToolboxController::release() throw () } css::uno::Sequence<css::uno::Type> ToolboxController::getTypes() - throw (css::uno::RuntimeException, std::exception) { css::uno::Sequence<css::uno::Type> s1(ToolboxController_Base::getTypes()); css::uno::Sequence<css::uno::Type> s2(getBaseTypes()); @@ -163,7 +161,6 @@ css::uno::Sequence<css::uno::Type> ToolboxController::getTypes() } void SAL_CALL ToolboxController::initialize( const Sequence< Any >& aArguments ) -throw ( Exception, RuntimeException, std::exception ) { bool bInitialized( true ); @@ -220,7 +217,6 @@ throw ( Exception, RuntimeException, std::exception ) } void SAL_CALL ToolboxController::update() -throw ( RuntimeException, std::exception ) { { SolarMutexGuard aSolarMutexGuard; @@ -234,7 +230,6 @@ throw ( RuntimeException, std::exception ) // XComponent void SAL_CALL ToolboxController::dispose() -throw (css::uno::RuntimeException, std::exception) { Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY ); @@ -275,20 +270,17 @@ throw (css::uno::RuntimeException, std::exception) } void SAL_CALL ToolboxController::addEventListener( const Reference< XEventListener >& xListener ) -throw ( RuntimeException, std::exception ) { m_aListenerContainer.addInterface( cppu::UnoType<XEventListener>::get(), xListener ); } void SAL_CALL ToolboxController::removeEventListener( const Reference< XEventListener >& aListener ) -throw ( RuntimeException, std::exception ) { m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), aListener ); } // XEventListener void SAL_CALL ToolboxController::disposing( const EventObject& Source ) -throw ( RuntimeException, std::exception ) { Reference< XInterface > xSource( Source.Source ); @@ -314,14 +306,12 @@ throw ( RuntimeException, std::exception ) // XStatusListener void SAL_CALL ToolboxController::statusChanged( const FeatureStateEvent& ) -throw ( RuntimeException, std::exception ) { // must be implemented by sub class } // XToolbarController void SAL_CALL ToolboxController::execute( sal_Int16 KeyModifier ) -throw (css::uno::RuntimeException, std::exception) { Reference< XDispatch > xDispatch; OUString aCommandURL; @@ -368,23 +358,19 @@ throw (css::uno::RuntimeException, std::exception) } void SAL_CALL ToolboxController::click() -throw (css::uno::RuntimeException, std::exception) { } void SAL_CALL ToolboxController::doubleClick() -throw (css::uno::RuntimeException, std::exception) { } Reference< XWindow > SAL_CALL ToolboxController::createPopupWindow() -throw (css::uno::RuntimeException, std::exception) { return Reference< XWindow >(); } Reference< XWindow > SAL_CALL ToolboxController::createItemWindow( const Reference< XWindow >& ) -throw (css::uno::RuntimeException, std::exception) { return Reference< XWindow >(); } @@ -697,7 +683,7 @@ void ToolboxController::dispatchCommand( const OUString& sCommandURL, const Sequ } -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ToolboxController::getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ToolboxController::getPropertySetInfo() { Reference<XPropertySetInfo> xInfo( createPropertySetInfo( getInfoHelper() ) ); return xInfo; @@ -719,7 +705,7 @@ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ToolboxController: sal_Bool SAL_CALL ToolboxController::convertFastPropertyValue( css::uno::Any& aConvertedValue , css::uno::Any& aOldValue , sal_Int32 nHandle , - const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException ) + const css::uno::Any& aValue ) { switch (nHandle) { @@ -742,7 +728,6 @@ sal_Bool SAL_CALL ToolboxController::convertFastPropertyValue( css::uno::Any& void SAL_CALL ToolboxController::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& aValue ) -throw( css::uno::Exception, std::exception) { OPropertyContainer::setFastPropertyValue_NoBroadcast(nHandle, aValue); if (TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIBLE == nHandle) diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index fa2a39137b10..e2a5cf9bbfea 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -180,7 +180,7 @@ void TreeControlPeer::removeEntry( UnoTreeListEntry* pEntry ) } -UnoTreeListEntry* TreeControlPeer::getEntry( const Reference< XTreeNode >& xNode, bool bThrow /* = true */ ) throw( IllegalArgumentException ) +UnoTreeListEntry* TreeControlPeer::getEntry( const Reference< XTreeNode >& xNode, bool bThrow /* = true */ ) { if( mpTreeNodeMap ) { @@ -416,7 +416,7 @@ void TreeControlPeer::addNode( UnoTreeListBoxImpl& rTree, const Reference< XTree } -UnoTreeListBoxImpl& TreeControlPeer::getTreeListBoxOrThrow() const throw (RuntimeException ) +UnoTreeListBoxImpl& TreeControlPeer::getTreeListBoxOrThrow() const { if( !mpTreeImpl ) throw DisposedException(); @@ -424,7 +424,7 @@ UnoTreeListBoxImpl& TreeControlPeer::getTreeListBoxOrThrow() const throw (Runtim } -void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect, bool bSetSelection ) throw( RuntimeException, IllegalArgumentException ) +void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect, bool bSetSelection ) { SolarMutexGuard aGuard; @@ -481,7 +481,7 @@ void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect, // css::view::XSelectionSupplier -sal_Bool SAL_CALL TreeControlPeer::select( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::select( const Any& rSelection ) { SolarMutexGuard aGuard; ChangeNodesSelection( rSelection, true, true ); @@ -489,7 +489,7 @@ sal_Bool SAL_CALL TreeControlPeer::select( const Any& rSelection ) throw (Illega } -Any SAL_CALL TreeControlPeer::getSelection() throw (RuntimeException, std::exception) +Any SAL_CALL TreeControlPeer::getSelection() { SolarMutexGuard aGuard; @@ -524,13 +524,13 @@ Any SAL_CALL TreeControlPeer::getSelection() throw (RuntimeException, std::excep } -void SAL_CALL TreeControlPeer::addSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::addSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) { maSelectionListeners.addInterface( xListener ); } -void SAL_CALL TreeControlPeer::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) { maSelectionListeners.addInterface( xListener ); } @@ -539,27 +539,27 @@ void SAL_CALL TreeControlPeer::removeSelectionChangeListener( const Reference< X // css::view::XMultiSelectionSupplier -sal_Bool SAL_CALL TreeControlPeer::addSelection( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::addSelection( const Any& rSelection ) { ChangeNodesSelection( rSelection, true, false ); return true; } -void SAL_CALL TreeControlPeer::removeSelection( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::removeSelection( const Any& rSelection ) { ChangeNodesSelection( rSelection, false, false ); } -void SAL_CALL TreeControlPeer::clearSelection() throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::clearSelection() { SolarMutexGuard aGuard; getTreeListBoxOrThrow().SelectAll( false ); } -sal_Int32 SAL_CALL TreeControlPeer::getSelectionCount() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL TreeControlPeer::getSelectionCount() { SolarMutexGuard aGuard; return getTreeListBoxOrThrow().GetSelectionCount(); @@ -570,8 +570,8 @@ class TreeSelectionEnumeration : public ::cppu::WeakImplHelper< XEnumeration > { public: explicit TreeSelectionEnumeration( std::list< Any >& rSelection ); - virtual sal_Bool SAL_CALL hasMoreElements() throw (RuntimeException, std::exception) override; - virtual Any SAL_CALL nextElement() throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL hasMoreElements() override; + virtual Any SAL_CALL nextElement() override; std::list< Any > maSelection; std::list< Any >::iterator maIter; @@ -585,13 +585,13 @@ TreeSelectionEnumeration::TreeSelectionEnumeration( std::list< Any >& rSelection } -sal_Bool SAL_CALL TreeSelectionEnumeration::hasMoreElements() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TreeSelectionEnumeration::hasMoreElements() { return maIter != maSelection.end(); } -Any SAL_CALL TreeSelectionEnumeration::nextElement() throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TreeSelectionEnumeration::nextElement() { if( maIter == maSelection.end() ) throw NoSuchElementException(); @@ -600,7 +600,7 @@ Any SAL_CALL TreeSelectionEnumeration::nextElement() throw (NoSuchElementExcepti } -Reference< XEnumeration > SAL_CALL TreeControlPeer::createSelectionEnumeration() throw (RuntimeException, std::exception) +Reference< XEnumeration > SAL_CALL TreeControlPeer::createSelectionEnumeration() { SolarMutexGuard aGuard; @@ -623,7 +623,7 @@ Reference< XEnumeration > SAL_CALL TreeControlPeer::createSelectionEnumeration() } -Reference< XEnumeration > SAL_CALL TreeControlPeer::createReverseSelectionEnumeration() throw (RuntimeException, std::exception) +Reference< XEnumeration > SAL_CALL TreeControlPeer::createReverseSelectionEnumeration() { SolarMutexGuard aGuard; @@ -649,14 +649,14 @@ Reference< XEnumeration > SAL_CALL TreeControlPeer::createReverseSelectionEnumer // css::awt::XTreeControl -OUString SAL_CALL TreeControlPeer::getDefaultExpandedGraphicURL() throw (css::uno::RuntimeException, std::exception) +OUString SAL_CALL TreeControlPeer::getDefaultExpandedGraphicURL() { SolarMutexGuard aGuard; return msDefaultExpandedGraphicURL; } -void SAL_CALL TreeControlPeer::setDefaultExpandedGraphicURL( const OUString& sDefaultExpandedGraphicURL ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::setDefaultExpandedGraphicURL( const OUString& sDefaultExpandedGraphicURL ) { SolarMutexGuard aGuard; if( msDefaultExpandedGraphicURL != sDefaultExpandedGraphicURL ) @@ -685,14 +685,14 @@ void SAL_CALL TreeControlPeer::setDefaultExpandedGraphicURL( const OUString& sDe } -OUString SAL_CALL TreeControlPeer::getDefaultCollapsedGraphicURL() throw (css::uno::RuntimeException, std::exception) +OUString SAL_CALL TreeControlPeer::getDefaultCollapsedGraphicURL() { SolarMutexGuard aGuard; return msDefaultCollapsedGraphicURL; } -void SAL_CALL TreeControlPeer::setDefaultCollapsedGraphicURL( const OUString& sDefaultCollapsedGraphicURL ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::setDefaultCollapsedGraphicURL( const OUString& sDefaultCollapsedGraphicURL ) { SolarMutexGuard aGuard; if( msDefaultCollapsedGraphicURL != sDefaultCollapsedGraphicURL ) @@ -721,7 +721,7 @@ void SAL_CALL TreeControlPeer::setDefaultCollapsedGraphicURL( const OUString& sD } -sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -731,14 +731,14 @@ sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >& } -sal_Bool SAL_CALL TreeControlPeer::isNodeCollapsed( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::isNodeCollapsed( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; return !isNodeExpanded( xNode ); } -void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception) +void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -749,7 +749,7 @@ void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xN } -sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -759,7 +759,7 @@ sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >& } -void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception) +void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -770,7 +770,7 @@ void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode ) } -void SAL_CALL TreeControlPeer::collapseNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception) +void SAL_CALL TreeControlPeer::collapseNode( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -781,19 +781,19 @@ void SAL_CALL TreeControlPeer::collapseNode( const Reference< XTreeNode >& xNode } -void SAL_CALL TreeControlPeer::addTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::addTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) { maTreeExpansionListeners.addInterface( xListener ); } -void SAL_CALL TreeControlPeer::removeTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::removeTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) { maTreeExpansionListeners.removeInterface( xListener ); } -Reference< XTreeNode > SAL_CALL TreeControlPeer::getNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException, std::exception) +Reference< XTreeNode > SAL_CALL TreeControlPeer::getNodeForLocation( sal_Int32 x, sal_Int32 y ) { SolarMutexGuard aGuard; @@ -810,7 +810,7 @@ Reference< XTreeNode > SAL_CALL TreeControlPeer::getNodeForLocation( sal_Int32 x } -Reference< XTreeNode > SAL_CALL TreeControlPeer::getClosestNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException, std::exception) +Reference< XTreeNode > SAL_CALL TreeControlPeer::getClosestNodeForLocation( sal_Int32 x, sal_Int32 y ) { SolarMutexGuard aGuard; @@ -827,7 +827,7 @@ Reference< XTreeNode > SAL_CALL TreeControlPeer::getClosestNodeForLocation( sal_ } -awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode >& i_Node ) throw (IllegalArgumentException, RuntimeException, std::exception) +awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode >& i_Node ) { SolarMutexGuard aGuard; @@ -839,7 +839,7 @@ awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode } -sal_Bool SAL_CALL TreeControlPeer::isEditing( ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::isEditing( ) { SolarMutexGuard aGuard; @@ -848,7 +848,7 @@ sal_Bool SAL_CALL TreeControlPeer::isEditing( ) throw (RuntimeException, std::e } -sal_Bool SAL_CALL TreeControlPeer::stopEditing() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TreeControlPeer::stopEditing() { SolarMutexGuard aGuard; @@ -865,7 +865,7 @@ sal_Bool SAL_CALL TreeControlPeer::stopEditing() throw (RuntimeException, std::e } -void SAL_CALL TreeControlPeer::cancelEditing( ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::cancelEditing( ) { SolarMutexGuard aGuard; @@ -874,7 +874,7 @@ void SAL_CALL TreeControlPeer::cancelEditing( ) throw (RuntimeException, std::e } -void SAL_CALL TreeControlPeer::startEditingAtNode( const Reference< XTreeNode >& xNode ) throw (IllegalArgumentException, RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::startEditingAtNode( const Reference< XTreeNode >& xNode ) { SolarMutexGuard aGuard; @@ -883,12 +883,12 @@ void SAL_CALL TreeControlPeer::startEditingAtNode( const Reference< XTreeNode >& rTree.EditEntry( pEntry ); } -void SAL_CALL TreeControlPeer::addTreeEditListener( const Reference< XTreeEditListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::addTreeEditListener( const Reference< XTreeEditListener >& xListener ) { maTreeEditListeners.addInterface( xListener ); } -void SAL_CALL TreeControlPeer::removeTreeEditListener( const Reference< XTreeEditListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::removeTreeEditListener( const Reference< XTreeEditListener >& xListener ) { maTreeEditListeners.removeInterface( xListener ); } @@ -943,7 +943,7 @@ bool TreeControlPeer::onEditedEntry( UnoTreeListEntry* pEntry, const OUString& r // css::awt::tree::TreeDataModelListener -void SAL_CALL TreeControlPeer::treeNodesChanged( const css::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::treeNodesChanged( const css::awt::tree::TreeDataModelEvent& rEvent ) { SolarMutexGuard aGuard; @@ -953,7 +953,7 @@ void SAL_CALL TreeControlPeer::treeNodesChanged( const css::awt::tree::TreeDataM updateTree( rEvent ); } -void SAL_CALL TreeControlPeer::treeNodesInserted( const css::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::treeNodesInserted( const css::awt::tree::TreeDataModelEvent& rEvent ) { SolarMutexGuard aGuard; @@ -963,7 +963,7 @@ void SAL_CALL TreeControlPeer::treeNodesInserted( const css::awt::tree::TreeData updateTree( rEvent ); } -void SAL_CALL TreeControlPeer::treeNodesRemoved( const css::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::treeNodesRemoved( const css::awt::tree::TreeDataModelEvent& rEvent ) { SolarMutexGuard aGuard; @@ -973,7 +973,7 @@ void SAL_CALL TreeControlPeer::treeNodesRemoved( const css::awt::tree::TreeDataM updateTree( rEvent ); } -void SAL_CALL TreeControlPeer::treeStructureChanged( const css::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::treeStructureChanged( const css::awt::tree::TreeDataModelEvent& rEvent ) { SolarMutexGuard aGuard; @@ -1141,7 +1141,7 @@ OUString TreeControlPeer::getEntryString( const Any& rValue ) } // XEventListener -void SAL_CALL TreeControlPeer::disposing( const css::lang::EventObject& ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL TreeControlPeer::disposing( const css::lang::EventObject& ) { // model is disposed, so we clear our tree SolarMutexGuard aGuard; @@ -1172,7 +1172,7 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere // css::awt::XLayoutConstrains -css::awt::Size TreeControlPeer::getMinimumSize() throw(RuntimeException, std::exception) +css::awt::Size TreeControlPeer::getMinimumSize() { SolarMutexGuard aGuard; @@ -1185,12 +1185,12 @@ css::awt::Size TreeControlPeer::getMinimumSize() throw(RuntimeException, std::ex return aSz; } -css::awt::Size TreeControlPeer::getPreferredSize() throw(RuntimeException, std::exception) +css::awt::Size TreeControlPeer::getPreferredSize() { return getMinimumSize(); } -css::awt::Size TreeControlPeer::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(RuntimeException, std::exception) +css::awt::Size TreeControlPeer::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -1207,7 +1207,7 @@ css::awt::Size TreeControlPeer::calcAdjustedSize( const css::awt::Size& rNewSize // css::awt::XVclWindowPeer -void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aValue) throw(RuntimeException, std::exception) +void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aValue) { SolarMutexGuard aGuard; @@ -1310,7 +1310,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal } } -Any TreeControlPeer::getProperty( const OUString& PropertyName ) throw(RuntimeException, std::exception) +Any TreeControlPeer::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; diff --git a/svtools/source/uno/treecontrolpeer.hxx b/svtools/source/uno/treecontrolpeer.hxx index 2106cb18eece..9a976f460d55 100644 --- a/svtools/source/uno/treecontrolpeer.hxx +++ b/svtools/source/uno/treecontrolpeer.hxx @@ -58,63 +58,63 @@ public: vcl::Window* createVclControl( vcl::Window* pParent, sal_Int64 nWinStyle ); // css::view::XSelectionSupplier - virtual sal_Bool SAL_CALL select( const css::uno::Any& xSelection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual css::uno::Any SAL_CALL getSelection( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL select( const css::uno::Any& xSelection ) override; + virtual css::uno::Any SAL_CALL getSelection( ) override; + virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override; + virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override; // css::view::XMultiSelectionSupplier - virtual sal_Bool SAL_CALL addSelection( const css::uno::Any& Selection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeSelection( const css::uno::Any& Selection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL clearSelection( ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getSelectionCount( ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSelectionEnumeration( ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createReverseSelectionEnumeration( ) throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL addSelection( const css::uno::Any& Selection ) override; + virtual void SAL_CALL removeSelection( const css::uno::Any& Selection ) override; + virtual void SAL_CALL clearSelection( ) override; + virtual ::sal_Int32 SAL_CALL getSelectionCount( ) override; + virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSelectionEnumeration( ) override; + virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createReverseSelectionEnumeration( ) override; // css::awt::XTreeControl - virtual OUString SAL_CALL getDefaultExpandedGraphicURL() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDefaultExpandedGraphicURL( const OUString& _defaultexpandedgraphicurl ) throw (css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getDefaultCollapsedGraphicURL() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isNodeExpanded( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isNodeCollapsed( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL makeNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL expandNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL collapseNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getClosestNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::Rectangle SAL_CALL getNodeRect( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isEditing( ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL stopEditing( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL cancelEditing( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL startEditingAtNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getDefaultExpandedGraphicURL() override; + virtual void SAL_CALL setDefaultExpandedGraphicURL( const OUString& _defaultexpandedgraphicurl ) override; + virtual OUString SAL_CALL getDefaultCollapsedGraphicURL() override; + virtual void SAL_CALL setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl ) override; + virtual sal_Bool SAL_CALL isNodeExpanded( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual sal_Bool SAL_CALL isNodeCollapsed( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual void SAL_CALL makeNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual sal_Bool SAL_CALL isNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual void SAL_CALL expandNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual void SAL_CALL collapseNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual void SAL_CALL addTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) override; + virtual void SAL_CALL removeTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) override; + virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) override; + virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getClosestNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) override; + virtual css::awt::Rectangle SAL_CALL getNodeRect( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual sal_Bool SAL_CALL isEditing( ) override; + virtual sal_Bool SAL_CALL stopEditing( ) override; + virtual void SAL_CALL cancelEditing( ) override; + virtual void SAL_CALL startEditingAtNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override; + virtual void SAL_CALL addTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) override; + virtual void SAL_CALL removeTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) override; // css::awt::tree::TreeDataModelListener - virtual void SAL_CALL treeNodesChanged( const css::awt::tree::TreeDataModelEvent& aEvent ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL treeNodesInserted( const css::awt::tree::TreeDataModelEvent& aEvent ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL treeNodesRemoved( const css::awt::tree::TreeDataModelEvent& aEvent ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL treeStructureChanged( const css::awt::tree::TreeDataModelEvent& aEvent ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL treeNodesChanged( const css::awt::tree::TreeDataModelEvent& aEvent ) override; + virtual void SAL_CALL treeNodesInserted( const css::awt::tree::TreeDataModelEvent& aEvent ) override; + virtual void SAL_CALL treeNodesRemoved( const css::awt::tree::TreeDataModelEvent& aEvent ) override; + virtual void SAL_CALL treeStructureChanged( const css::awt::tree::TreeDataModelEvent& aEvent ) override; // XEventListener - void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; + void SAL_CALL disposing( const css::lang::EventObject& Source ) override; // css::awt::XLayoutConstrains - css::awt::Size SAL_CALL getMinimumSize() throw(css::uno::RuntimeException, std::exception) override; - css::awt::Size SAL_CALL getPreferredSize() throw(css::uno::RuntimeException, std::exception) override; - css::awt::Size SAL_CALL calcAdjustedSize( const css::awt::Size& aNewSize ) throw(css::uno::RuntimeException, std::exception) override; + css::awt::Size SAL_CALL getMinimumSize() override; + css::awt::Size SAL_CALL getPreferredSize() override; + css::awt::Size SAL_CALL calcAdjustedSize( const css::awt::Size& aNewSize ) override; // css::awt::XVclWindowPeer - void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) override; + void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) override; + css::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) override; private: /// @throws css::lang::IllegalArgumentException - UnoTreeListEntry* getEntry( const css::uno::Reference< css::awt::tree::XTreeNode >& xNode, bool bThrow = true ) throw (css::lang::IllegalArgumentException ); + UnoTreeListEntry* getEntry( const css::uno::Reference< css::awt::tree::XTreeNode >& xNode, bool bThrow = true ); void disposeControl(); @@ -134,10 +134,10 @@ private: static OUString getEntryString( const css::uno::Any& rValue ); /// @throws css::uno::RuntimeException - UnoTreeListBoxImpl& getTreeListBoxOrThrow() const throw (css::uno::RuntimeException ); + UnoTreeListBoxImpl& getTreeListBoxOrThrow() const; /// @throws css::uno::RuntimeException /// @throws css::lang::IllegalArgumentException - void ChangeNodesSelection( const css::uno::Any& rSelection, bool bSelect, bool bSetSelection ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException ); + void ChangeNodesSelection( const css::uno::Any& rSelection, bool bSelect, bool bSetSelection ); void onChangeDataModel( UnoTreeListBoxImpl& rTree, const css::uno::Reference< css::awt::tree::XTreeDataModel >& xDataModel ); diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx index e8f6cbd5cdcf..6a6688574501 100644 --- a/svtools/source/uno/unoevent.cxx +++ b/svtools/source/uno/unoevent.cxx @@ -138,7 +138,6 @@ void getAnyFromMacro(Any& rAny, const SvxMacro& rMacro) void getMacroFromAny( SvxMacro& rMacro, const Any& rAny) - throw ( IllegalArgumentException ) { // get sequence Sequence<PropertyValue> aSequence; @@ -250,11 +249,6 @@ SvBaseEventDescriptor::~SvBaseEventDescriptor() void SvBaseEventDescriptor::replaceByName( const OUString& rName, const Any& rElement ) - throw( - IllegalArgumentException, - NoSuchElementException, - WrappedTargetException, - RuntimeException, std::exception) { sal_uInt16 nMacroID = getMacroID(rName); @@ -276,10 +270,6 @@ void SvBaseEventDescriptor::replaceByName( Any SvBaseEventDescriptor::getByName( const OUString& rName ) - throw( - NoSuchElementException, - WrappedTargetException, - RuntimeException, std::exception) { sal_uInt16 nMacroID = getMacroID(rName); @@ -296,7 +286,6 @@ Any SvBaseEventDescriptor::getByName( } Sequence<OUString> SvBaseEventDescriptor::getElementNames() - throw(RuntimeException, std::exception) { // create and fill sequence Sequence<OUString> aSequence(mnMacroItems); @@ -310,32 +299,27 @@ Sequence<OUString> SvBaseEventDescriptor::getElementNames() sal_Bool SvBaseEventDescriptor::hasByName( const OUString& rName ) - throw(RuntimeException, std::exception) { sal_uInt16 nMacroID = getMacroID(rName); return (nMacroID != 0); } Type SvBaseEventDescriptor::getElementType() - throw(RuntimeException, std::exception) { return cppu::UnoType<Sequence<PropertyValue>>::get(); } sal_Bool SvBaseEventDescriptor::hasElements() - throw(RuntimeException, std::exception) { return mnMacroItems != 0; } sal_Bool SvBaseEventDescriptor::supportsService(const OUString& rServiceName) - throw(RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } Sequence<OUString> SvBaseEventDescriptor::getSupportedServiceNames() - throw(RuntimeException, std::exception) { Sequence<OUString> aSequence { sAPI_ServiceName }; @@ -379,11 +363,6 @@ SvEventDescriptor::~SvEventDescriptor() void SvEventDescriptor::replaceByName( const sal_uInt16 nEvent, const SvxMacro& rMacro) - throw( - IllegalArgumentException, - NoSuchElementException, - WrappedTargetException, - RuntimeException) { SvxMacroItem aItem(getMacroItemWhich()); aItem.SetMacroTable(getMacroItem().GetMacroTable()); @@ -394,10 +373,6 @@ void SvEventDescriptor::replaceByName( void SvEventDescriptor::getByName( SvxMacro& rMacro, const sal_uInt16 nEvent ) - throw( - NoSuchElementException, - WrappedTargetException, - RuntimeException) { const SvxMacroItem& rItem = getMacroItem(); if( rItem.HasMacro( nEvent ) ) @@ -450,7 +425,6 @@ sal_Int16 SvDetachedEventDescriptor::getIndex(const sal_uInt16 nID) const } OUString SvDetachedEventDescriptor::getImplementationName() - throw( css::uno::RuntimeException, std::exception ) { return sImplName; } @@ -459,11 +433,6 @@ OUString SvDetachedEventDescriptor::getImplementationName() void SvDetachedEventDescriptor::replaceByName( const sal_uInt16 nEvent, const SvxMacro& rMacro) - throw( - IllegalArgumentException, - NoSuchElementException, - WrappedTargetException, - RuntimeException) { sal_Int16 nIndex = getIndex(nEvent); if (-1 == nIndex) @@ -477,10 +446,6 @@ void SvDetachedEventDescriptor::replaceByName( void SvDetachedEventDescriptor::getByName( SvxMacro& rMacro, const sal_uInt16 nEvent ) - throw( - NoSuchElementException, - WrappedTargetException, - RuntimeException) { sal_Int16 nIndex = getIndex(nEvent); if (-1 == nIndex ) @@ -492,7 +457,6 @@ void SvDetachedEventDescriptor::getByName( bool SvDetachedEventDescriptor::hasById( const sal_uInt16 nEvent ) const /// item ID of event - throw(IllegalArgumentException) { sal_Int16 nIndex = getIndex(nEvent); if (-1 == nIndex) diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 890fbd295e00..d3c3f2acde5c 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -101,10 +101,10 @@ namespace svt { namespace table virtual ~ColumnChangeMultiplexer() override; // XGridColumnListener - virtual void SAL_CALL columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException, std::exception) override; + virtual void SAL_CALL columnChanged( const GridColumnEvent& i_event ) override; // XEventListener - virtual void SAL_CALL disposing( const EventObject& i_event ) throw (RuntimeException, std::exception) override; + virtual void SAL_CALL disposing( const EventObject& i_event ) override; private: UnoGridColumnFacade* m_pColumnImplementation; @@ -129,7 +129,7 @@ namespace svt { namespace table } - void SAL_CALL ColumnChangeMultiplexer::columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL ColumnChangeMultiplexer::columnChanged( const GridColumnEvent& i_event ) { if ( i_event.AttributeName == "DataColumnIndex" ) { @@ -162,7 +162,7 @@ namespace svt { namespace table } - void SAL_CALL ColumnChangeMultiplexer::disposing( const EventObject& ) throw (RuntimeException, std::exception) + void SAL_CALL ColumnChangeMultiplexer::disposing( const EventObject& ) { } diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index e3a362070ee2..9521348ae37d 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -184,7 +184,7 @@ VCLXMultiLineEdit::~VCLXMultiLineEdit() { } -css::uno::Any VCLXMultiLineEdit::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXMultiLineEdit::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XTextComponent* >(this)), @@ -202,17 +202,17 @@ IMPL_XTYPEPROVIDER_START( VCLXMultiLineEdit ) VCLXWindow::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXMultiLineEdit::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { maTextListeners.addInterface( l ); } -void VCLXMultiLineEdit::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { maTextListeners.removeInterface( l ); } -void VCLXMultiLineEdit::setText( const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::setText( const OUString& aText ) { SolarMutexGuard aGuard; @@ -229,7 +229,7 @@ void VCLXMultiLineEdit::setText( const OUString& aText ) throw(css::uno::Runtime } } -void VCLXMultiLineEdit::insertText( const css::awt::Selection& rSel, const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::insertText( const css::awt::Selection& rSel, const OUString& aText ) { SolarMutexGuard aGuard; @@ -241,7 +241,7 @@ void VCLXMultiLineEdit::insertText( const css::awt::Selection& rSel, const OUStr } } -OUString VCLXMultiLineEdit::getText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXMultiLineEdit::getText() { SolarMutexGuard aGuard; @@ -252,7 +252,7 @@ OUString VCLXMultiLineEdit::getText() throw(css::uno::RuntimeException, std::exc return aText; } -OUString VCLXMultiLineEdit::getSelectedText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXMultiLineEdit::getSelectedText() { SolarMutexGuard aGuard; @@ -264,7 +264,7 @@ OUString VCLXMultiLineEdit::getSelectedText() throw(css::uno::RuntimeException, } -void VCLXMultiLineEdit::setSelection( const css::awt::Selection& aSelection ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::setSelection( const css::awt::Selection& aSelection ) { SolarMutexGuard aGuard; @@ -275,7 +275,7 @@ void VCLXMultiLineEdit::setSelection( const css::awt::Selection& aSelection ) th } } -css::awt::Selection VCLXMultiLineEdit::getSelection() throw(css::uno::RuntimeException, std::exception) +css::awt::Selection VCLXMultiLineEdit::getSelection() { SolarMutexGuard aGuard; @@ -289,7 +289,7 @@ css::awt::Selection VCLXMultiLineEdit::getSelection() throw(css::uno::RuntimeExc return aSel; } -sal_Bool VCLXMultiLineEdit::isEditable() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXMultiLineEdit::isEditable() { SolarMutexGuard aGuard; @@ -297,7 +297,7 @@ sal_Bool VCLXMultiLineEdit::isEditable() throw(css::uno::RuntimeException, std:: return pMultiLineEdit && !pMultiLineEdit->IsReadOnly() && pMultiLineEdit->IsEnabled(); } -void VCLXMultiLineEdit::setEditable( sal_Bool bEditable ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::setEditable( sal_Bool bEditable ) { SolarMutexGuard aGuard; @@ -306,7 +306,7 @@ void VCLXMultiLineEdit::setEditable( sal_Bool bEditable ) throw(css::uno::Runtim pMultiLineEdit->SetReadOnly( !bEditable ); } -void VCLXMultiLineEdit::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::setMaxTextLen( sal_Int16 nLen ) { SolarMutexGuard aGuard; @@ -315,7 +315,7 @@ void VCLXMultiLineEdit::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeE pMultiLineEdit->SetMaxTextLen( nLen ); } -sal_Int16 VCLXMultiLineEdit::getMaxTextLen() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXMultiLineEdit::getMaxTextLen() { SolarMutexGuard aGuard; @@ -323,7 +323,7 @@ sal_Int16 VCLXMultiLineEdit::getMaxTextLen() throw(css::uno::RuntimeException, s return pMultiLineEdit ? (sal_Int16)pMultiLineEdit->GetMaxTextLen() : (sal_Int16)0; } -OUString VCLXMultiLineEdit::getTextLines() throw(css::uno::RuntimeException, std::exception) +OUString VCLXMultiLineEdit::getTextLines() { SolarMutexGuard aGuard; @@ -334,7 +334,7 @@ OUString VCLXMultiLineEdit::getTextLines() throw(css::uno::RuntimeException, std return aText; } -css::awt::Size VCLXMultiLineEdit::getMinimumSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXMultiLineEdit::getMinimumSize() { SolarMutexGuard aGuard; @@ -345,12 +345,12 @@ css::awt::Size VCLXMultiLineEdit::getMinimumSize() throw(css::uno::RuntimeExcept return aSz; } -css::awt::Size VCLXMultiLineEdit::getPreferredSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXMultiLineEdit::getPreferredSize() { return getMinimumSize(); } -css::awt::Size VCLXMultiLineEdit::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXMultiLineEdit::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -361,7 +361,7 @@ css::awt::Size VCLXMultiLineEdit::calcAdjustedSize( const css::awt::Size& rNewSi return aSz; } -css::awt::Size VCLXMultiLineEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXMultiLineEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) { SolarMutexGuard aGuard; @@ -372,7 +372,7 @@ css::awt::Size VCLXMultiLineEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 nLi return aSz; } -void VCLXMultiLineEdit::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) { SolarMutexGuard aGuard; @@ -409,7 +409,7 @@ void VCLXMultiLineEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEven } } -void VCLXMultiLineEdit::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXMultiLineEdit::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -465,7 +465,7 @@ void VCLXMultiLineEdit::setProperty( const OUString& PropertyName, const css::un } } -css::uno::Any VCLXMultiLineEdit::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXMultiLineEdit::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -509,7 +509,7 @@ css::uno::Any VCLXMultiLineEdit::getProperty( const OUString& PropertyName ) thr return aProp; } -void SAL_CALL VCLXMultiLineEdit::setFocus( ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXMultiLineEdit::setFocus( ) { SolarMutexGuard aGuard; @@ -547,7 +547,7 @@ VCLXFileControl::~VCLXFileControl() pControl->GetEdit().SetModifyHdl( Link<Edit&,void>() ); } -css::uno::Any VCLXFileControl::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFileControl::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XTextComponent* >(this)), @@ -563,7 +563,7 @@ IMPL_XTYPEPROVIDER_START( VCLXFileControl ) VCLXWindow::getTypes() IMPL_XTYPEPROVIDER_END -void SAL_CALL VCLXFileControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXFileControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -603,17 +603,17 @@ void VCLXFileControl::SetWindow( const VclPtr< vcl::Window > &pWindow ) VCLXWindow::SetWindow( pWindow ); } -void VCLXFileControl::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { maTextListeners.addInterface( l ); } -void VCLXFileControl::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { maTextListeners.removeInterface( l ); } -void VCLXFileControl::setText( const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::setText( const OUString& aText ) { SolarMutexGuard aGuard; @@ -628,7 +628,7 @@ void VCLXFileControl::setText( const OUString& aText ) throw(css::uno::RuntimeEx } } -void VCLXFileControl::insertText( const css::awt::Selection& rSel, const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::insertText( const css::awt::Selection& rSel, const OUString& aText ) { SolarMutexGuard aGuard; @@ -640,7 +640,7 @@ void VCLXFileControl::insertText( const css::awt::Selection& rSel, const OUStrin } } -OUString VCLXFileControl::getText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXFileControl::getText() { SolarMutexGuard aGuard; @@ -651,7 +651,7 @@ OUString VCLXFileControl::getText() throw(css::uno::RuntimeException, std::excep return aText; } -OUString VCLXFileControl::getSelectedText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXFileControl::getSelectedText() { SolarMutexGuard aGuard; @@ -663,7 +663,7 @@ OUString VCLXFileControl::getSelectedText() throw(css::uno::RuntimeException, st } -void VCLXFileControl::setSelection( const css::awt::Selection& aSelection ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::setSelection( const css::awt::Selection& aSelection ) { SolarMutexGuard aGuard; @@ -672,7 +672,7 @@ void VCLXFileControl::setSelection( const css::awt::Selection& aSelection ) thro pFileControl->GetEdit().SetSelection( Selection( aSelection.Min, aSelection.Max ) ); } -css::awt::Selection VCLXFileControl::getSelection() throw(css::uno::RuntimeException, std::exception) +css::awt::Selection VCLXFileControl::getSelection() { SolarMutexGuard aGuard; @@ -686,7 +686,7 @@ css::awt::Selection VCLXFileControl::getSelection() throw(css::uno::RuntimeExcep return aSel; } -sal_Bool VCLXFileControl::isEditable() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXFileControl::isEditable() { SolarMutexGuard aGuard; @@ -694,7 +694,7 @@ sal_Bool VCLXFileControl::isEditable() throw(css::uno::RuntimeException, std::ex return pFileControl && !pFileControl->GetEdit().IsReadOnly() && pFileControl->GetEdit().IsEnabled(); } -void VCLXFileControl::setEditable( sal_Bool bEditable ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::setEditable( sal_Bool bEditable ) { SolarMutexGuard aGuard; @@ -703,7 +703,7 @@ void VCLXFileControl::setEditable( sal_Bool bEditable ) throw(css::uno::RuntimeE pFileControl->GetEdit().SetReadOnly( !bEditable ); } -void VCLXFileControl::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::setMaxTextLen( sal_Int16 nLen ) { SolarMutexGuard aGuard; @@ -712,7 +712,7 @@ void VCLXFileControl::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeExc pFileControl->GetEdit().SetMaxTextLen( nLen ); } -sal_Int16 VCLXFileControl::getMaxTextLen() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXFileControl::getMaxTextLen() { SolarMutexGuard aGuard; @@ -733,7 +733,7 @@ void VCLXFileControl::ModifyHdl() maTextListeners.textChanged( aEvent ); } -css::awt::Size VCLXFileControl::getMinimumSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFileControl::getMinimumSize() { SolarMutexGuard aGuard; @@ -748,14 +748,14 @@ css::awt::Size VCLXFileControl::getMinimumSize() throw(css::uno::RuntimeExceptio return aSz; } -css::awt::Size VCLXFileControl::getPreferredSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFileControl::getPreferredSize() { css::awt::Size aSz = getMinimumSize(); aSz.Height += 4; return aSz; } -css::awt::Size VCLXFileControl::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFileControl::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -770,7 +770,7 @@ css::awt::Size VCLXFileControl::calcAdjustedSize( const css::awt::Size& rNewSize return aSz; } -css::awt::Size VCLXFileControl::getMinimumSize( sal_Int16 nCols, sal_Int16 ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFileControl::getMinimumSize( sal_Int16 nCols, sal_Int16 ) { SolarMutexGuard aGuard; @@ -784,7 +784,7 @@ css::awt::Size VCLXFileControl::getMinimumSize( sal_Int16 nCols, sal_Int16 ) thr return aSz; } -void VCLXFileControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXFileControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) { SolarMutexGuard aGuard; @@ -828,7 +828,7 @@ void SVTXFormattedField::SetWindow( const VclPtr< vcl::Window > &_pWindow ) } -void SVTXFormattedField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void SVTXFormattedField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -953,7 +953,7 @@ void SVTXFormattedField::setProperty( const OUString& PropertyName, const css::u } -css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -1421,7 +1421,7 @@ void SVTXRoadmap::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } -void SVTXRoadmap::propertyChange( const css::beans::PropertyChangeEvent& evt ) throw (css::uno::RuntimeException, std::exception) +void SVTXRoadmap::propertyChange( const css::beans::PropertyChangeEvent& evt ) { SolarMutexGuard aGuard; VclPtr<::svt::ORoadmap> pField = GetAs< svt::ORoadmap >(); @@ -1460,12 +1460,12 @@ void SVTXRoadmap::propertyChange( const css::beans::PropertyChangeEvent& evt ) t } -void SVTXRoadmap::addItemListener( const css::uno::Reference< css::awt::XItemListener >& l ) throw (css::uno::RuntimeException, std::exception) +void SVTXRoadmap::addItemListener( const css::uno::Reference< css::awt::XItemListener >& l ) { maItemListeners.addInterface( l ); } -void SVTXRoadmap::removeItemListener( const css::uno::Reference< css::awt::XItemListener >& l ) throw (css::uno::RuntimeException, std::exception) +void SVTXRoadmap::removeItemListener( const css::uno::Reference< css::awt::XItemListener >& l ) { maItemListeners.removeInterface( l ); } @@ -1493,7 +1493,7 @@ RMItemData SVTXRoadmap::GetRMItemData( const css::container::ContainerEvent& _rE return aCurRMItemData; } -void SVTXRoadmap::elementInserted( const css::container::ContainerEvent& _rEvent )throw(css::uno::RuntimeException, std::exception) +void SVTXRoadmap::elementInserted( const css::container::ContainerEvent& _rEvent ) { SolarMutexGuard aGuard; VclPtr<::svt::ORoadmap> pField = GetAs< svt::ORoadmap >(); @@ -1506,7 +1506,7 @@ void SVTXRoadmap::elementInserted( const css::container::ContainerEvent& _rEvent } } -void SVTXRoadmap::elementRemoved( const css::container::ContainerEvent& _rEvent )throw(css::uno::RuntimeException, std::exception) +void SVTXRoadmap::elementRemoved( const css::container::ContainerEvent& _rEvent ) { SolarMutexGuard aGuard; VclPtr<::svt::ORoadmap> pField = GetAs< svt::ORoadmap >(); @@ -1518,7 +1518,7 @@ void SVTXRoadmap::elementRemoved( const css::container::ContainerEvent& _rEvent } } -void SVTXRoadmap::elementReplaced( const css::container::ContainerEvent& _rEvent )throw(css::uno::RuntimeException, std::exception) +void SVTXRoadmap::elementReplaced( const css::container::ContainerEvent& _rEvent ) { SolarMutexGuard aGuard; VclPtr<::svt::ORoadmap> pField = GetAs< svt::ORoadmap >(); @@ -1532,7 +1532,7 @@ void SVTXRoadmap::elementReplaced( const css::container::ContainerEvent& _rEvent } -void SVTXRoadmap::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void SVTXRoadmap::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -1586,7 +1586,7 @@ void SVTXRoadmap::setProperty( const OUString& PropertyName, const css::uno::Any } -css::uno::Any SVTXRoadmap::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any SVTXRoadmap::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -1645,7 +1645,7 @@ SVTXNumericField::~SVTXNumericField() { } -css::uno::Any SVTXNumericField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any SVTXNumericField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XNumericField* >(this)), @@ -1660,7 +1660,7 @@ IMPL_XTYPEPROVIDER_START( SVTXNumericField ) IMPL_XTYPEPROVIDER_END -void SVTXNumericField::setValue( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setValue( double Value ) { SolarMutexGuard aGuard; @@ -1669,7 +1669,7 @@ void SVTXNumericField::setValue( double Value ) throw(css::uno::RuntimeException pField->SetValue( Value ); } -double SVTXNumericField::getValue() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getValue() { SolarMutexGuard aGuard; @@ -1677,7 +1677,7 @@ double SVTXNumericField::getValue() throw(css::uno::RuntimeException, std::excep return pField ? pField->GetValue() : 0; } -void SVTXNumericField::setMin( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setMin( double Value ) { SolarMutexGuard aGuard; @@ -1686,7 +1686,7 @@ void SVTXNumericField::setMin( double Value ) throw(css::uno::RuntimeException, pField->SetMinValue( Value ); } -double SVTXNumericField::getMin() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getMin() { SolarMutexGuard aGuard; @@ -1694,7 +1694,7 @@ double SVTXNumericField::getMin() throw(css::uno::RuntimeException, std::excepti return pField ? pField->GetMinValue() : 0; } -void SVTXNumericField::setMax( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setMax( double Value ) { SolarMutexGuard aGuard; @@ -1703,7 +1703,7 @@ void SVTXNumericField::setMax( double Value ) throw(css::uno::RuntimeException, pField->SetMaxValue( Value ); } -double SVTXNumericField::getMax() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getMax() { SolarMutexGuard aGuard; @@ -1711,7 +1711,7 @@ double SVTXNumericField::getMax() throw(css::uno::RuntimeException, std::excepti return pField ? pField->GetMaxValue() : 0; } -void SVTXNumericField::setFirst( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setFirst( double Value ) { SolarMutexGuard aGuard; @@ -1720,7 +1720,7 @@ void SVTXNumericField::setFirst( double Value ) throw(css::uno::RuntimeException pField->SetSpinFirst( Value ); } -double SVTXNumericField::getFirst() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getFirst() { SolarMutexGuard aGuard; @@ -1728,7 +1728,7 @@ double SVTXNumericField::getFirst() throw(css::uno::RuntimeException, std::excep return pField ? pField->GetSpinFirst() : 0; } -void SVTXNumericField::setLast( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setLast( double Value ) { SolarMutexGuard aGuard; @@ -1737,7 +1737,7 @@ void SVTXNumericField::setLast( double Value ) throw(css::uno::RuntimeException, pField->SetSpinLast( Value ); } -double SVTXNumericField::getLast() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getLast() { SolarMutexGuard aGuard; @@ -1745,7 +1745,7 @@ double SVTXNumericField::getLast() throw(css::uno::RuntimeException, std::except return pField ? pField->GetSpinLast() : 0; } -void SVTXNumericField::setSpinSize( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setSpinSize( double Value ) { SolarMutexGuard aGuard; @@ -1754,7 +1754,7 @@ void SVTXNumericField::setSpinSize( double Value ) throw(css::uno::RuntimeExcept pField->SetSpinSize( Value ); } -double SVTXNumericField::getSpinSize() throw(css::uno::RuntimeException, std::exception) +double SVTXNumericField::getSpinSize() { SolarMutexGuard aGuard; @@ -1762,7 +1762,7 @@ double SVTXNumericField::getSpinSize() throw(css::uno::RuntimeException, std::ex return pField ? pField->GetSpinSize() : 0; } -void SVTXNumericField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setDecimalDigits( sal_Int16 Value ) { SolarMutexGuard aGuard; @@ -1771,7 +1771,7 @@ void SVTXNumericField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::Runti pField->SetDecimalDigits( Value ); } -sal_Int16 SVTXNumericField::getDecimalDigits() throw(css::uno::RuntimeException, std::exception) +sal_Int16 SVTXNumericField::getDecimalDigits() { SolarMutexGuard aGuard; @@ -1779,7 +1779,7 @@ sal_Int16 SVTXNumericField::getDecimalDigits() throw(css::uno::RuntimeException, return pField ? pField->GetDecimalDigits() : 0; } -void SVTXNumericField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void SVTXNumericField::setStrictFormat( sal_Bool bStrict ) { SolarMutexGuard aGuard; @@ -1788,7 +1788,7 @@ void SVTXNumericField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::Runti pField->SetStrictFormat( bStrict ); } -sal_Bool SVTXNumericField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool SVTXNumericField::isStrictFormat() { SolarMutexGuard aGuard; @@ -1812,7 +1812,7 @@ SVTXCurrencyField::~SVTXCurrencyField() { } -css::uno::Any SVTXCurrencyField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any SVTXCurrencyField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XCurrencyField* >(this)), @@ -1826,7 +1826,7 @@ IMPL_XTYPEPROVIDER_START( SVTXCurrencyField ) SVTXFormattedField::getTypes() IMPL_XTYPEPROVIDER_END -void SVTXCurrencyField::setValue( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setValue( double Value ) { SolarMutexGuard aGuard; @@ -1835,7 +1835,7 @@ void SVTXCurrencyField::setValue( double Value ) throw(css::uno::RuntimeExceptio pField->SetValue( Value ); } -double SVTXCurrencyField::getValue() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getValue() { SolarMutexGuard aGuard; @@ -1843,7 +1843,7 @@ double SVTXCurrencyField::getValue() throw(css::uno::RuntimeException, std::exce return pField ? pField->GetValue() : 0; } -void SVTXCurrencyField::setMin( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setMin( double Value ) { SolarMutexGuard aGuard; @@ -1852,7 +1852,7 @@ void SVTXCurrencyField::setMin( double Value ) throw(css::uno::RuntimeException, pField->SetMinValue( Value ); } -double SVTXCurrencyField::getMin() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getMin() { SolarMutexGuard aGuard; @@ -1860,7 +1860,7 @@ double SVTXCurrencyField::getMin() throw(css::uno::RuntimeException, std::except return pField ? pField->GetMinValue() : 0; } -void SVTXCurrencyField::setMax( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setMax( double Value ) { SolarMutexGuard aGuard; @@ -1869,7 +1869,7 @@ void SVTXCurrencyField::setMax( double Value ) throw(css::uno::RuntimeException, pField->SetMaxValue( Value ); } -double SVTXCurrencyField::getMax() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getMax() { SolarMutexGuard aGuard; @@ -1877,7 +1877,7 @@ double SVTXCurrencyField::getMax() throw(css::uno::RuntimeException, std::except return pField ? pField->GetMaxValue() : 0; } -void SVTXCurrencyField::setFirst( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setFirst( double Value ) { SolarMutexGuard aGuard; @@ -1886,7 +1886,7 @@ void SVTXCurrencyField::setFirst( double Value ) throw(css::uno::RuntimeExceptio pField->SetSpinFirst( Value ); } -double SVTXCurrencyField::getFirst() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getFirst() { SolarMutexGuard aGuard; @@ -1894,7 +1894,7 @@ double SVTXCurrencyField::getFirst() throw(css::uno::RuntimeException, std::exce return pField ? pField->GetSpinFirst() : 0; } -void SVTXCurrencyField::setLast( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setLast( double Value ) { SolarMutexGuard aGuard; @@ -1903,7 +1903,7 @@ void SVTXCurrencyField::setLast( double Value ) throw(css::uno::RuntimeException pField->SetSpinLast( Value ); } -double SVTXCurrencyField::getLast() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getLast() { SolarMutexGuard aGuard; @@ -1911,7 +1911,7 @@ double SVTXCurrencyField::getLast() throw(css::uno::RuntimeException, std::excep return pField ? pField->GetSpinLast() : 0; } -void SVTXCurrencyField::setSpinSize( double Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setSpinSize( double Value ) { SolarMutexGuard aGuard; @@ -1920,7 +1920,7 @@ void SVTXCurrencyField::setSpinSize( double Value ) throw(css::uno::RuntimeExcep pField->SetSpinSize( Value ); } -double SVTXCurrencyField::getSpinSize() throw(css::uno::RuntimeException, std::exception) +double SVTXCurrencyField::getSpinSize() { SolarMutexGuard aGuard; @@ -1928,7 +1928,7 @@ double SVTXCurrencyField::getSpinSize() throw(css::uno::RuntimeException, std::e return pField ? pField->GetSpinSize() : 0; } -void SVTXCurrencyField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setDecimalDigits( sal_Int16 Value ) { SolarMutexGuard aGuard; @@ -1937,7 +1937,7 @@ void SVTXCurrencyField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::Runt pField->SetDecimalDigits( Value ); } -sal_Int16 SVTXCurrencyField::getDecimalDigits() throw(css::uno::RuntimeException, std::exception) +sal_Int16 SVTXCurrencyField::getDecimalDigits() { SolarMutexGuard aGuard; @@ -1945,7 +1945,7 @@ sal_Int16 SVTXCurrencyField::getDecimalDigits() throw(css::uno::RuntimeException return pField ? pField->GetDecimalDigits() : 0; } -void SVTXCurrencyField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setStrictFormat( sal_Bool bStrict ) { SolarMutexGuard aGuard; @@ -1954,7 +1954,7 @@ void SVTXCurrencyField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::Runt pField->SetStrictFormat( bStrict ); } -sal_Bool SVTXCurrencyField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool SVTXCurrencyField::isStrictFormat() { SolarMutexGuard aGuard; @@ -1962,7 +1962,7 @@ sal_Bool SVTXCurrencyField::isStrictFormat() throw(css::uno::RuntimeException, s return pField && pField->IsStrictFormat(); } -void SVTXCurrencyField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void SVTXCurrencyField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -1995,7 +1995,7 @@ void SVTXCurrencyField::setProperty( const OUString& PropertyName, const css::un SVTXFormattedField::setProperty(PropertyName, Value); } -css::uno::Any SVTXCurrencyField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any SVTXCurrencyField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -2100,7 +2100,7 @@ void VCLXProgressBar::ImplUpdateValue() } // css::uno::XInterface -css::uno::Any VCLXProgressBar::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXProgressBar::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XProgressBar* >(this)), @@ -2115,7 +2115,7 @@ IMPL_XTYPEPROVIDER_START( VCLXProgressBar ) IMPL_XTYPEPROVIDER_END // css::awt::XProgressBar -void VCLXProgressBar::setForegroundColor( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception) +void VCLXProgressBar::setForegroundColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; @@ -2127,7 +2127,7 @@ void VCLXProgressBar::setForegroundColor( sal_Int32 nColor ) throw(css::uno::Run } } -void VCLXProgressBar::setBackgroundColor( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception) +void VCLXProgressBar::setBackgroundColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; @@ -2141,7 +2141,7 @@ void VCLXProgressBar::setBackgroundColor( sal_Int32 nColor ) throw(css::uno::Run } } -void VCLXProgressBar::setValue( sal_Int32 nValue ) throw(css::uno::RuntimeException, std::exception) +void VCLXProgressBar::setValue( sal_Int32 nValue ) { SolarMutexGuard aGuard; @@ -2149,7 +2149,7 @@ void VCLXProgressBar::setValue( sal_Int32 nValue ) throw(css::uno::RuntimeExcept ImplUpdateValue(); } -void VCLXProgressBar::setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(css::uno::RuntimeException, std::exception ) +void VCLXProgressBar::setRange( sal_Int32 nMin, sal_Int32 nMax ) { SolarMutexGuard aGuard; @@ -2169,7 +2169,7 @@ void VCLXProgressBar::setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(css::uno: ImplUpdateValue(); } -sal_Int32 VCLXProgressBar::getValue() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXProgressBar::getValue() { SolarMutexGuard aGuard; @@ -2177,7 +2177,7 @@ sal_Int32 VCLXProgressBar::getValue() throw(css::uno::RuntimeException, std::exc } // css::awt::VclWindowPeer -void VCLXProgressBar::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXProgressBar::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -2235,7 +2235,7 @@ void VCLXProgressBar::setProperty( const OUString& PropertyName, const css::uno: } } -css::uno::Any VCLXProgressBar::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXProgressBar::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -2292,7 +2292,7 @@ SVTXDateField::~SVTXDateField() { } -void SAL_CALL SVTXDateField::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL SVTXDateField::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) { VCLXDateField::setProperty( PropertyName, Value ); diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index c8cf52487645..b2b882843099 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -82,26 +82,26 @@ public: rtl::Reference<SvMacroTableEventDescriptor> mxEvents; // overriden helpers from PropertySetHelper - virtual void _setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) override; - virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) throw(UnknownPropertyException, WrappedTargetException ) override; + virtual void _setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) override; + virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) override; // XInterface - virtual Any SAL_CALL queryAggregation( const Type & rType ) throw(RuntimeException, std::exception) override; - virtual Any SAL_CALL queryInterface( const Type & rType ) throw(RuntimeException, std::exception) override; + virtual Any SAL_CALL queryAggregation( const Type & rType ) override; + virtual Any SAL_CALL queryInterface( const Type & rType ) override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; // XTypeProvider - virtual Sequence< Type > SAL_CALL getTypes( ) throw(RuntimeException, std::exception) override; - virtual Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(RuntimeException, std::exception) override; + virtual Sequence< Type > SAL_CALL getTypes( ) override; + virtual Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override; // XEventsSupplier - virtual Reference< css::container::XNameReplace > SAL_CALL getEvents( ) throw(RuntimeException, std::exception) override; + virtual Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) throw( RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( RuntimeException, std::exception ) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; private: static PropertySetInfo* createPropertySetInfo( sal_uInt16 nType ); @@ -299,13 +299,11 @@ IMapObject* SvUnoImageMapObject::createIMapObject() const // XInterface Any SAL_CALL SvUnoImageMapObject::queryInterface( const Type & rType ) - throw( RuntimeException, std::exception ) { return OWeakAggObject::queryInterface( rType ); } Any SAL_CALL SvUnoImageMapObject::queryAggregation( const Type & rType ) - throw(RuntimeException, std::exception) { Any aAny; @@ -338,7 +336,6 @@ void SAL_CALL SvUnoImageMapObject::release() throw() } uno::Sequence< uno::Type > SAL_CALL SvUnoImageMapObject::getTypes() - throw (uno::RuntimeException, std::exception) { uno::Sequence< uno::Type > aTypes( 7 ); uno::Type* pTypes = aTypes.getArray(); @@ -355,19 +352,17 @@ uno::Sequence< uno::Type > SAL_CALL SvUnoImageMapObject::getTypes() } uno::Sequence< sal_Int8 > SAL_CALL SvUnoImageMapObject::getImplementationId() - throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } // XServiceInfo -sal_Bool SAL_CALL SvUnoImageMapObject::supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL SvUnoImageMapObject::supportsService( const OUString& ServiceName ) { return cppu::supportsService(this, ServiceName); } Sequence< OUString > SAL_CALL SvUnoImageMapObject::getSupportedServiceNames() - throw(RuntimeException, std::exception) { Sequence< OUString > aSNS( 2 ); aSNS.getArray()[0] = "com.sun.star.image.ImageMapObject"; @@ -387,7 +382,7 @@ Sequence< OUString > SAL_CALL SvUnoImageMapObject::getSupportedServiceNames() return aSNS; } -OUString SAL_CALL SvUnoImageMapObject::getImplementationName() throw(RuntimeException, std::exception) +OUString SAL_CALL SvUnoImageMapObject::getImplementationName() { switch( mnType ) { @@ -403,7 +398,6 @@ OUString SAL_CALL SvUnoImageMapObject::getImplementationName() throw(RuntimeExce // overriden helpers from PropertySetHelper void SvUnoImageMapObject::_setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) { bool bOk = false; @@ -455,7 +449,6 @@ void SvUnoImageMapObject::_setPropertyValues( const PropertyMapEntry** ppEntries } void SvUnoImageMapObject::_getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValues ) - throw(UnknownPropertyException, WrappedTargetException ) { while( *ppEntries ) { @@ -503,7 +496,6 @@ void SvUnoImageMapObject::_getPropertyValues( const PropertyMapEntry** ppEntries Reference< XNameReplace > SAL_CALL SvUnoImageMapObject::getEvents() - throw( RuntimeException, std::exception ) { return mxEvents.get(); } @@ -517,29 +509,29 @@ public: bool fillImageMap( ImageMap& rMap ) const; /// @throws IllegalArgumentException - static SvUnoImageMapObject* getObject( const Any& aElement ) throw( IllegalArgumentException ); + static SvUnoImageMapObject* getObject( const Any& aElement ); UNO3_GETIMPLEMENTATION_DECL( SvUnoImageMap ) // XIndexContainer - virtual void SAL_CALL insertByIndex( sal_Int32 Index, const Any& Element ) throw( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) override; - virtual void SAL_CALL removeByIndex( sal_Int32 Index ) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) override; + virtual void SAL_CALL insertByIndex( sal_Int32 Index, const Any& Element ) override; + virtual void SAL_CALL removeByIndex( sal_Int32 Index ) override; // XIndexReplace - virtual void SAL_CALL replaceByIndex( sal_Int32 Index, const Any& Element ) throw( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) override; + virtual void SAL_CALL replaceByIndex( sal_Int32 Index, const Any& Element ) override; // XIndexAccess - virtual sal_Int32 SAL_CALL getCount( ) throw( RuntimeException, std::exception ) override; - virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getCount( ) override; + virtual Any SAL_CALL getByIndex( sal_Int32 Index ) override; // XElementAccess - virtual Type SAL_CALL getElementType( ) throw( RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL hasElements( ) throw( RuntimeException, std::exception ) override; + virtual Type SAL_CALL getElementType( ) override; + virtual sal_Bool SAL_CALL hasElements( ) override; // XSerivceInfo - virtual OUString SAL_CALL getImplementationName( ) throw( RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( RuntimeException, std::exception ) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; private: OUString maName; @@ -567,7 +559,6 @@ SvUnoImageMap::SvUnoImageMap( const ImageMap& rMap, const SvEventDescription* pS } SvUnoImageMapObject* SvUnoImageMap::getObject( const Any& aElement ) - throw( IllegalArgumentException ) { Reference< XInterface > xObject; aElement >>= xObject; @@ -581,7 +572,6 @@ SvUnoImageMapObject* SvUnoImageMap::getObject( const Any& aElement ) // XIndexContainer void SAL_CALL SvUnoImageMap::insertByIndex( sal_Int32 nIndex, const Any& Element ) - throw( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { SvUnoImageMapObject* pObject = getObject( Element ); const sal_Int32 nCount = maObjectList.size(); @@ -598,7 +588,7 @@ void SAL_CALL SvUnoImageMap::insertByIndex( sal_Int32 nIndex, const Any& Element } } -void SAL_CALL SvUnoImageMap::removeByIndex( sal_Int32 nIndex ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL SvUnoImageMap::removeByIndex( sal_Int32 nIndex ) { const sal_Int32 nCount = maObjectList.size(); if( nIndex >= nCount ) @@ -617,7 +607,7 @@ void SAL_CALL SvUnoImageMap::removeByIndex( sal_Int32 nIndex ) throw(IndexOutOfB } // XIndexReplace -void SAL_CALL SvUnoImageMap::replaceByIndex( sal_Int32 nIndex, const Any& Element ) throw(IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL SvUnoImageMap::replaceByIndex( sal_Int32 nIndex, const Any& Element ) { SvUnoImageMapObject* pObject = getObject( Element ); const sal_Int32 nCount = maObjectList.size(); @@ -630,12 +620,12 @@ void SAL_CALL SvUnoImageMap::replaceByIndex( sal_Int32 nIndex, const Any& Elemen } // XIndexAccess -sal_Int32 SAL_CALL SvUnoImageMap::getCount( ) throw(RuntimeException, std::exception) +sal_Int32 SAL_CALL SvUnoImageMap::getCount( ) { return maObjectList.size(); } -Any SAL_CALL SvUnoImageMap::getByIndex( sal_Int32 nIndex ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL SvUnoImageMap::getByIndex( sal_Int32 nIndex ) { const sal_Int32 nCount = maObjectList.size(); if( nIndex >= nCount ) @@ -649,31 +639,28 @@ Any SAL_CALL SvUnoImageMap::getByIndex( sal_Int32 nIndex ) throw(IndexOutOfBound } // XElementAccess -Type SAL_CALL SvUnoImageMap::getElementType( ) throw(RuntimeException, std::exception) +Type SAL_CALL SvUnoImageMap::getElementType( ) { return cppu::UnoType<XPropertySet>::get(); } -sal_Bool SAL_CALL SvUnoImageMap::hasElements( ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL SvUnoImageMap::hasElements( ) { return (!maObjectList.empty()); } // XSerivceInfo OUString SAL_CALL SvUnoImageMap::getImplementationName( ) - throw(RuntimeException, std::exception) { return OUString( "org.openoffice.comp.svt.SvUnoImageMap" ); } sal_Bool SAL_CALL SvUnoImageMap::supportsService( const OUString& ServiceName ) - throw(RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } Sequence< OUString > SAL_CALL SvUnoImageMap::getSupportedServiceNames( ) - throw(RuntimeException, std::exception) { const OUString aSN( "com.sun.star.image.ImageMap" ); return Sequence< OUString >( &aSN, 1 ); diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 492bbb9c0d27..d4977cfe456d 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -96,37 +96,37 @@ namespace { explicit Wizard( const css::uno::Reference< css::uno::XComponentContext >& i_rContext ); // lang::XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // beans::XPropertySet - virtual css::uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; // OPropertyArrayUsageHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; // ui::dialogs::XWizard - virtual OUString SAL_CALL getHelpURL() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHelpURL( const OUString& _helpurl ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< awt::XWindow > SAL_CALL getDialogWindow() throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< ui::dialogs::XWizardPage > SAL_CALL getCurrentPage( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL enableButton( ::sal_Int16 WizardButton, sal_Bool Enable ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDefaultButton( ::sal_Int16 WizardButton ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL travelNext( ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL travelPrevious( ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL enablePage( ::sal_Int16 PageID, sal_Bool Enable ) throw (container::NoSuchElementException, util::InvalidStateException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL updateTravelUI( ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL advanceTo( ::sal_Int16 PageId ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL goBackTo( ::sal_Int16 PageId ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL activatePath( ::sal_Int16 PathIndex, sal_Bool Final ) throw (container::NoSuchElementException, util::InvalidStateException, css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getHelpURL() override; + virtual void SAL_CALL setHelpURL( const OUString& _helpurl ) override; + virtual css::uno::Reference< awt::XWindow > SAL_CALL getDialogWindow() override; + virtual css::uno::Reference< ui::dialogs::XWizardPage > SAL_CALL getCurrentPage( ) override; + virtual void SAL_CALL enableButton( ::sal_Int16 WizardButton, sal_Bool Enable ) override; + virtual void SAL_CALL setDefaultButton( ::sal_Int16 WizardButton ) override; + virtual sal_Bool SAL_CALL travelNext( ) override; + virtual sal_Bool SAL_CALL travelPrevious( ) override; + virtual void SAL_CALL enablePage( ::sal_Int16 PageID, sal_Bool Enable ) override; + virtual void SAL_CALL updateTravelUI( ) override; + virtual sal_Bool SAL_CALL advanceTo( ::sal_Int16 PageId ) override; + virtual sal_Bool SAL_CALL goBackTo( ::sal_Int16 PageId ) override; + virtual void SAL_CALL activatePath( ::sal_Int16 PathIndex, sal_Bool Final ) override; // ui::dialogs::XExecutableDialog - virtual void SAL_CALL setTitle( const OUString& aTitle ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int16 SAL_CALL execute( ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setTitle( const OUString& aTitle ) override; + virtual ::sal_Int16 SAL_CALL execute( ) override; // lang::XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override; protected: virtual ~Wizard() override; @@ -224,7 +224,7 @@ namespace { } - void SAL_CALL Wizard::initialize( const Sequence< Any >& i_Arguments ) throw (Exception, RuntimeException, std::exception) + void SAL_CALL Wizard::initialize( const Sequence< Any >& i_Arguments ) { ::osl::MutexGuard aGuard( m_aMutex ); if ( m_bInitialized ) @@ -273,20 +273,20 @@ namespace { return pDialog.get(); } - OUString SAL_CALL Wizard::getImplementationName() throw(RuntimeException, std::exception) + OUString SAL_CALL Wizard::getImplementationName() { return OUString("com.sun.star.comp.svtools.uno.Wizard"); } - Sequence< OUString > SAL_CALL Wizard::getSupportedServiceNames() throw(RuntimeException, std::exception) + Sequence< OUString > SAL_CALL Wizard::getSupportedServiceNames() { Sequence< OUString > aServices { "com.sun.star.ui.dialogs.Wizard" }; return aServices; } - Reference< XPropertySetInfo > SAL_CALL Wizard::getPropertySetInfo() throw(RuntimeException, std::exception) + Reference< XPropertySetInfo > SAL_CALL Wizard::getPropertySetInfo() { return createPropertySetInfo( getInfoHelper() ); } @@ -306,7 +306,7 @@ namespace { } - OUString SAL_CALL Wizard::getHelpURL() throw (RuntimeException, std::exception) + OUString SAL_CALL Wizard::getHelpURL() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -318,7 +318,7 @@ namespace { } - void SAL_CALL Wizard::setHelpURL( const OUString& i_HelpURL ) throw (RuntimeException, std::exception) + void SAL_CALL Wizard::setHelpURL( const OUString& i_HelpURL ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -330,7 +330,7 @@ namespace { } - Reference< XWindow > SAL_CALL Wizard::getDialogWindow() throw (RuntimeException, std::exception) + Reference< XWindow > SAL_CALL Wizard::getDialogWindow() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -340,7 +340,7 @@ namespace { } - void SAL_CALL Wizard::enableButton( ::sal_Int16 i_WizardButton, sal_Bool i_Enable ) throw (RuntimeException, std::exception) + void SAL_CALL Wizard::enableButton( ::sal_Int16 i_WizardButton, sal_Bool i_Enable ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -352,7 +352,7 @@ namespace { } - void SAL_CALL Wizard::setDefaultButton( ::sal_Int16 i_WizardButton ) throw (RuntimeException, std::exception) + void SAL_CALL Wizard::setDefaultButton( ::sal_Int16 i_WizardButton ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -364,7 +364,7 @@ namespace { } - sal_Bool SAL_CALL Wizard::travelNext( ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL Wizard::travelNext( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -376,7 +376,7 @@ namespace { } - sal_Bool SAL_CALL Wizard::travelPrevious( ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL Wizard::travelPrevious( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -388,7 +388,7 @@ namespace { } - void SAL_CALL Wizard::enablePage( ::sal_Int16 i_PageID, sal_Bool i_Enable ) throw (NoSuchElementException, InvalidStateException, RuntimeException, std::exception) + void SAL_CALL Wizard::enablePage( ::sal_Int16 i_PageID, sal_Bool i_Enable ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -406,7 +406,7 @@ namespace { } - void SAL_CALL Wizard::updateTravelUI( ) throw (RuntimeException, std::exception) + void SAL_CALL Wizard::updateTravelUI( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -418,7 +418,7 @@ namespace { } - sal_Bool SAL_CALL Wizard::advanceTo( ::sal_Int16 i_PageId ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL Wizard::advanceTo( ::sal_Int16 i_PageId ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -430,7 +430,7 @@ namespace { } - sal_Bool SAL_CALL Wizard::goBackTo( ::sal_Int16 i_PageId ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL Wizard::goBackTo( ::sal_Int16 i_PageId ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -442,7 +442,7 @@ namespace { } - Reference< XWizardPage > SAL_CALL Wizard::getCurrentPage( ) throw (RuntimeException, std::exception) + Reference< XWizardPage > SAL_CALL Wizard::getCurrentPage( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -454,7 +454,7 @@ namespace { } - void SAL_CALL Wizard::activatePath( ::sal_Int16 i_PathIndex, sal_Bool i_Final ) throw (NoSuchElementException, InvalidStateException, RuntimeException, std::exception) + void SAL_CALL Wizard::activatePath( ::sal_Int16 i_PathIndex, sal_Bool i_Final ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -469,14 +469,14 @@ namespace { } - void SAL_CALL Wizard::setTitle( const OUString& i_Title ) throw (RuntimeException, std::exception) + void SAL_CALL Wizard::setTitle( const OUString& i_Title ) { // simply disambiguate Wizard_Base::OGenericUnoDialog::setTitle( i_Title ); } - ::sal_Int16 SAL_CALL Wizard::execute( ) throw (RuntimeException, std::exception) + ::sal_Int16 SAL_CALL Wizard::execute( ) { return Wizard_Base::OGenericUnoDialog::execute(); } |