summaryrefslogtreecommitdiff
path: root/sc/inc/linkuno.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/linkuno.hxx')
-rw-r--r--sc/inc/linkuno.hxx338
1 files changed, 102 insertions, 236 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index efbfc35311fa..f6f0a3e97b86 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -72,56 +72,29 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// XNamed
- virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setName( const OUString& aName )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getName() override;
+ virtual void SAL_CALL setName( const OUString& aName ) override;
// XRefreshable
- virtual void SAL_CALL refresh()
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL refresh() override;
+ virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
+ virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo >
- SAL_CALL getPropertySetInfo( )
- throw(css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getPropertySetInfo( ) override;
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
- const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& aValue ) override;
virtual css::uno::Any SAL_CALL getPropertyValue(
- const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const OUString& PropertyName ) override;
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// aus get/setPropertyValue gerufen:
OUString getFileName() const;
@@ -134,12 +107,9 @@ public:
void setRefreshDelay(sal_Int32 nRefreshDelay);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class ScSheetLinksObj : public cppu::WeakImplHelper<
@@ -162,38 +132,26 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) 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::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(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() 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 css::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw(css::uno::RuntimeException, std::exception) override;
+ createEnumeration() 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;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class ScAreaLinkObj : public cppu::WeakImplHelper<
@@ -222,50 +180,24 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// XRefreshable
- virtual void SAL_CALL refresh()
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL refresh() override;
+ virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
+ virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo >
- SAL_CALL getPropertySetInfo( )
- throw(css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getPropertySetInfo( ) override;
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
- const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// called from get/setPropertyValue:
OUString getFileName() const;
@@ -278,21 +210,15 @@ public:
void setRefreshDelay(sal_Int32 nRefreshDelay);
// XAreaLink
- virtual OUString SAL_CALL getSourceArea() throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setSourceArea( const OUString& aSourceArea )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::table::CellRangeAddress SAL_CALL getDestArea()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDestArea( const css::table::CellRangeAddress& aDestArea )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getSourceArea() override;
+ virtual void SAL_CALL setSourceArea( const OUString& aSourceArea ) override;
+ virtual css::table::CellRangeAddress SAL_CALL getDestArea() override;
+ virtual void SAL_CALL setDestArea( const css::table::CellRangeAddress& aDestArea ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class ScAreaLinksObj : public cppu::WeakImplHelper<
@@ -317,34 +243,25 @@ public:
const OUString& aFileName,
const OUString& aSourceArea,
const OUString& aFilter,
- const OUString& aFilterOptions )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeByIndex( sal_Int32 nIndex )
- throw(css::uno::RuntimeException, std::exception) override;
+ const OUString& aFilterOptions ) override;
+ virtual void SAL_CALL removeByIndex( sal_Int32 nIndex ) override;
// XIndexAccess
- virtual sal_Int32 SAL_CALL getCount() throw(css::uno::RuntimeException, std::exception) 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 sal_Int32 SAL_CALL getCount() override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw(css::uno::RuntimeException, std::exception) override;
+ createEnumeration() 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;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
//! order of XNamed and DDELink changed to avoid "duplicate comdat" symbols
@@ -374,40 +291,29 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// XNamed
- virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setName( const OUString& aName )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getName() override;
+ virtual void SAL_CALL setName( const OUString& aName ) override;
// XDDELink
- virtual OUString SAL_CALL getApplication() throw(css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTopic() throw(css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getItem() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getApplication() override;
+ virtual OUString SAL_CALL getTopic() override;
+ virtual OUString SAL_CALL getItem() override;
// XRefreshable
- virtual void SAL_CALL refresh() throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL refresh() override;
+ virtual void SAL_CALL addRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
+ virtual void SAL_CALL removeRefreshListener( const css::uno::Reference< css::util::XRefreshListener >& l ) override;
// XDDELinkResults
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > >
- SAL_CALL getResults( )
- throw (css::uno::RuntimeException,
- std::exception) override;
+ SAL_CALL getResults( ) override;
virtual void SAL_CALL setResults(
- const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aResults )
- throw (css::uno::RuntimeException,
- std::exception) override;
+ const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aResults ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class ScDDELinksObj : public cppu::WeakImplHelper<
@@ -430,45 +336,31 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) 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::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(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() 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 css::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw(css::uno::RuntimeException, std::exception) override;
+ createEnumeration() 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;
// XDDELinks
virtual css::uno::Reference< css::sheet::XDDELink > SAL_CALL addDDELink(
const OUString& aApplication, const OUString& aTopic,
- const OUString& aItem, css::sheet::DDELinkMode nMode )
- throw (css::uno::RuntimeException,
- std::exception) override;
+ const OUString& aItem, css::sheet::DDELinkMode nMode ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class ScExternalSheetCacheObj : public cppu::WeakImplHelper< css::sheet::XExternalSheetCache >
@@ -479,21 +371,16 @@ public:
// XExternalSheetCache
virtual void SAL_CALL setCellValue(
- sal_Int32 nCol, sal_Int32 nRow, const css::uno::Any& rAny)
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ sal_Int32 nCol, sal_Int32 nRow, const css::uno::Any& rAny) override;
- virtual css::uno::Any SAL_CALL getCellValue(sal_Int32 nCol, sal_Int32 nRow)
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getCellValue(sal_Int32 nCol, sal_Int32 nRow) override;
- virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllRows()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllRows() override;
- virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllColumns(sal_Int32 nRow)
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllColumns(sal_Int32 nRow) override;
// Attributes
- virtual sal_Int32 SAL_CALL getTokenIndex()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getTokenIndex() override;
private:
ScExternalSheetCacheObj(const ScExternalSheetCacheObj&) = delete;
@@ -512,38 +399,27 @@ public:
// XExternalDocLink
virtual css::uno::Reference< css::sheet::XExternalSheetCache >
- SAL_CALL addSheetCache( const OUString& aSheetName, sal_Bool bDynamicCache )
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL addSheetCache( const OUString& aSheetName, sal_Bool bDynamicCache ) 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::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(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() 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 css::uno::Any SAL_CALL getByIndex( sal_Int32 nIndex )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 nIndex ) override;
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw(css::uno::RuntimeException, std::exception) override;
+ createEnumeration() 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;
// Attributes
- virtual sal_Int32 SAL_CALL getTokenIndex()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getTokenIndex() override;
private:
ScDocShell* mpDocShell;
@@ -560,34 +436,24 @@ public:
// XExternalDocLinks
virtual css::uno::Reference< css::sheet::XExternalDocLink >
- SAL_CALL addDocLink( const OUString& aDocName )
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL addDocLink( const OUString& aDocName ) 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::Sequence< OUString > SAL_CALL getElementNames()
- throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw(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() 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 css::uno::Any SAL_CALL getByIndex( sal_Int32 nIndex )
- throw(css::lang::IndexOutOfBoundsException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCount() override;
+ virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 nIndex ) override;
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw(css::uno::RuntimeException, std::exception) override;
+ createEnumeration() 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:
ScExternalDocLinksObj(const ScExternalDocLinksObj&) = delete;