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 /vcl/unx/gtk | |
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 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/a11y/atkaction.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkcomponent.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkeditabletext.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkhypertext.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkimage.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.hxx | 6 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkselection.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atktable.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atktext.cxx | 8 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atktextattributes.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkutil.cxx | 34 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkvalue.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 42 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx | 85 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | 12 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx | 21 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.cxx | 8 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.hxx | 39 |
19 files changed, 101 insertions, 176 deletions
diff --git a/vcl/unx/gtk/a11y/atkaction.cxx b/vcl/unx/gtk/a11y/atkaction.cxx index 3dc2fea35c72..faadc4091ba4 100644 --- a/vcl/unx/gtk/a11y/atkaction.cxx +++ b/vcl/unx/gtk/a11y/atkaction.cxx @@ -45,7 +45,7 @@ getAsConst( const OString& rString ) /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleAction> - getAction( AtkAction *action ) throw (uno::RuntimeException) + getAction( AtkAction *action ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( action ); diff --git a/vcl/unx/gtk/a11y/atkcomponent.cxx b/vcl/unx/gtk/a11y/atkcomponent.cxx index 84ab86b0c87a..54e664b5ae39 100644 --- a/vcl/unx/gtk/a11y/atkcomponent.cxx +++ b/vcl/unx/gtk/a11y/atkcomponent.cxx @@ -25,7 +25,7 @@ using namespace ::com::sun::star; /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleComponent> - getComponent( AtkComponent *pComponent ) throw (uno::RuntimeException) + getComponent( AtkComponent *pComponent ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pComponent ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atkeditabletext.cxx b/vcl/unx/gtk/a11y/atkeditabletext.cxx index d7dda03a5321..070ee28ffa74 100644 --- a/vcl/unx/gtk/a11y/atkeditabletext.cxx +++ b/vcl/unx/gtk/a11y/atkeditabletext.cxx @@ -29,7 +29,7 @@ using namespace ::com::sun::star; /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleEditableText> - getEditableText( AtkEditableText *pEditableText ) throw (uno::RuntimeException) + getEditableText( AtkEditableText *pEditableText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pEditableText ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx index 4a10b3c82733..356262feb4cb 100644 --- a/vcl/unx/gtk/a11y/atkhypertext.cxx +++ b/vcl/unx/gtk/a11y/atkhypertext.cxx @@ -191,7 +191,7 @@ hyper_link_get_type() /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleHypertext> - getHypertext( AtkHypertext *pHypertext ) throw (uno::RuntimeException) + getHypertext( AtkHypertext *pHypertext ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pHypertext ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx index 88897210fb2a..404871f1d3a9 100644 --- a/vcl/unx/gtk/a11y/atkimage.cxx +++ b/vcl/unx/gtk/a11y/atkimage.cxx @@ -37,7 +37,7 @@ getAsConst( const OUString& rString ) /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleImage> - getImage( AtkImage *pImage ) throw (uno::RuntimeException) + getImage( AtkImage *pImage ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pImage ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx index 2901bcb73ecf..48dc6e83a895 100644 --- a/vcl/unx/gtk/a11y/atklistener.cxx +++ b/vcl/unx/gtk/a11y/atklistener.cxx @@ -93,7 +93,7 @@ extern "C" { } // XEventListener implementation -void AtkListener::disposing( const lang::EventObject& ) throw (uno::RuntimeException, std::exception) +void AtkListener::disposing( const lang::EventObject& ) { if( mpWrapper ) { @@ -420,7 +420,7 @@ void printNotifyEvent( const accessibility::AccessibleEventObject& rEvent ) #endif -void AtkListener::notifyEvent( const accessibility::AccessibleEventObject& aEvent ) throw( uno::RuntimeException, std::exception ) +void AtkListener::notifyEvent( const accessibility::AccessibleEventObject& aEvent ) { if( !mpWrapper ) return; diff --git a/vcl/unx/gtk/a11y/atklistener.hxx b/vcl/unx/gtk/a11y/atklistener.hxx index fccf03181c37..39d5075c8822 100644 --- a/vcl/unx/gtk/a11y/atklistener.hxx +++ b/vcl/unx/gtk/a11y/atklistener.hxx @@ -33,12 +33,10 @@ public: explicit AtkListener(AtkObjectWrapper * pWrapper); // XEventListener - virtual void disposing( const css::lang::EventObject& Source ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void disposing( const css::lang::EventObject& Source ) override; // XAccessibleEventListener - virtual void notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) override; private: diff --git a/vcl/unx/gtk/a11y/atkselection.cxx b/vcl/unx/gtk/a11y/atkselection.cxx index 39bf065cbb37..b6d2a711fa66 100644 --- a/vcl/unx/gtk/a11y/atkselection.cxx +++ b/vcl/unx/gtk/a11y/atkselection.cxx @@ -25,7 +25,7 @@ using namespace ::com::sun::star; /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleSelection> - getSelection( AtkSelection *pSelection ) throw (uno::RuntimeException) + getSelection( AtkSelection *pSelection ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pSelection ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atktable.cxx b/vcl/unx/gtk/a11y/atktable.cxx index 26fdef1659b2..a39110a61b16 100644 --- a/vcl/unx/gtk/a11y/atktable.cxx +++ b/vcl/unx/gtk/a11y/atktable.cxx @@ -50,7 +50,7 @@ getAsConst( const OUString& rString ) /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleTable> - getTable( AtkTable *pTable ) throw (uno::RuntimeException) + getTable( AtkTable *pTable ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pTable ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atktext.cxx b/vcl/unx/gtk/a11y/atktext.cxx index b08edd1fa18f..6dc3ca3692d8 100644 --- a/vcl/unx/gtk/a11y/atktext.cxx +++ b/vcl/unx/gtk/a11y/atktext.cxx @@ -135,7 +135,7 @@ adjust_boundaries( css::uno::Reference<css::accessibility::XAccessibleText> cons /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleText> - getText( AtkText *pText ) throw (uno::RuntimeException) + getText( AtkText *pText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pText ); if (pWrap) @@ -152,7 +152,7 @@ static css::uno::Reference<css::accessibility::XAccessibleText> /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleTextMarkup> - getTextMarkup( AtkText *pText ) throw (uno::RuntimeException) + getTextMarkup( AtkText *pText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pText ); if (pWrap) @@ -169,7 +169,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextMarkup> /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleTextAttributes> - getTextAttributes( AtkText *pText ) throw (uno::RuntimeException) + getTextAttributes( AtkText *pText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pText ); if (pWrap) @@ -186,7 +186,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextAttributes> /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleMultiLineText> - getMultiLineText( AtkText *pText ) throw (uno::RuntimeException) + getMultiLineText( AtkText *pText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pText ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx index 4fa1afb42266..75971173f978 100644 --- a/vcl/unx/gtk/a11y/atktextattributes.cxx +++ b/vcl/unx/gtk/a11y/atktextattributes.cxx @@ -209,7 +209,7 @@ String2Float( uno::Any& rAny, const gchar * value ) /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleComponent> - getComponent( AtkText *pText ) throw (uno::RuntimeException) + getComponent( AtkText *pText ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pText ); if (pWrap) diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx index da165245be0b..c386e8b89899 100644 --- a/vcl/unx/gtk/a11y/atkutil.cxx +++ b/vcl/unx/gtk/a11y/atkutil.cxx @@ -143,14 +143,14 @@ public: /// @throws uno::RuntimeException void attachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException void attachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException @@ -158,20 +158,20 @@ public: const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext, const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException void detachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException void detachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException @@ -179,24 +179,22 @@ public: const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext, const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet - ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + ); /// @trhows lang::IndexOutOfBoundsException /// @throws uno::RuntimeException - static uno::Reference< accessibility::XAccessible > getAccessible(const lang::EventObject& aEvent ) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + static uno::Reference< accessibility::XAccessible > getAccessible(const lang::EventObject& aEvent ); // XEventListener - virtual void disposing( const lang::EventObject& Source ) throw (uno::RuntimeException, std::exception) override; + virtual void disposing( const lang::EventObject& Source ) override; // XAccessibleEventListener - virtual void notifyEvent( const accessibility::AccessibleEventObject& aEvent ) throw( uno::RuntimeException, std::exception ) override; + virtual void notifyEvent( const accessibility::AccessibleEventObject& aEvent ) override; }; /*****************************************************************************/ void DocumentFocusListener::disposing( const lang::EventObject& aEvent ) - throw (uno::RuntimeException, std::exception) { // Unref the object here, but do not remove as listener since the object @@ -209,7 +207,6 @@ void DocumentFocusListener::disposing( const lang::EventObject& aEvent ) /*****************************************************************************/ void DocumentFocusListener::notifyEvent( const accessibility::AccessibleEventObject& aEvent ) - throw( uno::RuntimeException, std::exception ) { try { switch( aEvent.EventId ) @@ -254,7 +251,6 @@ void DocumentFocusListener::notifyEvent( const accessibility::AccessibleEventObj /*****************************************************************************/ uno::Reference< accessibility::XAccessible > DocumentFocusListener::getAccessible(const lang::EventObject& aEvent ) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { uno::Reference< accessibility::XAccessible > xAccessible(aEvent.Source, uno::UNO_QUERY); @@ -283,7 +279,7 @@ uno::Reference< accessibility::XAccessible > DocumentFocusListener::getAccessibl void DocumentFocusListener::attachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { uno::Reference< accessibility::XAccessibleContext > xContext = xAccessible->getAccessibleContext(); @@ -297,7 +293,7 @@ void DocumentFocusListener::attachRecursive( void DocumentFocusListener::attachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { uno::Reference< accessibility::XAccessibleStateSet > xStateSet = xContext->getAccessibleStateSet(); @@ -312,7 +308,7 @@ void DocumentFocusListener::attachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext, const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { if( xStateSet->contains(accessibility::AccessibleStateType::FOCUSED ) ) atk_wrapper_focus_tracker_notify_when_idle( xAccessible ); @@ -347,7 +343,7 @@ void DocumentFocusListener::attachRecursive( void DocumentFocusListener::detachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { uno::Reference< accessibility::XAccessibleContext > xContext = xAccessible->getAccessibleContext(); @@ -361,7 +357,7 @@ void DocumentFocusListener::detachRecursive( void DocumentFocusListener::detachRecursive( const uno::Reference< accessibility::XAccessible >& xAccessible, const uno::Reference< accessibility::XAccessibleContext >& xContext -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { uno::Reference< accessibility::XAccessibleStateSet > xStateSet = xContext->getAccessibleStateSet(); @@ -376,7 +372,7 @@ void DocumentFocusListener::detachRecursive( const uno::Reference< accessibility::XAccessible >&, const uno::Reference< accessibility::XAccessibleContext >& xContext, const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet -) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +) { uno::Reference< accessibility::XAccessibleEventBroadcaster > xBroadcaster = uno::Reference< accessibility::XAccessibleEventBroadcaster >(xContext, uno::UNO_QUERY); diff --git a/vcl/unx/gtk/a11y/atkvalue.cxx b/vcl/unx/gtk/a11y/atkvalue.cxx index 067333af5916..6c80e37b2969 100644 --- a/vcl/unx/gtk/a11y/atkvalue.cxx +++ b/vcl/unx/gtk/a11y/atkvalue.cxx @@ -27,7 +27,7 @@ using namespace ::com::sun::star; /// @throws uno::RuntimeException static css::uno::Reference<css::accessibility::XAccessibleValue> - getValue( AtkValue *pValue ) throw (uno::RuntimeException) + getValue( AtkValue *pValue ) { AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pValue ); if (pWrap) diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx index b31cc783c8d5..541f640484d2 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx @@ -281,7 +281,6 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference< uno::XComponentContext // XFilePickerNotifier void SAL_CALL SalGtkFilePicker::addFilePickerListener( const uno::Reference<XFilePickerListener>& xListener ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -291,7 +290,6 @@ void SAL_CALL SalGtkFilePicker::addFilePickerListener( const uno::Reference<XFil } void SAL_CALL SalGtkFilePicker::removeFilePickerListener( const uno::Reference<XFilePickerListener>& ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -525,7 +523,6 @@ void SalGtkFilePicker::ensureFilterList( const OUString& _rInitialCurrentFilter } void SAL_CALL SalGtkFilePicker::appendFilter( const OUString& aTitle, const OUString& aFilter ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -542,7 +539,6 @@ void SAL_CALL SalGtkFilePicker::appendFilter( const OUString& aTitle, const OUSt } void SAL_CALL SalGtkFilePicker::setCurrentFilter( const OUString& aTitle ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -601,7 +597,7 @@ void SalGtkFilePicker::UpdateFilterfromUI() } } -OUString SAL_CALL SalGtkFilePicker::getCurrentFilter() throw( uno::RuntimeException, std::exception ) +OUString SAL_CALL SalGtkFilePicker::getCurrentFilter() { SolarMutexGuard g; @@ -615,7 +611,6 @@ OUString SAL_CALL SalGtkFilePicker::getCurrentFilter() throw( uno::RuntimeExcept // XFilterGroupManager functions void SAL_CALL SalGtkFilePicker::appendFilterGroup( const OUString& /*sGroupTitle*/, const uno::Sequence<beans::StringPair>& aFilters ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -644,7 +639,7 @@ void SAL_CALL SalGtkFilePicker::appendFilterGroup( const OUString& /*sGroupTitle // XFilePicker functions -void SAL_CALL SalGtkFilePicker::setMultiSelectionMode( sal_Bool bMode ) throw( uno::RuntimeException, std::exception ) +void SAL_CALL SalGtkFilePicker::setMultiSelectionMode( sal_Bool bMode ) { SolarMutexGuard g; @@ -654,7 +649,6 @@ void SAL_CALL SalGtkFilePicker::setMultiSelectionMode( sal_Bool bMode ) throw( u } void SAL_CALL SalGtkFilePicker::setDefaultName( const OUString& aName ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -669,21 +663,20 @@ void SAL_CALL SalGtkFilePicker::setDefaultName( const OUString& aName ) } void SAL_CALL SalGtkFilePicker::setDisplayDirectory( const OUString& rDirectory ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; implsetDisplayDirectory(rDirectory); } -OUString SAL_CALL SalGtkFilePicker::getDisplayDirectory() throw( uno::RuntimeException, std::exception ) +OUString SAL_CALL SalGtkFilePicker::getDisplayDirectory() { SolarMutexGuard g; return implgetDisplayDirectory(); } -uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getFiles() throw( uno::RuntimeException, std::exception ) +uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getFiles() { // no member access => no mutex needed @@ -716,7 +709,7 @@ bool lcl_matchFilter( const rtl::OUString& rFilter, const rtl::OUString& rExt ) } -uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getSelectedFiles() throw( uno::RuntimeException, std::exception ) +uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getSelectedFiles() { SolarMutexGuard g; @@ -863,14 +856,14 @@ uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getSelectedFiles() throw( uno // XExecutableDialog functions -void SAL_CALL SalGtkFilePicker::setTitle( const OUString& rTitle ) throw( uno::RuntimeException, std::exception ) +void SAL_CALL SalGtkFilePicker::setTitle( const OUString& rTitle ) { SolarMutexGuard g; implsetTitle(rTitle); } -sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std::exception ) +sal_Int16 SAL_CALL SalGtkFilePicker::execute() { SolarMutexGuard g; @@ -1235,7 +1228,6 @@ uno::Any SalGtkFilePicker::HandleGetListValue(GtkComboBox *pWidget, sal_Int16 nC } void SAL_CALL SalGtkFilePicker::setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const uno::Any& rValue ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1261,7 +1253,6 @@ void SAL_CALL SalGtkFilePicker::setValue( sal_Int16 nControlId, sal_Int16 nContr } uno::Any SAL_CALL SalGtkFilePicker::getValue( sal_Int16 nControlId, sal_Int16 nControlAction ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1285,7 +1276,6 @@ uno::Any SAL_CALL SalGtkFilePicker::getValue( sal_Int16 nControlId, sal_Int16 nC } void SAL_CALL SalGtkFilePicker::enableControl( sal_Int16 nControlId, sal_Bool bEnable ) -throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1309,7 +1299,6 @@ throw( uno::RuntimeException, std::exception ) } void SAL_CALL SalGtkFilePicker::setLabel( sal_Int16 nControlId, const OUString& rLabel ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1346,7 +1335,6 @@ void SAL_CALL SalGtkFilePicker::setLabel( sal_Int16 nControlId, const OUString& } OUString SAL_CALL SalGtkFilePicker::getLabel( sal_Int16 nControlId ) - throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1368,7 +1356,7 @@ OUString SAL_CALL SalGtkFilePicker::getLabel( sal_Int16 nControlId ) // XFilePreview functions -uno::Sequence<sal_Int16> SAL_CALL SalGtkFilePicker::getSupportedImageFormats() throw( uno::RuntimeException, std::exception ) +uno::Sequence<sal_Int16> SAL_CALL SalGtkFilePicker::getSupportedImageFormats() { SolarMutexGuard g; @@ -1378,7 +1366,7 @@ uno::Sequence<sal_Int16> SAL_CALL SalGtkFilePicker::getSupportedImageFormats() t return uno::Sequence<sal_Int16>(); } -sal_Int32 SAL_CALL SalGtkFilePicker::getTargetColorDepth() throw( uno::RuntimeException, std::exception ) +sal_Int32 SAL_CALL SalGtkFilePicker::getTargetColorDepth() { SolarMutexGuard g; @@ -1388,7 +1376,7 @@ sal_Int32 SAL_CALL SalGtkFilePicker::getTargetColorDepth() throw( uno::RuntimeEx return 0; } -sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableWidth() throw( uno::RuntimeException, std::exception ) +sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableWidth() { SolarMutexGuard g; @@ -1397,7 +1385,7 @@ sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableWidth() throw( uno::RuntimeExce return m_PreviewImageWidth; } -sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableHeight() throw( uno::RuntimeException, std::exception ) +sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableHeight() { SolarMutexGuard g; @@ -1407,7 +1395,6 @@ sal_Int32 SAL_CALL SalGtkFilePicker::getAvailableHeight() throw( uno::RuntimeExc } void SAL_CALL SalGtkFilePicker::setImage( sal_Int16 /*aImageFormat*/, const uno::Any& /*aImage*/ ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -1507,7 +1494,7 @@ void SalGtkFilePicker::update_preview_cb( GtkFileChooser *file_chooser, SalGtkFi g_free( filename ); } -sal_Bool SAL_CALL SalGtkFilePicker::setShowState( sal_Bool bShowState ) throw( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL SalGtkFilePicker::setShowState( sal_Bool bShowState ) { SolarMutexGuard g; @@ -1541,7 +1528,7 @@ sal_Bool SAL_CALL SalGtkFilePicker::setShowState( sal_Bool bShowState ) throw( u return true; } -sal_Bool SAL_CALL SalGtkFilePicker::getShowState() throw( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL SalGtkFilePicker::getShowState() { SolarMutexGuard g; @@ -1553,7 +1540,6 @@ sal_Bool SAL_CALL SalGtkFilePicker::getShowState() throw( uno::RuntimeException, // XInitialization void SAL_CALL SalGtkFilePicker::initialize( const uno::Sequence<uno::Any>& aArguments ) - throw( uno::Exception, uno::RuntimeException, std::exception ) { // parameter checking uno::Any aAny; @@ -1721,7 +1707,7 @@ void SalGtkFilePicker::preview_toggled_cb( GObject *cb, SalGtkFilePicker* pobjFP // XCancellable -void SAL_CALL SalGtkFilePicker::cancel() throw( uno::RuntimeException, std::exception ) +void SAL_CALL SalGtkFilePicker::cancel() { SolarMutexGuard g; diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx index 948ff38b6094..03ee6f5e7346 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx @@ -59,107 +59,78 @@ class SalGtkFilePicker : public SalGtkPicker, public SalGtkFilePicker_Base // XFilePickerNotifier - virtual void SAL_CALL addFilePickerListener( const css::uno::Reference< css::ui::dialogs::XFilePickerListener >& xListener ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual void SAL_CALL removeFilePickerListener( const css::uno::Reference< css::ui::dialogs::XFilePickerListener >& xListener ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL addFilePickerListener( const css::uno::Reference< css::ui::dialogs::XFilePickerListener >& xListener ) override; + virtual void SAL_CALL removeFilePickerListener( const css::uno::Reference< css::ui::dialogs::XFilePickerListener >& xListener ) override; // XExecutableDialog functions - virtual void SAL_CALL setTitle( const OUString& aTitle ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setTitle( const OUString& aTitle ) override; - virtual sal_Int16 SAL_CALL execute() - throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int16 SAL_CALL execute() override; // XFilePicker functions - virtual void SAL_CALL setMultiSelectionMode( sal_Bool bMode ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setMultiSelectionMode( sal_Bool bMode ) override; - virtual void SAL_CALL setDefaultName( const OUString& aName ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setDefaultName( const OUString& aName ) override; - virtual void SAL_CALL setDisplayDirectory( const OUString& aDirectory ) - throw( css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setDisplayDirectory( const OUString& aDirectory ) override; - virtual OUString SAL_CALL getDisplayDirectory( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDisplayDirectory( ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getFiles( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getFiles( ) override; // XFilePicker2 functions - virtual css::uno::Sequence< OUString > SAL_CALL getSelectedFiles() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSelectedFiles() override; // XFilterManager functions - virtual void SAL_CALL appendFilter( const OUString& aTitle, const OUString& aFilter ) - throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL appendFilter( const OUString& aTitle, const OUString& aFilter ) override; - virtual void SAL_CALL setCurrentFilter( const OUString& aTitle ) - throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setCurrentFilter( const OUString& aTitle ) override; - virtual OUString SAL_CALL getCurrentFilter( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getCurrentFilter( ) override; // XFilterGroupManager functions - virtual void SAL_CALL appendFilterGroup( const OUString& sGroupTitle, const css::uno::Sequence< css::beans::StringPair >& aFilters ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL appendFilterGroup( const OUString& sGroupTitle, const css::uno::Sequence< css::beans::StringPair >& aFilters ) override; // XFilePickerControlAccess functions - virtual void SAL_CALL setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const css::uno::Any& aValue ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const css::uno::Any& aValue ) override; - virtual css::uno::Any SAL_CALL getValue( sal_Int16 aControlId, sal_Int16 aControlAction ) - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL getValue( sal_Int16 aControlId, sal_Int16 aControlAction ) override; - virtual void SAL_CALL enableControl( sal_Int16 nControlId, sal_Bool bEnable ) - throw(css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL enableControl( sal_Int16 nControlId, sal_Bool bEnable ) override; - virtual void SAL_CALL setLabel( sal_Int16 nControlId, const OUString& aLabel ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setLabel( sal_Int16 nControlId, const OUString& aLabel ) override; - virtual OUString SAL_CALL getLabel( sal_Int16 nControlId ) - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getLabel( sal_Int16 nControlId ) override; // XFilePreview - virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedImageFormats( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedImageFormats( ) override; - virtual sal_Int32 SAL_CALL getTargetColorDepth( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getTargetColorDepth( ) override; - virtual sal_Int32 SAL_CALL getAvailableWidth( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getAvailableWidth( ) override; - virtual sal_Int32 SAL_CALL getAvailableHeight( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getAvailableHeight( ) override; - virtual void SAL_CALL setImage( sal_Int16 aImageFormat, const css::uno::Any& aImage ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setImage( sal_Int16 aImageFormat, const css::uno::Any& aImage ) override; - virtual sal_Bool SAL_CALL setShowState( sal_Bool bShowState ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL setShowState( sal_Bool bShowState ) override; - virtual sal_Bool SAL_CALL getShowState( ) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL getShowState( ) override; // 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; // XCancellable - virtual void SAL_CALL cancel( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL cancel( ) override; // FilePicker Event functions diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx index cedbd5a20f1d..0b7549a0ee55 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx @@ -63,7 +63,6 @@ SalGtkFolderPicker::SalGtkFolderPicker( const uno::Reference< uno::XComponentCon } void SAL_CALL SalGtkFolderPicker::setDisplayDirectory( const OUString& aDirectory ) - throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception ) { SolarMutexGuard g; @@ -83,7 +82,7 @@ void SAL_CALL SalGtkFolderPicker::setDisplayDirectory( const OUString& aDirector aTxt.getStr() ); } -OUString SAL_CALL SalGtkFolderPicker::getDisplayDirectory() throw( uno::RuntimeException, std::exception ) +OUString SAL_CALL SalGtkFolderPicker::getDisplayDirectory() { SolarMutexGuard g; @@ -97,7 +96,7 @@ OUString SAL_CALL SalGtkFolderPicker::getDisplayDirectory() throw( uno::RuntimeE return aCurrentFolderName; } -OUString SAL_CALL SalGtkFolderPicker::getDirectory() throw( uno::RuntimeException, std::exception ) +OUString SAL_CALL SalGtkFolderPicker::getDirectory() { SolarMutexGuard g; @@ -112,13 +111,12 @@ OUString SAL_CALL SalGtkFolderPicker::getDirectory() throw( uno::RuntimeExceptio } void SAL_CALL SalGtkFolderPicker::setDescription( const OUString& /*rDescription*/ ) - throw( uno::RuntimeException, std::exception ) { } // XExecutableDialog functions -void SAL_CALL SalGtkFolderPicker::setTitle( const OUString& aTitle ) throw( uno::RuntimeException, std::exception ) +void SAL_CALL SalGtkFolderPicker::setTitle( const OUString& aTitle ) { SolarMutexGuard g; @@ -129,7 +127,7 @@ void SAL_CALL SalGtkFolderPicker::setTitle( const OUString& aTitle ) throw( uno: gtk_window_set_title( GTK_WINDOW( m_pDialog ), aWindowTitle.getStr() ); } -sal_Int16 SAL_CALL SalGtkFolderPicker::execute() throw( uno::RuntimeException, std::exception ) +sal_Int16 SAL_CALL SalGtkFolderPicker::execute() { SolarMutexGuard g; @@ -168,7 +166,7 @@ sal_Int16 SAL_CALL SalGtkFolderPicker::execute() throw( uno::RuntimeException, s // XCancellable -void SAL_CALL SalGtkFolderPicker::cancel() throw( uno::RuntimeException, std::exception ) +void SAL_CALL SalGtkFolderPicker::cancel() { SolarMutexGuard g; diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx index 9e2955796c8e..e7e27b17c0cc 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx @@ -38,30 +38,23 @@ class SalGtkFolderPicker : // XExecutableDialog functions - virtual void SAL_CALL setTitle( const OUString& aTitle ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setTitle( const OUString& aTitle ) override; - virtual sal_Int16 SAL_CALL execute( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int16 SAL_CALL execute( ) override; // XFolderPicker functions - virtual void SAL_CALL setDisplayDirectory( const OUString& rDirectory ) - throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setDisplayDirectory( const OUString& rDirectory ) override; - virtual OUString SAL_CALL getDisplayDirectory( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDisplayDirectory( ) override; - virtual OUString SAL_CALL getDirectory( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getDirectory( ) override; - virtual void SAL_CALL setDescription( const OUString& rDescription ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setDescription( const OUString& rDescription ) override; // XCancellable - virtual void SAL_CALL cancel( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL cancel( ) override; private: SalGtkFolderPicker( const SalGtkFolderPicker& ) = delete; diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx index c710bb0ea9d6..060cf23abab1 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx @@ -134,7 +134,6 @@ RunDialog::~RunDialog() } void SAL_CALL RunDialog::windowOpened(const css::lang::EventObject& e) - throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard g; @@ -154,12 +153,10 @@ void SAL_CALL RunDialog::windowOpened(const css::lang::EventObject& e) } void SAL_CALL RunDialog::queryTermination( const css::lang::EventObject& ) - throw(css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception) { } void SAL_CALL RunDialog::notifyTermination( const css::lang::EventObject& ) - throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard g; @@ -201,7 +198,6 @@ SalGtkPicker::~SalGtkPicker() } void SAL_CALL SalGtkPicker::implsetDisplayDirectory( const OUString& aDirectory ) - throw( lang::IllegalArgumentException, uno::RuntimeException ) { OSL_ASSERT( m_pDialog != nullptr ); @@ -219,7 +215,7 @@ void SAL_CALL SalGtkPicker::implsetDisplayDirectory( const OUString& aDirectory aTxt.getStr() ); } -OUString SAL_CALL SalGtkPicker::implgetDisplayDirectory() throw( uno::RuntimeException ) +OUString SAL_CALL SalGtkPicker::implgetDisplayDirectory() { OSL_ASSERT( m_pDialog != nullptr ); @@ -231,7 +227,7 @@ OUString SAL_CALL SalGtkPicker::implgetDisplayDirectory() throw( uno::RuntimeExc return aCurrentFolderName; } -void SAL_CALL SalGtkPicker::implsetTitle( const OUString& aTitle ) throw( uno::RuntimeException ) +void SAL_CALL SalGtkPicker::implsetTitle( const OUString& aTitle ) { OSL_ASSERT( m_pDialog != nullptr ); diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx index 74c46af9c995..b5bca9f75da2 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx @@ -50,17 +50,14 @@ class SalGtkPicker GtkWidget *m_pDialog; protected: /// @throws css::uno::RuntimeException - void SAL_CALL implsetTitle( const OUString& aTitle ) - throw( css::uno::RuntimeException ); + void SAL_CALL implsetTitle( const OUString& aTitle ); /// @throws css::lang::IllegalArgumentException /// @throws css::uno::RuntimeException - void SAL_CALL implsetDisplayDirectory( const OUString& rDirectory ) - throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ); + void SAL_CALL implsetDisplayDirectory( const OUString& rDirectory ); /// @throws css::uno::RuntimeException - OUString SAL_CALL implgetDisplayDirectory( ) - throw( css::uno::RuntimeException ); + OUString SAL_CALL implgetDisplayDirectory( ); OUString uritounicode(const gchar *pIn); OString unicodetouri(const OUString &rURL); @@ -88,28 +85,18 @@ public: // XTopWindowListener using cppu::WeakComponentImplHelperBase::disposing; - virtual void SAL_CALL disposing( const css::lang::EventObject& ) - throw(css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowOpened( const css::lang::EventObject& e ) - throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL windowClosing( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowClosed( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowMinimized( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowNormalized( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowActivated( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} - virtual void SAL_CALL windowDeactivated( const css::lang::EventObject& ) - throw (css::uno::RuntimeException, std::exception) override {} + virtual void SAL_CALL disposing( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowOpened( const css::lang::EventObject& e ) override; + virtual void SAL_CALL windowClosing( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowClosed( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowMinimized( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowNormalized( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowActivated( const css::lang::EventObject& ) override {} + virtual void SAL_CALL windowDeactivated( const css::lang::EventObject& ) override {} // XTerminateListener - virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent ) - throw(css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent ) - throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent ) override; + virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent ) override; public: RunDialog(GtkWidget *pDialog, css::uno::Reference< css::awt::XExtendedToolkit > &rToolkit |