summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /include/sfx2
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (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 'include/sfx2')
-rw-r--r--include/sfx2/DocumentMetadataAccess.hxx71
-rw-r--r--include/sfx2/Metadatable.hxx19
-rw-r--r--include/sfx2/docfilt.hxx6
-rw-r--r--include/sfx2/docstoragemodifylistener.hxx4
-rw-r--r--include/sfx2/sfxbasecontroller.hxx68
-rw-r--r--include/sfx2/sfxbasemodel.hxx388
-rw-r--r--include/sfx2/sfxstatuslistener.hxx10
-rw-r--r--include/sfx2/sidebar/Accessible.hxx3
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx15
-rw-r--r--include/sfx2/sidebar/SidebarPanelBase.hxx36
-rw-r--r--include/sfx2/sidebar/Theme.hxx43
-rw-r--r--include/sfx2/sidebar/UnoDeck.hxx44
-rw-r--r--include/sfx2/sidebar/UnoDecks.hxx25
-rw-r--r--include/sfx2/sidebar/UnoPanel.hxx47
-rw-r--r--include/sfx2/sidebar/UnoPanels.hxx28
-rw-r--r--include/sfx2/sidebar/UnoSidebar.hxx18
-rw-r--r--include/sfx2/stbitem.hxx17
-rw-r--r--include/sfx2/tbxctrl.hxx20
-rw-r--r--include/sfx2/unoctitm.hxx24
-rw-r--r--include/sfx2/userinputinterception.hxx8
20 files changed, 303 insertions, 591 deletions
diff --git a/include/sfx2/DocumentMetadataAccess.hxx b/include/sfx2/DocumentMetadataAccess.hxx
index 973808d0840e..31a61adebb01 100644
--- a/include/sfx2/DocumentMetadataAccess.hxx
+++ b/include/sfx2/DocumentMetadataAccess.hxx
@@ -84,68 +84,41 @@ public:
virtual ~DocumentMetadataAccess() override;
// css::rdf::XNode:
- virtual OUString SAL_CALL getStringValue()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getStringValue() override;
// css::rdf::XURI:
- virtual OUString SAL_CALL getNamespace()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getLocalName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getNamespace() override;
+ virtual OUString SAL_CALL getLocalName() override;
// css::rdf::XRepositorySupplier:
virtual css::uno::Reference<
- css::rdf::XRepository > SAL_CALL getRDFRepository()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::rdf::XRepository > SAL_CALL getRDFRepository() override;
// css::rdf::XDocumentMetadataAccess:
virtual css::uno::Reference<
css::rdf::XMetadatable > SAL_CALL
getElementByMetadataReference(
- const css::beans::StringPair & i_rReference)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::beans::StringPair & i_rReference) override;
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL
- getElementByURI(const css::uno::Reference< css::rdf::XURI > & i_xURI)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException, std::exception) override;
+ getElementByURI(const css::uno::Reference< css::rdf::XURI > & i_xURI) override;
virtual css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType(
- const css::uno::Reference< css::rdf::XURI > & i_xType)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException, std::exception) override;
+ const css::uno::Reference< css::rdf::XURI > & i_xType) override;
virtual css::uno::Reference< css::rdf::XURI> SAL_CALL
addMetadataFile(const OUString & i_rFileName,
- const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::ElementExistException, std::exception) override;
+ const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes) override;
virtual css::uno::Reference< css::rdf::XURI> SAL_CALL
importMetadataFile(::sal_Int16 i_Format,
const css::uno::Reference< css::io::XInputStream > & i_xInStream,
const OUString & i_rFileName,
const css::uno::Reference< css::rdf::XURI > & i_xBaseURI,
- const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::datatransfer::UnsupportedFlavorException,
- css::container::ElementExistException,
- css::rdf::ParseException,
- css::io::IOException, std::exception) override;
+ const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes) override;
virtual void SAL_CALL removeMetadataFile(
const css::uno::Reference<
- css::rdf::XURI > & i_xGraphName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, std::exception) override;
+ css::rdf::XURI > & i_xGraphName) override;
virtual void SAL_CALL addContentOrStylesFile(
- const OUString & i_rFileName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::ElementExistException, std::exception) override;
+ const OUString & i_rFileName) override;
virtual void SAL_CALL removeContentOrStylesFile(
- const OUString & i_rFileName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, std::exception) override;
+ const OUString & i_rFileName) override;
virtual void SAL_CALL loadMetadataFromStorage(
const css::uno::Reference<
@@ -153,28 +126,16 @@ public:
const css::uno::Reference<
css::rdf::XURI > & i_xBaseURI,
const css::uno::Reference<
- css::task::XInteractionHandler> & i_xHandler)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::task::XInteractionHandler> & i_xHandler) override;
virtual void SAL_CALL storeMetadataToStorage(
const css::uno::Reference<
- css::embed::XStorage > & i_xStorage)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::embed::XStorage > & i_xStorage) override;
virtual void SAL_CALL loadMetadataFromMedium(
const css::uno::Sequence<
- css::beans::PropertyValue > & i_rMedium)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::beans::PropertyValue > & i_rMedium) override;
virtual void SAL_CALL storeMetadataToMedium(
const css::uno::Sequence<
- css::beans::PropertyValue > & i_rMedium)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::beans::PropertyValue > & i_rMedium) override;
private:
std::unique_ptr<DocumentMetadataAccess_Impl> m_pImpl;
diff --git a/include/sfx2/Metadatable.hxx b/include/sfx2/Metadatable.hxx
index f0289d9543ac..bd9f3bb659fe 100644
--- a/include/sfx2/Metadatable.hxx
+++ b/include/sfx2/Metadatable.hxx
@@ -142,24 +142,17 @@ public:
MetadatableMixin() {};
// css::rdf::XNode:
- virtual OUString SAL_CALL getStringValue()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getStringValue() override;
// css::rdf::XURI:
- virtual OUString SAL_CALL getLocalName()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getNamespace()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getLocalName() override;
+ virtual OUString SAL_CALL getNamespace() override;
// css::rdf::XMetadatable:
- virtual css::beans::StringPair SAL_CALL getMetadataReference()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::beans::StringPair SAL_CALL getMetadataReference() override;
virtual void SAL_CALL setMetadataReference(
- const css::beans::StringPair & i_rReference)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException, std::exception) override;
- virtual void SAL_CALL ensureMetadataReference()
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::beans::StringPair & i_rReference) override;
+ virtual void SAL_CALL ensureMetadataReference() override;
protected:
/// get the core object corresponding to this UNO object.
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index d00c1d193753..d4628b30027d 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -116,11 +116,7 @@ public:
/// @throws css::uno::RuntimeException
static OUString GetTypeFromStorage(
const css::uno::Reference<css::embed::XStorage>& xStorage,
- bool bTemplate = false )
- throw ( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException,
- std::exception );
+ bool bTemplate = false );
};
#endif
diff --git a/include/sfx2/docstoragemodifylistener.hxx b/include/sfx2/docstoragemodifylistener.hxx
index fa1a291d9916..56935e187aeb 100644
--- a/include/sfx2/docstoragemodifylistener.hxx
+++ b/include/sfx2/docstoragemodifylistener.hxx
@@ -63,10 +63,10 @@ namespace sfx2
void dispose();
// XModifyListener
- virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) 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;
protected:
virtual ~DocumentStorageModifyListener() override;
diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx
index a8d979e12511..5eea0db2132c 100644
--- a/include/sfx2/sfxbasecontroller.hxx
+++ b/include/sfx2/sfxbasecontroller.hxx
@@ -95,33 +95,33 @@ public:
SAL_DLLPRIVATE void ReleaseShell_Impl();
SAL_DLLPRIVATE void BorderWidthsChanged_Impl();
- css::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator( ) throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator( ) override;
// XController2
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getViewControllerName() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() override;
+ virtual OUString SAL_CALL getViewControllerName() override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments() override;
- virtual css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL getSidebar() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL getSidebar() override;
// XController
- virtual void SAL_CALL attachFrame( const css::uno::Reference< css::frame::XFrame >& xFrame ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual void SAL_CALL attachFrame( const css::uno::Reference< css::frame::XFrame >& xFrame ) override ;
- virtual sal_Bool SAL_CALL attachModel( const css::uno::Reference< css::frame::XModel >& xModel ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual sal_Bool SAL_CALL attachModel( const css::uno::Reference< css::frame::XModel >& xModel ) override ;
- virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ) override ;
- css::uno::Any SAL_CALL getViewData() throw( css::uno::RuntimeException, std::exception ) override ;
+ css::uno::Any SAL_CALL getViewData() override ;
- void SAL_CALL restoreViewData( const css::uno::Any& aValue ) throw( css::uno::RuntimeException, std::exception ) override ;
+ void SAL_CALL restoreViewData( const css::uno::Any& aValue ) override ;
- css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() throw( css::uno::RuntimeException, std::exception ) override ;
+ css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() override ;
- css::uno::Reference< css::frame::XModel > SAL_CALL getModel() throw( css::uno::RuntimeException, std::exception ) override ;
+ css::uno::Reference< css::frame::XModel > SAL_CALL getModel() override ;
// XDispatchProvider
@@ -129,51 +129,51 @@ public:
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL & aURL ,
const OUString & sTargetFrameName,
- FrameSearchFlags eSearchFlags ) throw( css::uno::RuntimeException, std::exception ) override ;
+ FrameSearchFlags eSearchFlags ) override ;
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescriptor ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescriptor ) override ;
// XControllerBorder
- virtual css::frame::BorderWidths SAL_CALL getBorder() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL queryBorderedArea( const css::awt::Rectangle& aPreliminaryRectangle ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::frame::BorderWidths SAL_CALL getBorder() override;
+ virtual void SAL_CALL addBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) override;
+ virtual void SAL_CALL removeBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) override;
+ virtual css::awt::Rectangle SAL_CALL queryBorderedArea( const css::awt::Rectangle& aPreliminaryRectangle ) override;
// XComponent
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual void SAL_CALL dispose() override ;
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override ;
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException, std::exception ) override ;
- virtual void SAL_CALL registerContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL releaseContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override ;
+ virtual void SAL_CALL registerContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) override;
+ virtual void SAL_CALL releaseContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) override;
- virtual void SAL_CALL addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) override;
+ virtual void SAL_CALL removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) override;
+ virtual void SAL_CALL addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) override;
+ virtual void SAL_CALL removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) override;
// XDispatchInformationProvider
- virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() override;
+ virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) override;
// css::frame::XTitle
- virtual OUString SAL_CALL getTitle( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTitle( const OUString& sTitle ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getTitle( ) override;
+ virtual void SAL_CALL setTitle( const OUString& sTitle ) override;
// css::frame::XTitleChangeBroadcaster
- virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) override;
+ virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) override;
// css::lang::XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// FIXME: TL needs this in sw/source/ui/uno/unotxdoc.cxx now;
// either the _Impl name should vanish or there should be an "official" API
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index cc097c66014b..1188bef60028 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -193,7 +193,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override ;
/**___________________________________________________________________________________________________
@short increment refcount
@@ -225,7 +225,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override ;
/**___________________________________________________________________________________________________
@short get implementation id
@@ -238,7 +238,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override ;
// XStarBasicAccess
@@ -247,298 +247,230 @@ public:
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
- virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer() override;
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL createLibrary( const OUString& LibName, const OUString& Password,
- const OUString& ExternalSourceURL, const OUString& LinkTargetURL )
- throw(css::container::ElementExistException, css::uno::RuntimeException, std::exception) override;
+ const OUString& ExternalSourceURL, const OUString& LinkTargetURL ) override;
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL addModule( const OUString& LibraryName, const OUString& ModuleName,
- const OUString& Language, const OUString& Source )
- throw( css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
+ const OUString& Language, const OUString& Source ) override;
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL addDialog( const OUString& LibraryName, const OUString& DialogName,
- const css::uno::Sequence< sal_Int8 >& Data )
- throw(css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< sal_Int8 >& Data ) override;
// XChild
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override ;
- virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& xParent ) throw(css::lang::NoSupportException,
- css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& xParent ) override;
// XComponent
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() override;
- virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener) override;
- virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
// XDocumentPropertiesSupplier
virtual css::uno::Reference< css::document::XDocumentProperties >
- SAL_CALL getDocumentProperties()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getDocumentProperties() override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) override;
// XModel
virtual sal_Bool SAL_CALL attachResource(const OUString& sURL,
- const css::uno::Sequence< css::beans::PropertyValue >& aArgs)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aArgs) override;
- virtual OUString SAL_CALL getURL() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getURL() override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs() override;
- virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) override;
- virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) override;
- virtual void SAL_CALL lockControllers() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL lockControllers() override;
- virtual void SAL_CALL unlockControllers() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL unlockControllers() override;
- virtual sal_Bool SAL_CALL hasControllersLocked() throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasControllersLocked() override;
- virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController() override;
- virtual void SAL_CALL setCurrentController( const css::uno::Reference< css::frame::XController >& xController )
- throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setCurrentController( const css::uno::Reference< css::frame::XController >& xController ) override;
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection() override;
// XModel2
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL getControllers()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL getControllers() override;
- virtual css::uno::Sequence< OUString > SAL_CALL getAvailableViewControllerNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableViewControllerNames() override;
- virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createDefaultViewController(const css::uno::Reference< css::frame::XFrame >& Frame )
- throw (css::uno::RuntimeException ,
- css::lang::IllegalArgumentException,
- css::uno::Exception, std::exception ) override;
+ virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createDefaultViewController(const css::uno::Reference< css::frame::XFrame >& Frame ) override;
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createViewController(const OUString& ViewName ,
const css::uno::Sequence< css::beans::PropertyValue >& Arguments ,
- const css::uno::Reference< css::frame::XFrame >& Frame )
- throw (css::uno::RuntimeException ,
- css::lang::IllegalArgumentException,
- css::uno::Exception, std::exception ) override;
+ const css::uno::Reference< css::frame::XFrame >& Frame ) override;
// XModifiable2
- virtual sal_Bool SAL_CALL disableSetModified( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL enableSetModified( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isSetModifiedEnabled( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL disableSetModified( ) override;
+ virtual sal_Bool SAL_CALL enableSetModified( ) override;
+ virtual sal_Bool SAL_CALL isSetModifiedEnabled( ) override;
- virtual sal_Bool SAL_CALL isModified() throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isModified() override;
- virtual void SAL_CALL setModified( sal_Bool bModified )
- throw (css::beans::PropertyVetoException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setModified( sal_Bool bModified ) override;
- virtual void SAL_CALL addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual void SAL_CALL addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) override ;
- virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > & xListener) throw( css::uno::RuntimeException, std::exception ) override ;
+ virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > & xListener) override ;
// XCloseable
- virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) throw (css::util::CloseVetoException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) override;
// XCloseBroadcaster
- virtual void SAL_CALL addCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) override;
+ virtual void SAL_CALL removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) override;
// XPrintJobBroadcaster
- virtual void SAL_CALL addPrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addPrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) override;
+ virtual void SAL_CALL removePrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) override;
// XPrintable
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter() override;
- virtual void SAL_CALL setPrinter( const css::uno::Sequence< css::beans::PropertyValue >& seqPrinter )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL print( const css::uno::Sequence< css::beans::PropertyValue >& seqOptions )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPrinter( const css::uno::Sequence< css::beans::PropertyValue >& seqPrinter ) override;
+ virtual void SAL_CALL print( const css::uno::Sequence< css::beans::PropertyValue >& seqOptions ) override;
// XStorable2
- virtual void SAL_CALL storeSelf( const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL storeSelf( const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override;
// XStorable
- virtual sal_Bool SAL_CALL hasLocation() throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasLocation() override;
- virtual OUString SAL_CALL getLocation() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getLocation() override;
- virtual sal_Bool SAL_CALL isReadonly() throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isReadonly() override;
- virtual void SAL_CALL store() throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL store() override;
virtual void SAL_CALL storeAsURL( const OUString& sURL,
- const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::io::IOException, css::uno::RuntimeException, std::exception) override ;
+ const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override ;
virtual void SAL_CALL storeToURL( const OUString& sURL,
- const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override;
// XLoadable
- virtual void SAL_CALL initNew()
- throw (css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::RuntimeException,
- css::uno::Exception, std::exception) override;
+ virtual void SAL_CALL initNew() override;
- virtual void SAL_CALL load( const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::RuntimeException,
- css::uno::Exception, std::exception) override;
+ virtual void SAL_CALL load( const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override;
// XDocumentSubStorageSupplier
- virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentSubStorage( const OUString& aStorageName, sal_Int32 nMode )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentSubStorage( const OUString& aStorageName, sal_Int32 nMode ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getDocumentSubStoragesNames()
- throw ( css::io::IOException, css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getDocumentSubStoragesNames() override;
// XStorageBasedDocument
virtual void SAL_CALL loadFromStorage( const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescriptor )
- throw ( css::lang::IllegalArgumentException,
- css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescriptor ) override;
virtual void SAL_CALL storeToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescriptor )
- throw ( css::lang::IllegalArgumentException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
-
- virtual void SAL_CALL switchToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage )
- throw ( css::lang::IllegalArgumentException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
-
- virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage()
- throw ( css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescriptor ) override;
+
+ virtual void SAL_CALL switchToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage ) override;
+
+ virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage() override;
virtual void SAL_CALL addStorageChangeListener(
- const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::document::XStorageChangeListener >& xListener ) override;
virtual void SAL_CALL removeStorageChangeListener(
- const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::document::XStorageChangeListener >& xListener ) override;
// XVisualObject
- virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const css::awt::Size& aSize )
- throw ( css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const css::awt::Size& aSize ) override;
- virtual css::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect )
- throw ( css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect ) override;
- virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect )
- throw ( css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect ) override;
- virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect )
- throw ( css::uno::Exception,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect ) override;
// XScriptProviderSupplier
- virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider() override;
// XUIConfigurationManagerSupplier
- virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager() override;
// XTransferable
- virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor )
- throw (css::datatransfer::UnsupportedFlavorException,
- css::io::IOException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
- virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors() override;
- virtual sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor ) override;
// XEventsSupplier
@@ -550,21 +482,21 @@ public:
@return - an Events object.
*/
- virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() override;
// XEmbeddedScripts
- virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL getAllowMacroExecution() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries() override;
+ virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries() override;
+ virtual sal_Bool SAL_CALL getAllowMacroExecution() override;
// XScriptInvocationContext
- virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer() override;
// XEventBroadcaster
@@ -574,129 +506,97 @@ public:
@descr - registers the given XEventListener.
*/
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) override;
/**___________________________________________________________________________________________________
@descr - unregisters the given XEventListener.
*/
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) override;
// XDocumentEventBroadcaster
- virtual void SAL_CALL addDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL notifyDocumentEvent( const OUString& EventName, const css::uno::Reference< css::frame::XController2 >& ViewController, const css::uno::Any& Supplement ) throw (css::lang::IllegalArgumentException, css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& Listener ) override;
+ virtual void SAL_CALL removeDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& Listener ) override;
+ virtual void SAL_CALL notifyDocumentEvent( const OUString& EventName, const css::uno::Reference< css::frame::XController2 >& ViewController, const css::uno::Any& Supplement ) override;
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
// css.frame.XModule
- virtual void SAL_CALL setIdentifier(const OUString& sIdentifier)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setIdentifier(const OUString& sIdentifier) override;
// css.frame.XModule
- virtual OUString SAL_CALL getIdentifier()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getIdentifier() override;
// css.frame.XTitle
- virtual OUString SAL_CALL getTitle()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getTitle() override;
// css.frame.XTitle
- virtual void SAL_CALL setTitle( const OUString& sTitle )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTitle( const OUString& sTitle ) override;
// css.frame.XTitleChangeBroadcaster
- virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) override;
// css.frame.XTitleChangeBroadcaster
- virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) override;
// css.frame.XUntitledNumbers
- virtual ::sal_Int32 SAL_CALL leaseNumber( const css::uno::Reference< css::uno::XInterface >& xComponent )
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual ::sal_Int32 SAL_CALL leaseNumber( const css::uno::Reference< css::uno::XInterface >& xComponent ) override;
// css.frame.XUntitledNumbers
- virtual void SAL_CALL releaseNumber( ::sal_Int32 nNumber )
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL releaseNumber( ::sal_Int32 nNumber ) override;
// css.frame.XUntitledNumbers
- virtual void SAL_CALL releaseNumberForComponent( const css::uno::Reference< css::uno::XInterface >& xComponent )
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL releaseNumberForComponent( const css::uno::Reference< css::uno::XInterface >& xComponent ) override;
// css.frame.XUntitledNumbers
- virtual OUString SAL_CALL getUntitledPrefix()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getUntitledPrefix() override;
// css.document.XDocumentRecovery
- virtual sal_Bool SAL_CALL wasModifiedSinceLastSave()
- throw ( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL storeToRecoveryFile( const OUString& i_TargetLocation, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor )
- throw ( css::uno::RuntimeException,
- css::io::IOException,
- css::lang::WrappedTargetException, std::exception ) override;
- virtual void SAL_CALL recoverFromFile( const OUString& i_SourceLocation, const OUString& i_SalvagedFile, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor )
- throw ( css::uno::RuntimeException,
- css::io::IOException,
- css::lang::WrappedTargetException, std::exception ) override;
+ virtual sal_Bool SAL_CALL wasModifiedSinceLastSave() override;
+ virtual void SAL_CALL storeToRecoveryFile( const OUString& i_TargetLocation, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor ) override;
+ virtual void SAL_CALL recoverFromFile( const OUString& i_SourceLocation, const OUString& i_SalvagedFile, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor ) override;
// css.document.XUndoManagerSupplier
- virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager( ) override;
// css::rdf::XNode:
- virtual OUString SAL_CALL getStringValue()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getStringValue() override;
// css::rdf::XURI:
- virtual OUString SAL_CALL getNamespace()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getLocalName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getNamespace() override;
+ virtual OUString SAL_CALL getLocalName() override;
// css::rdf::XRepositorySupplier:
virtual css::uno::Reference<
- css::rdf::XRepository > SAL_CALL getRDFRepository()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::rdf::XRepository > SAL_CALL getRDFRepository() override;
// css::rdf::XDocumentMetadataAccess:
virtual css::uno::Reference<
css::rdf::XMetadatable > SAL_CALL
getElementByMetadataReference(
- const css::beans::StringPair & i_rReference)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::beans::StringPair & i_rReference) override;
virtual css::uno::Reference<
css::rdf::XMetadatable > SAL_CALL
getElementByURI(const css::uno::Reference<
- css::rdf::XURI > & i_xURI)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException, std::exception) override;
+ css::rdf::XURI > & i_xURI) override;
virtual css::uno::Sequence< css::uno::Reference<
css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType(
const css::uno::Reference<
- css::rdf::XURI > & i_xType)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException, std::exception) override;
+ css::rdf::XURI > & i_xType) override;
virtual css::uno::Reference<
css::rdf::XURI> SAL_CALL
addMetadataFile(const OUString & i_rFileName,
const css::uno::Sequence<
css::uno::Reference< css::rdf::XURI >
- > & i_rTypes)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::ElementExistException, std::exception) override;
+ > & i_rTypes) override;
virtual css::uno::Reference<
css::rdf::XURI> SAL_CALL
importMetadataFile(::sal_Int16 i_Format,
@@ -707,29 +607,14 @@ public:
css::rdf::XURI > & i_xBaseURI,
const css::uno::Sequence<
css::uno::Reference< css::rdf::XURI >
- > & i_rTypes)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::datatransfer::UnsupportedFlavorException,
- css::container::ElementExistException,
- css::rdf::ParseException,
- css::io::IOException, std::exception) override;
+ > & i_rTypes) override;
virtual void SAL_CALL removeMetadataFile(
const css::uno::Reference<
- css::rdf::XURI > & i_xGraphName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, std::exception) override;
+ css::rdf::XURI > & i_xGraphName) override;
virtual void SAL_CALL addContentOrStylesFile(
- const OUString & i_rFileName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::ElementExistException, std::exception) override;
+ const OUString & i_rFileName) override;
virtual void SAL_CALL removeContentOrStylesFile(
- const OUString & i_rFileName)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, std::exception) override;
+ const OUString & i_rFileName) override;
virtual void SAL_CALL loadMetadataFromStorage(
const css::uno::Reference<
@@ -737,59 +622,42 @@ public:
const css::uno::Reference<
css::rdf::XURI > & i_xBaseURI,
const css::uno::Reference<
- css::task::XInteractionHandler> & i_xHandler)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::task::XInteractionHandler> & i_xHandler) override;
virtual void SAL_CALL storeMetadataToStorage(
const css::uno::Reference<
- css::embed::XStorage > & i_xStorage)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::embed::XStorage > & i_xStorage) override;
virtual void SAL_CALL loadMetadataFromMedium(
const css::uno::Sequence<
- css::beans::PropertyValue > & i_rMedium)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::beans::PropertyValue > & i_rMedium) override;
virtual void SAL_CALL storeMetadataToMedium(
const css::uno::Sequence<
- css::beans::PropertyValue > & i_rMedium)
- throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, std::exception) override;
+ css::beans::PropertyValue > & i_rMedium) override;
// XCmisDocument
virtual css::uno::Sequence< css::document::CmisProperty >
- SAL_CALL getCmisProperties()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getCmisProperties() override;
virtual void SAL_CALL setCmisProperties(
const css::uno::Sequence<
- css::document::CmisProperty >& _cmisproperties )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::document::CmisProperty >& _cmisproperties ) override;
virtual void SAL_CALL updateCmisProperties(
const css::uno::Sequence<
- css::document::CmisProperty >& _cmisproperties )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::document::CmisProperty >& _cmisproperties ) override;
- virtual css::uno::Sequence< css::document::CmisVersion > SAL_CALL getAllVersions ( )
- throw (css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< css::document::CmisVersion > SAL_CALL getAllVersions ( ) override;
- virtual void SAL_CALL checkOut( ) throw ( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL cancelCheckOut( ) throw ( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL checkIn( sal_Bool bIsMajor, const OUString & rMessage )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL checkOut( ) override;
+ virtual void SAL_CALL cancelCheckOut( ) override;
+ virtual void SAL_CALL checkIn( sal_Bool bIsMajor, const OUString & rMessage ) override;
- virtual sal_Bool SAL_CALL isVersionable( ) throw ( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL canCheckOut( ) throw ( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL canCancelCheckOut( ) throw ( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL canCheckIn( ) throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isVersionable( ) override;
+ virtual sal_Bool SAL_CALL canCheckOut( ) override;
+ virtual sal_Bool SAL_CALL canCancelCheckOut( ) override;
+ virtual sal_Bool SAL_CALL canCheckIn( ) override;
/// @throws css::uno::RuntimeException
- bool getBoolPropertyValue( const OUString& rName ) throw ( css::uno::RuntimeException );
+ bool getBoolPropertyValue( const OUString& rName );
// SfxListener
@@ -810,8 +678,8 @@ public:
bool IsInitialized() const;
void MethodEntryCheck( const bool i_mustBeInitialized ) const;
- css::uno::Reference < css::container::XIndexAccess > SAL_CALL getViewData() throw (css::uno::RuntimeException, std::exception) override;
- void SAL_CALL setViewData( const css::uno::Reference < css::container::XIndexAccess >& aData ) throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference < css::container::XIndexAccess > SAL_CALL getViewData() override;
+ void SAL_CALL setViewData( const css::uno::Reference < css::container::XIndexAccess >& aData ) override;
/** calls all XEventListeners */
void notifyEvent( const css::document::EventObject& aEvent ) const;
@@ -839,7 +707,7 @@ protected:
private:
/// @throws css::uno::RuntimeException
- css::uno::Reference< css::ui::XUIConfigurationManager2 > getUIConfigurationManager2() throw ( css::uno::RuntimeException );
+ css::uno::Reference< css::ui::XUIConfigurationManager2 > getUIConfigurationManager2();
bool impl_getPrintHelper();
SAL_DLLPRIVATE void ListenForStorage_Impl( const css::uno::Reference< css::embed::XStorage >& xStorage );
SAL_DLLPRIVATE OUString GetMediumFilterName_Impl();
diff --git a/include/sfx2/sfxstatuslistener.hxx b/include/sfx2/sfxstatuslistener.hxx
index c5a18e9515bd..0f261803bb68 100644
--- a/include/sfx2/sfxstatuslistener.hxx
+++ b/include/sfx2/sfxstatuslistener.hxx
@@ -49,15 +49,15 @@ class SFX2_DLLPUBLIC SfxStatusListener : public cppu::WeakImplHelper<
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
// XComponent
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() override;
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) 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;
// XStatusListener
- virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) override;
private:
SfxStatusListener( const SfxStatusListener& ) = delete;
diff --git a/include/sfx2/sidebar/Accessible.hxx b/include/sfx2/sidebar/Accessible.hxx
index 38c9fb7fdf7c..34e436972893 100644
--- a/include/sfx2/sidebar/Accessible.hxx
+++ b/include/sfx2/sidebar/Accessible.hxx
@@ -49,8 +49,7 @@ public:
virtual void SAL_CALL disposing() override;
// XAccessible
- virtual css::uno::Reference<css::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference<css::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext() override;
private:
css::uno::Reference<css::accessibility::XAccessibleContext> mxContext;
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx
index 519daef5da82..e648b2b3bb9a 100644
--- a/include/sfx2/sidebar/SidebarController.hxx
+++ b/include/sfx2/sidebar/SidebarController.hxx
@@ -86,24 +86,19 @@ public:
static void unregisterSidebarForFrame(SidebarController* pController, const css::uno::Reference<css::frame::XController>& xFrame);
// ui::XContextChangeEventListener
- virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject& rEvent)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject& rEvent) override;
// XEventListener
- virtual void SAL_CALL disposing (const css::lang::EventObject& rEventObject)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing (const css::lang::EventObject& rEventObject) override;
// beans::XPropertyChangeListener
- virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent& rEvent)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent& rEvent) override;
// frame::XStatusListener
- virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent& rEvent)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent& rEvent) override;
// ui::XSidebar
- virtual void SAL_CALL requestLayout()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL requestLayout() override;
void NotifyResize();
diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx
index 6fe46dcb7c46..e87014708cf1 100644
--- a/include/sfx2/sidebar/SidebarPanelBase.hxx
+++ b/include/sfx2/sidebar/SidebarPanelBase.hxx
@@ -59,39 +59,28 @@ public:
const css::ui::LayoutSize& rLayoutSize);
// XContextChangeEventListener
- virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject& rEvent)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject& rEvent) override;
// XEventListener
- virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent) override;
// XUIElement
- virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getResourceURL()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getType()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getRealInterface()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame() override;
+ virtual OUString SAL_CALL getResourceURL() override;
+ virtual sal_Int16 SAL_CALL getType() override;
+ virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getRealInterface() override;
// XToolPanel
virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL createAccessible(
- const css::uno::Reference<css::accessibility::XAccessible>& rxParentAccessible)
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getWindow()
- throw(css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::accessibility::XAccessible>& rxParentAccessible) override;
+ virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getWindow() override;
// XSidebarPanel
- virtual css::ui::LayoutSize SAL_CALL getHeightForWidth(sal_Int32 nWidth)
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getMinimalWidth()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::ui::LayoutSize SAL_CALL getHeightForWidth(sal_Int32 nWidth) override;
+ virtual sal_Int32 SAL_CALL getMinimalWidth() override;
// XUpdateModel
- virtual void SAL_CALL updateModel(const css::uno::Reference<css::frame::XModel>& xModel)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL updateModel(const css::uno::Reference<css::frame::XModel>& xModel) override;
protected:
css::uno::Reference<css::frame::XFrame> mxFrame;
@@ -102,8 +91,7 @@ protected:
SidebarPanelBase(const SidebarPanelBase&) = delete;
SidebarPanelBase& operator=( const SidebarPanelBase& ) = delete;
- virtual void SAL_CALL disposing()
- throw (css::uno::RuntimeException) override;
+ virtual void SAL_CALL disposing() override;
private:
VclPtr<vcl::Window> mpControl;
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx
index f457d740ed9c..6f0915e1c17a 100644
--- a/include/sfx2/sidebar/Theme.hxx
+++ b/include/sfx2/sidebar/Theme.hxx
@@ -153,52 +153,29 @@ public:
static css::uno::Reference<css::beans::XPropertySet> GetPropertySet();
// beans::XPropertySet
- virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
virtual void SAL_CALL setPropertyValue (
const ::rtl::OUString& rsPropertyName,
- const css::uno::Any& rValue)
- throw (css::beans::UnknownPropertyException,
- css::uno::RuntimeException,
- std::exception) override;
+ const css::uno::Any& rValue) override;
virtual css::uno::Any SAL_CALL getPropertyValue (
- const ::rtl::OUString& rsPropertyName)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const ::rtl::OUString& rsPropertyName) override;
virtual void SAL_CALL addPropertyChangeListener(
const ::rtl::OUString& rsPropertyName,
- const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener) override;
virtual void SAL_CALL removePropertyChangeListener(
const ::rtl::OUString& rsPropertyName,
- const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener) override;
virtual void SAL_CALL addVetoableChangeListener(
const ::rtl::OUString& rsPropertyName,
- const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener) override;
virtual void SAL_CALL removeVetoableChangeListener(
const ::rtl::OUString& rsPropertyName,
- const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener) override;
// beans::XPropertySetInfo
- virtual css::uno::Sequence<css::beans::Property> SAL_CALL getProperties()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Property SAL_CALL getPropertyByName (const ::rtl::OUString& rsName)
- throw(css::beans::UnknownPropertyException,
- css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasPropertyByName (const ::rtl::OUString& rsName)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence<css::beans::Property> SAL_CALL getProperties() override;
+ virtual css::beans::Property SAL_CALL getPropertyByName (const ::rtl::OUString& rsName) override;
+ virtual sal_Bool SAL_CALL hasPropertyByName (const ::rtl::OUString& rsName) override;
private:
static Theme& GetCurrentTheme();
diff --git a/include/sfx2/sidebar/UnoDeck.hxx b/include/sfx2/sidebar/UnoDeck.hxx
index 9e4d05255b15..b0e82e63f1da 100644
--- a/include/sfx2/sidebar/UnoDeck.hxx
+++ b/include/sfx2/sidebar/UnoDeck.hxx
@@ -30,34 +30,22 @@ public:
SfxUnoDeck(const css::uno::Reference<css::frame::XFrame>& , const OUString&);
- virtual OUString SAL_CALL getId()
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual OUString SAL_CALL getTitle()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTitle( const OUString& newTitle )
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual sal_Bool SAL_CALL isActive()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL activate( const sal_Bool bActivate )
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual css::uno::Reference<css::ui::XPanels> SAL_CALL getPanels()
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual sal_Int32 SAL_CALL getOrderIndex()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setOrderIndex( const sal_Int32 newOrderIndex )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveFirst()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveLast()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveUp()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveDown()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getId() override;
+
+ virtual OUString SAL_CALL getTitle() override;
+ virtual void SAL_CALL setTitle( const OUString& newTitle ) override;
+
+ virtual sal_Bool SAL_CALL isActive() override;
+ virtual void SAL_CALL activate( const sal_Bool bActivate ) override;
+
+ virtual css::uno::Reference<css::ui::XPanels> SAL_CALL getPanels() override;
+
+ virtual sal_Int32 SAL_CALL getOrderIndex() override;
+ virtual void SAL_CALL setOrderIndex( const sal_Int32 newOrderIndex ) override;
+ virtual void SAL_CALL moveFirst() override;
+ virtual void SAL_CALL moveLast() override;
+ virtual void SAL_CALL moveUp() override;
+ virtual void SAL_CALL moveDown() override;
private:
diff --git a/include/sfx2/sidebar/UnoDecks.hxx b/include/sfx2/sidebar/UnoDecks.hxx
index 34cf6ff87521..3f7c623283e0 100644
--- a/include/sfx2/sidebar/UnoDecks.hxx
+++ b/include/sfx2/sidebar/UnoDecks.hxx
@@ -34,32 +34,21 @@ public:
// XNameAccess
- virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
- throw(css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
// XIndexAccess
- virtual sal_Int32 SAL_CALL getCount()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
- virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
// XElementAccess
- virtual css::uno::Type SAL_CALL getElementType()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasElements()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType() override;
+ virtual sal_Bool SAL_CALL hasElements() override;
private:
diff --git a/include/sfx2/sidebar/UnoPanel.hxx b/include/sfx2/sidebar/UnoPanel.hxx
index 8c308100af46..b77a0ab0fcec 100644
--- a/include/sfx2/sidebar/UnoPanel.hxx
+++ b/include/sfx2/sidebar/UnoPanel.hxx
@@ -33,36 +33,23 @@ public:
SfxUnoPanel(const css::uno::Reference<css::frame::XFrame>& , const OUString&, const OUString&);
- virtual OUString SAL_CALL getId()
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual OUString SAL_CALL getTitle()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTitle( const OUString& newTitle )
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual sal_Bool SAL_CALL isExpanded()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL expand( const sal_Bool bCollapseOther )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL collapse( )
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual sal_Int32 SAL_CALL getOrderIndex()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setOrderIndex( const sal_Int32 newOrderIndex )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveFirst()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveLast()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveUp()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL moveDown()
- throw(css::uno::RuntimeException, std::exception) override;
-
- virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getDialog()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getId() override;
+
+ virtual OUString SAL_CALL getTitle() override;
+ virtual void SAL_CALL setTitle( const OUString& newTitle ) override;
+
+ virtual sal_Bool SAL_CALL isExpanded() override;
+ virtual void SAL_CALL expand( const sal_Bool bCollapseOther ) override;
+ virtual void SAL_CALL collapse( ) override;
+
+ virtual sal_Int32 SAL_CALL getOrderIndex() override;
+ virtual void SAL_CALL setOrderIndex( const sal_Int32 newOrderIndex ) override;
+ virtual void SAL_CALL moveFirst() override;
+ virtual void SAL_CALL moveLast() override;
+ virtual void SAL_CALL moveUp() override;
+ virtual void SAL_CALL moveDown() override;
+
+ virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getDialog() override;
private:
diff --git a/include/sfx2/sidebar/UnoPanels.hxx b/include/sfx2/sidebar/UnoPanels.hxx
index b9558b4efc34..71aa7d0431bd 100644
--- a/include/sfx2/sidebar/UnoPanels.hxx
+++ b/include/sfx2/sidebar/UnoPanels.hxx
@@ -31,37 +31,25 @@ public:
SfxUnoPanels(const css::uno::Reference<css::frame::XFrame>& , const OUString&);
// XPanels
- virtual OUString SAL_CALL getDeckId()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDeckId() override;
// XNameAccess
- virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
- throw(css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
// XIndexAccess
- virtual sal_Int32 SAL_CALL getCount()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
- virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
// XElementAccess
- virtual css::uno::Type SAL_CALL getElementType()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasElements()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType() override;
+ virtual sal_Bool SAL_CALL hasElements() override;
private:
diff --git a/include/sfx2/sidebar/UnoSidebar.hxx b/include/sfx2/sidebar/UnoSidebar.hxx
index 515ba9648906..a60143b65f94 100644
--- a/include/sfx2/sidebar/UnoSidebar.hxx
+++ b/include/sfx2/sidebar/UnoSidebar.hxx
@@ -40,24 +40,18 @@ public:
SfxUnoSidebar(const css::uno::Reference<css::frame::XFrame>&);
- virtual void SAL_CALL showDecks (const sal_Bool bVisible)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL showDecks (const sal_Bool bVisible) override;
- virtual void SAL_CALL setVisible (const sal_Bool bVisible)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setVisible (const sal_Bool bVisible) override;
- virtual sal_Bool SAL_CALL isVisible()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isVisible() override;
- virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame() override;
- virtual css::uno::Reference<css::ui::XDecks> SAL_CALL getDecks()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference<css::ui::XDecks> SAL_CALL getDecks() override;
- virtual css::uno::Reference<css::ui::XSidebar> SAL_CALL getSidebar()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference<css::ui::XSidebar> SAL_CALL getSidebar() override;
};
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index d3cb43b59ffc..a98d66e8e949 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -75,22 +75,21 @@ protected:
using svt::StatusbarController::dispose;
// XStatusListener
- virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;
// XStatusbarController
- virtual sal_Bool SAL_CALL mouseButtonDown( const css::awt::MouseEvent& aMouseEvent ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL mouseMove( const css::awt::MouseEvent& aMouseEvent ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL mouseButtonUp( const css::awt::MouseEvent& aMouseEvent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL mouseButtonDown( const css::awt::MouseEvent& aMouseEvent ) override;
+ virtual sal_Bool SAL_CALL mouseMove( const css::awt::MouseEvent& aMouseEvent ) override;
+ virtual sal_Bool SAL_CALL mouseButtonUp( const css::awt::MouseEvent& aMouseEvent ) override;
virtual void SAL_CALL command( const css::awt::Point& aPos,
::sal_Int32 nCommand,
sal_Bool bMouseEvent,
- const css::uno::Any& aData ) throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& aData ) override;
virtual void SAL_CALL paint( const css::uno::Reference< css::awt::XGraphics >& xGraphics,
const css::awt::Rectangle& rOutputRectangle,
- ::sal_Int32 nStyle ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL click( const css::awt::Point& aPos ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL doubleClick( const css::awt::Point& aPos ) throw (css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nStyle ) override;
+ virtual void SAL_CALL click( const css::awt::Point& aPos ) override;
+ virtual void SAL_CALL doubleClick( const css::awt::Point& aPos ) override;
// Old sfx2 interface
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index 02783f47bbc1..caa0cfe9bfad 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -162,24 +162,18 @@ protected:
public:
// XComponent
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() override;
// new controller API
// XStatusListener
- virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;
// XToolbarController
- virtual void SAL_CALL execute( sal_Int16 KeyModifier )
- throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL click()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL doubleClick()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& rParent )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL execute( sal_Int16 KeyModifier ) override;
+ virtual void SAL_CALL click() override;
+ virtual void SAL_CALL doubleClick() override;
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override;
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& rParent ) override;
public:
SFX_DECL_TOOLBOX_CONTROL();
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 2ca48340dc81..421cd607c08c 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -57,10 +57,10 @@ public:
// XDispatch
virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
- const css::uno::Reference< css::frame::XDispatchResultListener >& rListener ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL dispatch( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) throw( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::frame::XDispatchResultListener >& rListener ) override;
+ virtual void SAL_CALL dispatch( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) override;
+ virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) override;
+ virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) override;
// Something else
void ReleaseAll();
@@ -86,17 +86,14 @@ public:
virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
- const css::uno::Reference< css::frame::XDispatchResultListener >& rListener )
- throw( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::frame::XDispatchResultListener >& rListener ) override;
virtual void SAL_CALL dispatch( const css::util::URL& aURL,
- const css::uno::Sequence< css::beans::PropertyValue >& aArgs )
- throw( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) override;
virtual void SAL_CALL addStatusListener( const css::uno::Reference< css::frame::XStatusListener > & xControl,
- const css::util::URL& aURL)
- throw( css::uno::RuntimeException, std::exception ) override;
+ const css::util::URL& aURL) override;
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override ;
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override ;
static const css::uno::Sequence< sal_Int8 >& impl_getStaticIdentifier();
static bool IsMasterUnoCommand( const css::util::URL& aURL );
@@ -144,10 +141,9 @@ public:
/// @throws css::uno::RuntimeException
void SAL_CALL dispatch( const css::util::URL& aURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
- const css::uno::Reference< css::frame::XDispatchResultListener >& rListener )
- throw (css::uno::RuntimeException, std::exception);
+ const css::uno::Reference< css::frame::XDispatchResultListener >& rListener );
/// @throws css::uno::RuntimeException
- void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) throw( css::uno::RuntimeException );
+ void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL);
void UnBindController();
SfxDispatcher* GetDispatcher();
void SetFrame(const css::uno::Reference< css::frame::XFrame >& xFrame);
diff --git a/include/sfx2/userinputinterception.hxx b/include/sfx2/userinputinterception.hxx
index 00db6f1d06eb..7105b7050154 100644
--- a/include/sfx2/userinputinterception.hxx
+++ b/include/sfx2/userinputinterception.hxx
@@ -51,13 +51,13 @@ namespace sfx2
// delegator functions for your XUserInputInterception implementation
/// @throws css::uno::RuntimeException
- void addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException);
+ void addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler );
/// @throws css::uno::RuntimeException
- void removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException);
+ void removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler );
/// @throws css::uno::RuntimeException
- void addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException);
+ void addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler );
/// @throws css::uno::RuntimeException
- void removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException);
+ void removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler );
// state
bool hasKeyHandlers() const;