summaryrefslogtreecommitdiff
path: root/filter/source
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 /filter/source
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 'filter/source')
-rw-r--r--filter/source/config/cache/basecontainer.cxx27
-rw-r--r--filter/source/config/cache/basecontainer.hxx61
-rw-r--r--filter/source/config/cache/cacheupdatelistener.cxx2
-rw-r--r--filter/source/config/cache/cacheupdatelistener.hxx6
-rw-r--r--filter/source/config/cache/configflush.cxx6
-rw-r--r--filter/source/config/cache/configflush.hxx18
-rw-r--r--filter/source/config/cache/contenthandlerfactory.cxx5
-rw-r--r--filter/source/config/cache/contenthandlerfactory.hxx25
-rw-r--r--filter/source/config/cache/filtercache.cxx27
-rw-r--r--filter/source/config/cache/filtercache.hxx81
-rw-r--r--filter/source/config/cache/filterfactory.cxx6
-rw-r--r--filter/source/config/cache/filterfactory.hxx14
-rw-r--r--filter/source/config/cache/frameloaderfactory.cxx5
-rw-r--r--filter/source/config/cache/frameloaderfactory.hxx25
-rw-r--r--filter/source/config/cache/typedetection.cxx3
-rw-r--r--filter/source/config/cache/typedetection.hxx9
-rw-r--r--filter/source/flash/swfdialog.cxx11
-rw-r--r--filter/source/flash/swfdialog.hxx16
-rw-r--r--filter/source/flash/swffilter.cxx36
-rw-r--r--filter/source/flash/swfuno.hxx16
-rw-r--r--filter/source/graphic/GraphicExportDialog.cxx10
-rw-r--r--filter/source/graphic/GraphicExportDialog.hxx15
-rw-r--r--filter/source/graphic/GraphicExportFilter.cxx5
-rw-r--r--filter/source/graphic/GraphicExportFilter.hxx8
-rw-r--r--filter/source/msfilter/msvbahelper.cxx20
-rw-r--r--filter/source/odfflatxml/OdfFlatXml.cxx18
-rw-r--r--filter/source/pdf/pdfdialog.cxx10
-rw-r--r--filter/source/pdf/pdfdialog.hxx21
-rw-r--r--filter/source/pdf/pdfexport.cxx8
-rw-r--r--filter/source/pdf/pdffilter.cxx14
-rw-r--r--filter/source/pdf/pdffilter.hxx27
-rw-r--r--filter/source/pdf/pdfinteract.cxx11
-rw-r--r--filter/source/pdf/pdfinteract.hxx23
-rw-r--r--filter/source/placeware/exporter.cxx4
-rw-r--r--filter/source/placeware/filter.cxx24
-rw-r--r--filter/source/placeware/filter.hxx9
-rw-r--r--filter/source/storagefilterdetect/filterdetect.cxx7
-rw-r--r--filter/source/storagefilterdetect/filterdetect.hxx15
-rw-r--r--filter/source/svg/svgdialog.cxx11
-rw-r--r--filter/source/svg/svgdialog.hxx29
-rw-r--r--filter/source/svg/svgexport.cxx1
-rw-r--r--filter/source/svg/svgfilter.cxx7
-rw-r--r--filter/source/svg/svgfilter.hxx14
-rw-r--r--filter/source/svg/svgimport.cxx1
-rw-r--r--filter/source/svg/svgwriter.cxx2
-rw-r--r--filter/source/svg/svgwriter.hxx3
-rw-r--r--filter/source/svg/test/odfserializer.cxx32
-rw-r--r--filter/source/svg/test/svg2odf.cxx6
-rw-r--r--filter/source/t602/t602filter.cxx25
-rw-r--r--filter/source/t602/t602filter.hxx97
-rw-r--r--filter/source/textfilterdetect/filterdetect.cxx6
-rw-r--r--filter/source/textfilterdetect/filterdetect.hxx15
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx13
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx49
-rw-r--r--filter/source/xmlfilterdetect/filterdetect.cxx6
-rw-r--r--filter/source/xmlfilterdetect/filterdetect.hxx15
-rw-r--r--filter/source/xsltdialog/typedetectionimport.cxx8
-rw-r--r--filter/source/xsltdialog/typedetectionimport.hxx24
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx58
-rw-r--r--filter/source/xsltdialog/xmlfilterjar.cxx6
-rw-r--r--filter/source/xsltdialog/xmlfilterjar.hxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx8
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.cxx13
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.hxx22
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx36
65 files changed, 359 insertions, 798 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 1869e75cb82b..ec73aaaf1a35 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -102,7 +102,6 @@ void BaseContainer::impl_loadOnDemand()
void BaseContainer::impl_initFlushMode()
- throw (css::uno::RuntimeException)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -128,20 +127,17 @@ FilterCache* BaseContainer::impl_getWorkingCache() const
OUString SAL_CALL BaseContainer::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return m_sImplementationName;
}
sal_Bool SAL_CALL BaseContainer::supportsService(const OUString& sServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, sServiceName);
}
css::uno::Sequence< OUString > SAL_CALL BaseContainer::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return m_lServiceNames;
}
@@ -149,10 +145,6 @@ css::uno::Sequence< OUString > SAL_CALL BaseContainer::getSupportedServiceNames(
void SAL_CALL BaseContainer::insertByName(const OUString& sItem ,
const css::uno::Any& aValue)
- throw (css::lang::IllegalArgumentException ,
- css::container::ElementExistException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception )
{
if (sItem.isEmpty())
throw css::lang::IllegalArgumentException("empty value not allowed as item name.",
@@ -188,9 +180,6 @@ void SAL_CALL BaseContainer::insertByName(const OUString& sItem ,
void SAL_CALL BaseContainer::removeByName(const OUString& sItem)
- throw (css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception )
{
impl_loadOnDemand();
@@ -210,10 +199,6 @@ void SAL_CALL BaseContainer::removeByName(const OUString& sItem)
void SAL_CALL BaseContainer::replaceByName(const OUString& sItem ,
const css::uno::Any& aValue)
- throw (css::lang::IllegalArgumentException ,
- css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception )
{
if (sItem.isEmpty())
throw css::lang::IllegalArgumentException("empty value not allowed as item name.",
@@ -249,9 +234,6 @@ void SAL_CALL BaseContainer::replaceByName(const OUString& sItem ,
css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem)
- throw (css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception )
{
if (sItem.isEmpty())
throw css::container::NoSuchElementException( "An empty item can't be part of this cache!",
@@ -289,7 +271,6 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem)
css::uno::Sequence< OUString > SAL_CALL BaseContainer::getElementNames()
- throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence< OUString > lNames;
@@ -317,7 +298,6 @@ css::uno::Sequence< OUString > SAL_CALL BaseContainer::getElementNames()
sal_Bool SAL_CALL BaseContainer::hasByName(const OUString& sItem)
- throw (css::uno::RuntimeException, std::exception)
{
bool bHasOne = false;
@@ -344,7 +324,6 @@ sal_Bool SAL_CALL BaseContainer::hasByName(const OUString& sItem)
css::uno::Type SAL_CALL BaseContainer::getElementType()
- throw (css::uno::RuntimeException, std::exception)
{
// no lock necessary - because the type of our items
// is fix! no internal call or member needed ...
@@ -353,7 +332,6 @@ css::uno::Type SAL_CALL BaseContainer::getElementType()
sal_Bool SAL_CALL BaseContainer::hasElements()
- throw (css::uno::RuntimeException, std::exception)
{
bool bHasSome = false;
@@ -380,7 +358,6 @@ sal_Bool SAL_CALL BaseContainer::hasElements()
css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::createSubSetEnumerationByQuery(const OUString& /* sQuery */ )
- throw (css::uno::RuntimeException, std::exception)
{
OSL_FAIL("not pure virtual ... but not really implemented .-)");
@@ -390,7 +367,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea
css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::createSubSetEnumerationByProperties(const css::uno::Sequence< css::beans::NamedValue >& lProperties)
- throw (css::uno::RuntimeException, std::exception)
{
css::uno::Reference< css::container::XEnumeration > xEnum;
OUStringList lKeys;
@@ -437,7 +413,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea
void SAL_CALL BaseContainer::flush()
- throw (css::uno::RuntimeException, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -512,7 +487,6 @@ void SAL_CALL BaseContainer::flush()
void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
- throw (css::uno::RuntimeException, std::exception)
{
// no locks necessary
// used helper lives if we live and is threadsafe by itself ...
@@ -521,7 +495,6 @@ void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::ut
void SAL_CALL BaseContainer::removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
- throw (css::uno::RuntimeException, std::exception)
{
// no locks necessary
// used helper lives if we live and is threadsafe by itself ...
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index fafe12fbed0e..75097f6abb85 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -174,8 +174,7 @@ class BaseContainer : public BaseLock
@throws css::uno::RuntimeException
*/
- void impl_initFlushMode()
- throw (css::uno::RuntimeException);
+ void impl_initFlushMode();
/** @short returns a pointer to the current used cache member.
@@ -206,59 +205,38 @@ class BaseContainer : public BaseLock
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& sServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& sServiceName) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XNameContainer
virtual void SAL_CALL insertByName(const OUString& sItem ,
- const css::uno::Any& aValue)
- throw (css::lang::IllegalArgumentException ,
- css::container::ElementExistException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Any& aValue) override;
- virtual void SAL_CALL removeByName(const OUString& sItem)
- throw (css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL removeByName(const OUString& sItem) override;
// XNameReplace
virtual void SAL_CALL replaceByName(const OUString& sItem ,
- const css::uno::Any& aValue)
- throw (css::lang::IllegalArgumentException ,
- css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Any& aValue) override;
// XElementAccess
- virtual css::uno::Any SAL_CALL getByName(const OUString& sItem)
- throw (css::container::NoSuchElementException,
- css::lang::WrappedTargetException ,
- css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL getByName(const OUString& sItem) 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& sItem)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasByName(const OUString& sItem) override;
- virtual css::uno::Type SAL_CALL getElementType()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType() override;
- virtual sal_Bool SAL_CALL hasElements()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasElements() override;
// XContainerQuery
@@ -266,23 +244,18 @@ class BaseContainer : public BaseLock
// must be implemented really by derived class ...
// We implement return of an empty result here only!
// But we show an assertion :-)
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery(const OUString& sQuery)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery(const OUString& sQuery) override;
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties(const css::uno::Sequence< css::beans::NamedValue >& lProperties)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties(const css::uno::Sequence< css::beans::NamedValue >& lProperties) override;
// XFlushable
- virtual void SAL_CALL flush()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL flush() override;
- virtual void SAL_CALL addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener) override;
- virtual void SAL_CALL removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener) override;
};
} // namespace config
diff --git a/filter/source/config/cache/cacheupdatelistener.cxx b/filter/source/config/cache/cacheupdatelistener.cxx
index 4442a995b118..1698037791ea 100644
--- a/filter/source/config/cache/cacheupdatelistener.cxx
+++ b/filter/source/config/cache/cacheupdatelistener.cxx
@@ -80,7 +80,6 @@ void CacheUpdateListener::stopListening()
void SAL_CALL CacheUpdateListener::changesOccurred(const css::util::ChangesEvent& aEvent)
- throw(css::uno::RuntimeException, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -179,7 +178,6 @@ void SAL_CALL CacheUpdateListener::changesOccurred(const css::util::ChangesEven
void SAL_CALL CacheUpdateListener::disposing(const css::lang::EventObject& aEvent)
- throw(css::uno::RuntimeException, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx
index a5385f86e409..163b27f14af7 100644
--- a/filter/source/config/cache/cacheupdatelistener.hxx
+++ b/filter/source/config/cache/cacheupdatelistener.hxx
@@ -103,13 +103,11 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante
// XChangesListener
- virtual void SAL_CALL changesOccurred(const css::util::ChangesEvent& aEvent)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL changesOccurred(const css::util::ChangesEvent& aEvent) override;
// lang.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;
};
} // namespace config
diff --git a/filter/source/config/cache/configflush.cxx b/filter/source/config/cache/configflush.cxx
index fc220f2e7000..94f2d0959671 100644
--- a/filter/source/config/cache/configflush.cxx
+++ b/filter/source/config/cache/configflush.cxx
@@ -37,26 +37,22 @@ ConfigFlush::~ConfigFlush()
}
OUString SAL_CALL ConfigFlush::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return impl_getImplementationName();
// <- SAFE
}
sal_Bool SAL_CALL ConfigFlush::supportsService(const OUString& sServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, sServiceName);
}
css::uno::Sequence< OUString > SAL_CALL ConfigFlush::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return impl_getSupportedServiceNames();
}
void SAL_CALL ConfigFlush::refresh()
- throw(css::uno::RuntimeException, std::exception)
{
// notify listener outside the lock!
// The used listener helper lives if we live
@@ -89,7 +85,6 @@ void SAL_CALL ConfigFlush::refresh()
void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
- throw(css::uno::RuntimeException, std::exception)
{
// no locks necessary
// used helper lives if we live and is threadsafe by itself ...
@@ -99,7 +94,6 @@ void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::ut
void SAL_CALL ConfigFlush::removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
- throw(css::uno::RuntimeException, std::exception)
{
// no locks necessary
// used helper lives if we live and is threadsafe by itself ...
diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx
index 0239334c8023..f2cd8bd9ee3e 100644
--- a/filter/source/config/cache/configflush.hxx
+++ b/filter/source/config/cache/configflush.hxx
@@ -76,26 +76,20 @@ class ConfigFlush : public BaseLock
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& sServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& sServiceName) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XRefreshable
- virtual void SAL_CALL refresh()
- 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 >& xListener)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener) override;
- virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener) override;
// interface to register/create this instance as an UNO service
diff --git a/filter/source/config/cache/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx
index fd4d9e0b26e1..8ab5279e7ccf 100644
--- a/filter/source/config/cache/contenthandlerfactory.cxx
+++ b/filter/source/config/cache/contenthandlerfactory.cxx
@@ -49,8 +49,6 @@ ContentHandlerFactory::~ContentHandlerFactory()
css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::createInstance(const OUString& sHandler)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
return createInstanceWithArguments(sHandler, css::uno::Sequence< css::uno::Any >());
}
@@ -58,8 +56,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea
css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::createInstanceWithArguments(const OUString& sHandler ,
const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
css::uno::Reference< css::uno::XInterface > xHandler;
@@ -133,7 +129,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea
css::uno::Sequence< OUString > SAL_CALL ContentHandlerFactory::getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception)
{
// must be the same list as ((XNameAccess*)this)->getElementNames() return!
return BaseContainer::getElementNames();
diff --git a/filter/source/config/cache/contenthandlerfactory.hxx b/filter/source/config/cache/contenthandlerfactory.hxx
index eebd5b52eb0e..f684b4048667 100644
--- a/filter/source/config/cache/contenthandlerfactory.hxx
+++ b/filter/source/config/cache/contenthandlerfactory.hxx
@@ -66,17 +66,12 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine
// XMultiServiceFactory
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sHandler)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sHandler) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& sHandler ,
- const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::uno::Any >& lArguments) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
// static uno helper!
@@ -122,21 +117,21 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine
// Overrides to resolve ambiguity
- virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) override
{ return BaseContainer::getByName(aName); }
- virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() override
{ return BaseContainer::getElementNames(); }
- virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) override
{ return BaseContainer::hasByName(aName); }
- virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Type SAL_CALL getElementType() override
{ return BaseContainer::getElementType(); }
- virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasElements() override
{ return BaseContainer::hasElements(); }
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery( const ::rtl::OUString& Query ) throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery( const ::rtl::OUString& Query ) override
{ return BaseContainer::createSubSetEnumerationByQuery(Query); }
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties( const css::uno::Sequence< css::beans::NamedValue >& Properties ) throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties( const css::uno::Sequence< css::beans::NamedValue >& Properties ) override
{ return BaseContainer::createSubSetEnumerationByProperties(Properties); }
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index c0867ede0db6..d01ec3792713 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -199,7 +199,6 @@ void FilterCache::takeOver(const FilterCache& rClone)
}
void FilterCache::load(EFillState eRequired)
- throw(css::uno::Exception, std::exception)
{
// SAFE -> ----------------------------------
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -240,7 +239,6 @@ void FilterCache::load(EFillState eRequired)
}
bool FilterCache::isFillState(FilterCache::EFillState eState) const
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -252,7 +250,6 @@ bool FilterCache::isFillState(FilterCache::EFillState eState) const
OUStringList FilterCache::getMatchingItemsByProps( EItemType eType ,
const CacheItem& lIProps,
const CacheItem& lEProps) const
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -287,7 +284,6 @@ OUStringList FilterCache::getMatchingItemsByProps( EItemType eType ,
bool FilterCache::hasItems(EItemType eType) const
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -303,7 +299,6 @@ bool FilterCache::hasItems(EItemType eType) const
OUStringList FilterCache::getItemNames(EItemType eType) const
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -327,7 +322,6 @@ OUStringList FilterCache::getItemNames(EItemType eType) const
bool FilterCache::hasItem( EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -360,7 +354,6 @@ bool FilterCache::hasItem( EItemType eType,
CacheItem FilterCache::getItem( EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -411,7 +404,6 @@ CacheItem FilterCache::getItem( EItemType eType,
void FilterCache::removeItem( EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -433,7 +425,6 @@ void FilterCache::removeItem( EItemType eType,
void FilterCache::setItem( EItemType eType ,
const OUString& sItem ,
const CacheItem& aValue)
- throw(css::uno::Exception, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -461,7 +452,6 @@ void FilterCache::setItem( EItemType eType ,
void FilterCache::refreshItem( EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -472,7 +462,6 @@ void FilterCache::refreshItem( EItemType eType,
void FilterCache::addStatePropsToItem( EItemType eType,
const OUString& sItem,
CacheItem& rItem)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -566,7 +555,6 @@ void FilterCache::addStatePropsToItem( EItemType eType,
void FilterCache::removeStatePropsFromItem(CacheItem& rItem)
- throw(css::uno::Exception)
{
CacheItem::iterator pIt;
pIt = rItem.find(PROPNAME_FINALIZED);
@@ -579,7 +567,6 @@ void FilterCache::removeStatePropsFromItem(CacheItem& rItem)
void FilterCache::flush()
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -619,7 +606,6 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
EItemType eType ,
const CacheItemList& rCache,
const OUStringList& lItems)
- throw(css::uno::Exception)
{
css::uno::Reference< css::container::XNameContainer > xAddRemoveSet(xSet, css::uno::UNO_QUERY);
css::uno::Reference< css::container::XNameReplace > xReplaceeSet(xSet, css::uno::UNO_QUERY);
@@ -678,7 +664,6 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
void FilterCache::detectFlatForURL(const css::util::URL& aURL ,
FlatDetection& rFlatTypes) const
- throw(css::uno::Exception)
{
// extract extension from URL, so it can be used directly as key into our hash map!
// Note further: It must be converted to lower case, because the optimize hash
@@ -780,7 +765,6 @@ CacheItemList& FilterCache::impl_getItemList(EItemType eType)
}
css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfigProvider eProvider)
- throw(css::uno::Exception)
{
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -969,7 +953,6 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess
void FilterCache::impl_validateAndOptimize()
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -1244,7 +1227,6 @@ void FilterCache::impl_validateAndOptimize()
void FilterCache::impl_addItem2FlushList( EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception)
{
OUStringList* pList = nullptr;
switch(eType)
@@ -1276,7 +1258,6 @@ void FilterCache::impl_addItem2FlushList( EItemType eType,
FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::uno::Reference< css::container::XNameAccess >& xSet ,
const CacheItemList& rList,
const OUString& sItem)
- throw(css::uno::Exception)
{
bool bExistsInConfigLayer = xSet->hasByName(sItem);
bool bExistsInMemory = (rList.find(sItem) != rList.end());
@@ -1297,7 +1278,6 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::
}
void FilterCache::impl_load(EFillState eRequiredState)
- throw(css::uno::Exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -1404,7 +1384,6 @@ void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameA
EItemType eType ,
EReadOption eOption,
CacheItemList* pCache )
- throw(css::uno::Exception, std::exception)
{
// get access to the right configuration set
OUString sSetName;
@@ -1511,7 +1490,6 @@ void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameA
void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::container::XNameAccess >& xNode,
CacheItem& rItem)
- throw(css::uno::Exception, std::exception)
{
// SAFE -> ----------------------------------
@@ -1571,7 +1549,6 @@ void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::containe
void FilterCache::impl_savePatchUINames(const css::uno::Reference< css::container::XNameReplace >& xNode,
const CacheItem& rItem)
- throw(css::uno::Exception)
{
css::uno::Reference< css::container::XNameContainer > xAdd (xNode, css::uno::UNO_QUERY);
css::uno::Reference< css::container::XNameAccess > xCheck(xNode, css::uno::UNO_QUERY);
@@ -1600,7 +1577,6 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
EItemType eType ,
const OUString& sItem ,
EReadOption eOption)
- throw(css::uno::Exception, std::exception)
{
// try to get an API object, which points directly to the
// requested item. If it fail an exception should occur and
@@ -1708,7 +1684,6 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType eType,
const OUString& sItem)
- throw (css::uno::Exception, std::exception)
{
CacheItemList* pList = nullptr;
css::uno::Reference< css::uno::XInterface > xConfig ;
@@ -1782,7 +1757,6 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xItem,
EItemType eType,
const CacheItem & aItem)
- throw(css::uno::Exception)
{
// This function changes the properties of aItem one-by-one; but it also
// listens to the configuration changes and reloads the whole item from the
@@ -2162,7 +2136,6 @@ void FilterCache::impl_readOldFormat()
CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType,
const OUString& sItem)
- throw(css::uno::Exception, std::exception)
{
css::uno::Reference< css::container::XNameAccess > xItem;
xSet->getByName(sItem) >>= xItem;
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index 976d47ea8c24..b47252f0cfaa 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -317,8 +317,7 @@ class FilterCache : public BaseLock
at all if this method does nothing inside, because the cache
is already fully filled!
*/
- void load(EFillState eRequired)
- throw (css::uno::Exception, std::exception);
+ void load(EFillState eRequired);
/** @short return the current fill state of this cache.
@@ -334,8 +333,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
- bool isFillState(EFillState eRequired) const
- throw(css::uno::Exception);
+ bool isFillState(EFillState eRequired) const;
/** @short return a list of key names for items, which match
@@ -371,8 +369,7 @@ class FilterCache : public BaseLock
*/
OUStringList getMatchingItemsByProps( EItemType eType ,
const CacheItem& lIProps ,
- const CacheItem& lEProps = CacheItem()) const
- throw(css::uno::Exception);
+ const CacheItem& lEProps = CacheItem()) const;
/** @short indicates if the requested sub container
@@ -396,8 +393,7 @@ class FilterCache : public BaseLock
if some input parameter are wrong or the cache itself is not valid
any longer, because any operation before damage it.
*/
- bool hasItems(EItemType eType) const
- throw(css::uno::Exception);
+ bool hasItems(EItemType eType) const;
/** @short return a list of all key names, which represent
@@ -420,8 +416,7 @@ class FilterCache : public BaseLock
if some input parameter are wrong or the cache itself is not valid
any longer, because any operation before damage it.
*/
- OUStringList getItemNames(EItemType eType) const
- throw(css::uno::Exception);
+ OUStringList getItemNames(EItemType eType) const;
/** @short check if the required item exist inside this container.
@@ -444,8 +439,7 @@ class FilterCache : public BaseLock
any longer, because any operation before damage it.
*/
bool hasItem( EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** @short return an item, which match the specified type and name.
@@ -473,8 +467,7 @@ class FilterCache : public BaseLock
any longer, because any operation before damage it.
*/
CacheItem getItem( EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** TODO document me ...
@@ -482,8 +475,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
void removeItem( EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** TODO document me ...
@@ -492,8 +484,7 @@ class FilterCache : public BaseLock
*/
void setItem( EItemType eType ,
const OUString& sItem ,
- const CacheItem& aValue)
- throw(css::uno::Exception, std::exception);
+ const CacheItem& aValue);
/** TODO document me ...
@@ -501,8 +492,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
void refreshItem( EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** @short add some implicit properties to the given
@@ -542,16 +532,14 @@ class FilterCache : public BaseLock
*/
void addStatePropsToItem( EItemType eType,
const OUString& sItem,
- CacheItem& rItem)
- throw(css::uno::Exception);
+ CacheItem& rItem);
/** TODO document me
@throws css::uno::Exception
*/
- static void removeStatePropsFromItem(CacheItem& aValue)
- throw(css::uno::Exception);
+ static void removeStatePropsFromItem(CacheItem& aValue);
/** @short force writing of all changes (which was made after
@@ -563,8 +551,7 @@ class FilterCache : public BaseLock
if the cache itself is not valid
any longer, because any operation before damage it.
*/
- void flush()
- throw(css::uno::Exception);
+ void flush();
/** @short supports a flat type detection for given URL.
@@ -594,8 +581,7 @@ class FilterCache : public BaseLock
any longer, because any operation before damage it.
*/
void detectFlatForURL(const css::util::URL& aURL ,
- FlatDetection& rFlatTypes) const
- throw(css::uno::Exception);
+ FlatDetection& rFlatTypes) const;
// private helper
@@ -640,8 +626,7 @@ class FilterCache : public BaseLock
all necessary listener connections will be established
too. So this cache will be informed about outside updates.
*/
- css::uno::Reference< css::uno::XInterface > impl_openConfig(EConfigProvider eProvide)
- throw(css::uno::Exception);
+ css::uno::Reference< css::uno::XInterface > impl_openConfig(EConfigProvider eProvide);
/** @short tries to open the requested configuration root
@@ -701,8 +686,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
- void impl_load(EFillState eRequiredState)
- throw(css::uno::Exception);
+ void impl_load(EFillState eRequiredState);
/** @short validate the whole cache and create
@@ -721,8 +705,7 @@ class FilterCache : public BaseLock
@throw [css::uno::Exception]
if cache is invalid and could not be repaired.
*/
- void impl_validateAndOptimize()
- throw(css::uno::Exception);
+ void impl_validateAndOptimize();
private:
@@ -755,8 +738,7 @@ class FilterCache : public BaseLock
void impl_loadSet(const css::uno::Reference< css::container::XNameAccess >& xConfig,
EItemType eType ,
EReadOption eOption,
- CacheItemList* pCache )
- throw (css::uno::Exception, std::exception);
+ CacheItemList* pCache );
/** @short read the specified container item from the given configuration set.
@@ -784,8 +766,7 @@ class FilterCache : public BaseLock
CacheItem impl_loadItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType ,
const OUString& sItem ,
- EReadOption eOption)
- throw(css::uno::Exception, std::exception);
+ EReadOption eOption);
/** @short try to load the requested item on demand from the underlying configuration
@@ -814,8 +795,7 @@ class FilterCache : public BaseLock
if an unrecoverable error occurs inside this operation.
*/
CacheItemList::iterator impl_loadItemOnDemand( EItemType eType,
- const OUString& sItem)
- throw (css::uno::Exception, std::exception);
+ const OUString& sItem);
/** TODO
@@ -824,8 +804,7 @@ class FilterCache : public BaseLock
*/
static void impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xSet ,
EItemType eType ,
- const CacheItem & aValue)
- throw(css::uno::Exception);
+ const CacheItem & aValue);
/** TODO
@@ -833,8 +812,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
void impl_addItem2FlushList( EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** TODO
@@ -844,8 +822,7 @@ class FilterCache : public BaseLock
static void impl_flushByList(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType ,
const CacheItemList& rCache,
- const OUStringList& lItems)
- throw(css::uno::Exception);
+ const OUStringList& lItems);
/** @short specify, which save operation is necessary for the specified item.
@@ -877,8 +854,7 @@ class FilterCache : public BaseLock
*/
static EItemFlushState impl_specifyFlushOperation(const css::uno::Reference< css::container::XNameAccess >& xSet ,
const CacheItemList& rList,
- const OUString& sItem)
- throw(css::uno::Exception);
+ const OUString& sItem);
/** TODO
@@ -886,8 +862,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
void impl_readPatchUINames(const css::uno::Reference< css::container::XNameAccess >& xNode,
- CacheItem& rItem)
- throw(css::uno::Exception, std::exception);
+ CacheItem& rItem);
/** TODO
@@ -895,8 +870,7 @@ class FilterCache : public BaseLock
@throws css::uno::Exception
*/
static void impl_savePatchUINames(const css::uno::Reference< css::container::XNameReplace >& xNode,
- const CacheItem& rItem)
- throw(css::uno::Exception);
+ const CacheItem& rItem);
/** TODO */
void impl_readOldFormat();
@@ -907,8 +881,7 @@ class FilterCache : public BaseLock
*/
CacheItem impl_readOldItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType,
- const OUString& sItem)
- throw(css::uno::Exception, std::exception);
+ const OUString& sItem);
/** TODO */
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 079bd648b5b3..e3e81d11bc17 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -67,8 +67,6 @@ FilterFactory::~FilterFactory()
css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstance(const OUString& sFilter)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
return createInstanceWithArguments(sFilter, css::uno::Sequence< css::uno::Any >());
}
@@ -76,8 +74,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan
css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstanceWithArguments(const OUString& sFilter ,
const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -152,7 +148,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan
css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception)
{
/* Attention: Instead of getElementNames() this method have to return only filter names,
which can be created as UNO Services really. Thats why we search for filters,
@@ -179,7 +174,6 @@ css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames(
css::uno::Reference< css::container::XEnumeration > SAL_CALL FilterFactory::createSubSetEnumerationByQuery(const OUString& sQuery)
- throw (css::uno::RuntimeException, std::exception)
{
// reject old deprecated queries ...
if (sQuery.startsWith("_filterquery_"))
diff --git a/filter/source/config/cache/filterfactory.hxx b/filter/source/config/cache/filterfactory.hxx
index 8007f85235ff..c0e9a34d5aa3 100644
--- a/filter/source/config/cache/filterfactory.hxx
+++ b/filter/source/config/cache/filterfactory.hxx
@@ -67,23 +67,17 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer
// XMultiServiceFactory
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sFilter)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sFilter) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& sFilter ,
- const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::uno::Any >& lArguments) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
// XContainerQuery
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery(const OUString& sQuery)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery(const OUString& sQuery) override;
// internal helper!
diff --git a/filter/source/config/cache/frameloaderfactory.cxx b/filter/source/config/cache/frameloaderfactory.cxx
index 09d545a366d2..c8a6ac03b69c 100644
--- a/filter/source/config/cache/frameloaderfactory.cxx
+++ b/filter/source/config/cache/frameloaderfactory.cxx
@@ -48,8 +48,6 @@ FrameLoaderFactory::~FrameLoaderFactory()
css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createInstance(const OUString& sLoader)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
return createInstanceWithArguments(sLoader, css::uno::Sequence< css::uno::Any >());
}
@@ -57,8 +55,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI
css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createInstanceWithArguments(const OUString& sLoader ,
const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception)
{
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -130,7 +126,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI
css::uno::Sequence< OUString > SAL_CALL FrameLoaderFactory::getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception)
{
// must be the same list as ((XNameAccess*)this)->getElementNames() return!
return BaseContainer::getElementNames();
diff --git a/filter/source/config/cache/frameloaderfactory.hxx b/filter/source/config/cache/frameloaderfactory.hxx
index 39772ad3f994..7dab5e02b0d9 100644
--- a/filter/source/config/cache/frameloaderfactory.hxx
+++ b/filter/source/config/cache/frameloaderfactory.hxx
@@ -66,17 +66,12 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer
// XMultiServiceFactory
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sLoader)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString& sLoader) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& sLoader ,
- const css::uno::Sequence< css::uno::Any >& lArguments)
- throw(css::uno::Exception ,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::uno::Any >& lArguments) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
// static uno helper!
@@ -121,21 +116,21 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
// Overrides to resolve ambiguity
- virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) override
{ return BaseContainer::getByName(aName); }
- virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() override
{ return BaseContainer::getElementNames(); }
- virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) override
{ return BaseContainer::hasByName(aName); }
- virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Type SAL_CALL getElementType() override
{ return BaseContainer::getElementType(); }
- virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasElements() override
{ return BaseContainer::hasElements(); }
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery( const ::rtl::OUString& Query ) throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery( const ::rtl::OUString& Query ) override
{ return BaseContainer::createSubSetEnumerationByQuery(Query); }
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties( const css::uno::Sequence< css::beans::NamedValue >& Properties ) throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByProperties( const css::uno::Sequence< css::beans::NamedValue >& Properties ) override
{ return BaseContainer::createSubSetEnumerationByProperties(Properties); }
};
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 4638e290e17f..6e4ef616d230 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -64,7 +64,6 @@ TypeDetection::~TypeDetection()
OUString SAL_CALL TypeDetection::queryTypeByURL(const OUString& sURL)
- throw (css::uno::RuntimeException, std::exception)
{
OUString sType;
@@ -369,7 +368,6 @@ void printFlatDetectionList(const char* caption, const FlatDetection& types)
OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css::beans::PropertyValue >& lDescriptor,
sal_Bool bAllowDeep )
- throw (css::uno::RuntimeException, std::exception)
{
// make the descriptor more useable :-)
utl::MediaDescriptor stlDescriptor(lDescriptor);
@@ -1129,7 +1127,6 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript
void TypeDetection::impl_openStream(utl::MediaDescriptor& rDescriptor)
- throw (css::uno::Exception)
{
bool bSuccess = false;
OUString sURL = rDescriptor.getUnpackedValueOrDefault( utl::MediaDescriptor::PROP_URL(), OUString() );
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index c65a946dc05a..b8dfc1c48cff 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -213,8 +213,7 @@ private:
Note: If an interactionHandler is part of the given descriptor too, it was already used.
Means: let the exception pass through the top most interface method!
*/
- void impl_openStream(utl::MediaDescriptor& rDescriptor)
- throw (css::uno::Exception);
+ void impl_openStream(utl::MediaDescriptor& rDescriptor);
/** @short validate the specified type and its relationships
@@ -315,12 +314,10 @@ public:
// XTypeDetection
- virtual OUString SAL_CALL queryTypeByURL(const OUString& sURL)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL queryTypeByURL(const OUString& sURL) override;
virtual OUString SAL_CALL queryTypeByDescriptor(css::uno::Sequence< css::beans::PropertyValue >& lDescriptor,
- sal_Bool bAllowDeep )
- throw (css::uno::RuntimeException, std::exception) override;
+ sal_Bool bAllowDeep ) override;
// static uno helper!
diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx
index d23f4de94a01..104fc60022c2 100644
--- a/filter/source/flash/swfdialog.cxx
+++ b/filter/source/flash/swfdialog.cxx
@@ -42,14 +42,12 @@ using namespace ::com::sun::star::document;
OUString SWFDialog_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( SERVICE_NAME );
}
Sequence< OUString > SAL_CALL SWFDialog_getSupportedServiceNames()
- throw (RuntimeException)
{
Sequence<OUString> aRet { SERVICE_NAME };
return aRet;
@@ -57,7 +55,6 @@ Sequence< OUString > SAL_CALL SWFDialog_getSupportedServiceNames()
Reference< XInterface > SAL_CALL SWFDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new SWFDialog( comphelper::getComponentContext(rSMgr) ));
}
@@ -76,7 +73,6 @@ SWFDialog::~SWFDialog()
Any SAL_CALL SWFDialog::queryInterface( const Type& rType )
- throw (RuntimeException, std::exception)
{
Any aReturn = OGenericUnoDialog::queryInterface( rType );
@@ -104,21 +100,18 @@ void SAL_CALL SWFDialog::release()
Sequence< sal_Int8 > SAL_CALL SWFDialog::getImplementationId()
- throw(RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
OUString SAL_CALL SWFDialog::getImplementationName()
- throw (RuntimeException, std::exception)
{
return SWFDialog_getImplementationName();
}
Sequence< OUString > SAL_CALL SWFDialog::getSupportedServiceNames()
- throw (RuntimeException, std::exception)
{
return SWFDialog_getSupportedServiceNames();
}
@@ -167,7 +160,6 @@ void SWFDialog::executedDialog( sal_Int16 nExecutionResult )
Reference< XPropertySetInfo > SAL_CALL SWFDialog::getPropertySetInfo()
- throw(RuntimeException, std::exception)
{
Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -189,7 +181,6 @@ Reference< XPropertySetInfo > SAL_CALL SWFDialog::getPropertySetInfo()
Sequence< PropertyValue > SAL_CALL SWFDialog::getPropertyValues()
- throw ( RuntimeException, std::exception )
{
sal_Int32 i, nCount;
@@ -210,7 +201,6 @@ Sequence< PropertyValue > SAL_CALL SWFDialog::getPropertyValues()
void SAL_CALL SWFDialog::setPropertyValues( const Sequence< PropertyValue >& rProps )
- throw ( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception )
{
maMediaDescriptor = rProps;
@@ -226,7 +216,6 @@ void SAL_CALL SWFDialog::setPropertyValues( const Sequence< PropertyValue >& rPr
void SAL_CALL SWFDialog::setSourceDocument( const Reference< XComponent >& xDoc )
- throw(IllegalArgumentException, RuntimeException, std::exception)
{
mxSrcDoc = xDoc;
}
diff --git a/filter/source/flash/swfdialog.hxx b/filter/source/flash/swfdialog.hxx
index bcaefaf4c195..c659b51750cd 100644
--- a/filter/source/flash/swfdialog.hxx
+++ b/filter/source/flash/swfdialog.hxx
@@ -43,28 +43,28 @@ private:
css::uno::Reference< css::lang::XComponent > mxSrcDoc;
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual void SAL_CALL acquire() throw () override;
virtual void SAL_CALL release() throw () override;
// OGenericUnoDialog
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
virtual VclPtr<Dialog> createDialog( vcl::Window* pParent ) override;
virtual void executedDialog( sal_Int16 nExecutionResult ) override;
- 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 ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
// XPropertyAccess
using ::cppu::OPropertySetHelper::getPropertyValues;
using ::cppu::OPropertySetHelper::setPropertyValues;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& aProps ) throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues( ) override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& aProps ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
public:
diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx
index 81ec8a03946d..5f04d8aa6336 100644
--- a/filter/source/flash/swffilter.cxx
+++ b/filter/source/flash/swffilter.cxx
@@ -71,12 +71,12 @@ public:
}
// css::io::XOutputStream
- virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL flush( ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL closeOutput( ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) override;
+ virtual void SAL_CALL flush( ) override;
+ virtual void SAL_CALL closeOutput( ) override;
};
-void SAL_CALL OslOutputStreamWrapper::writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception)
+void SAL_CALL OslOutputStreamWrapper::writeBytes( const css::uno::Sequence< sal_Int8 >& aData )
{
sal_uInt64 uBytesToWrite = aData.getLength();
sal_uInt64 uBytesWritten = 0;
@@ -110,11 +110,11 @@ void SAL_CALL OslOutputStreamWrapper::writeBytes( const css::uno::Sequence< sal_
}
}
-void SAL_CALL OslOutputStreamWrapper::flush( ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception)
+void SAL_CALL OslOutputStreamWrapper::flush( )
{
}
-void SAL_CALL OslOutputStreamWrapper::closeOutput( ) throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception)
+void SAL_CALL OslOutputStreamWrapper::closeOutput( )
{
osl::File::RC eRC = mrFile.close();
@@ -154,23 +154,23 @@ public:
explicit FlashExportFilter( const Reference< XComponentContext > &rxContext);
// XFilter
- virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) override;
bool ExportAsMultipleFiles( const Sequence< PropertyValue >& aDescriptor );
bool ExportAsSingleFile( const Sequence< PropertyValue >& aDescriptor );
- virtual void SAL_CALL cancel( ) throw (RuntimeException, std::exception) override;
+ virtual void SAL_CALL cancel( ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
FlashExportFilter::FlashExportFilter(const Reference< XComponentContext > &rxContext)
@@ -227,7 +227,6 @@ TYPE findPropertyValue(const Sequence< PropertyValue >& aPropertySequence, const
}
sal_Bool SAL_CALL FlashExportFilter::filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException, std::exception)
{
mxStatusIndicator = findPropertyValue<Reference<XStatusIndicator> >(aDescriptor, "StatusIndicator", mxStatusIndicator);
@@ -466,14 +465,12 @@ bool FlashExportFilter::ExportAsSingleFile(const Sequence< PropertyValue >& aDes
void SAL_CALL FlashExportFilter::cancel( )
- throw (RuntimeException, std::exception)
{
}
// XExporter
void SAL_CALL FlashExportFilter::setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
mxDoc = xDoc;
}
@@ -481,44 +478,37 @@ void SAL_CALL FlashExportFilter::setSourceDocument( const css::uno::Reference< c
// XInitialization
void SAL_CALL FlashExportFilter::initialize( const css::uno::Sequence< css::uno::Any >& /* aArguments */ )
- throw (Exception, RuntimeException, std::exception)
{
}
OUString FlashExportFilter_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.Impress.FlashExportFilter" );
}
Sequence< OUString > SAL_CALL FlashExportFilter_getSupportedServiceNames( )
- throw (RuntimeException)
{
Sequence<OUString> aRet { "com.sun.star.document.ExportFilter" };
return aRet;
}
Reference< XInterface > SAL_CALL FlashExportFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new FlashExportFilter( comphelper::getComponentContext(rSMgr) ));
}
// XServiceInfo
OUString SAL_CALL FlashExportFilter::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return FlashExportFilter_getImplementationName();
}
sal_Bool SAL_CALL FlashExportFilter::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
css::uno::Sequence< OUString > SAL_CALL FlashExportFilter::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return FlashExportFilter_getSupportedServiceNames();
}
diff --git a/filter/source/flash/swfuno.hxx b/filter/source/flash/swfuno.hxx
index d9323e29ac56..e1a0fd7243e7 100644
--- a/filter/source/flash/swfuno.hxx
+++ b/filter/source/flash/swfuno.hxx
@@ -38,32 +38,28 @@ namespace com { namespace sun { namespace star {
namespace swf {
/// @throws css::uno::RuntimeException
-OUString FlashExportFilter_getImplementationName()
- throw (css::uno::RuntimeException);
+OUString FlashExportFilter_getImplementationName();
/// @throws css::uno::RuntimeException
css::uno::Sequence<OUString> SAL_CALL
-FlashExportFilter_getSupportedServiceNames() throw (css::uno::RuntimeException);
+FlashExportFilter_getSupportedServiceNames();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL
FlashExportFilter_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
}
/// @throws css::uno::RuntimeException
-OUString SWFDialog_getImplementationName () throw (css::uno::RuntimeException);
+OUString SWFDialog_getImplementationName ();
/// @throws css::uno::RuntimeException
-css::uno::Sequence<OUString> SAL_CALL SWFDialog_getSupportedServiceNames()
- throw (css::uno::RuntimeException);
+css::uno::Sequence<OUString> SAL_CALL SWFDialog_getSupportedServiceNames();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL SWFDialog_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw(css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
#endif
diff --git a/filter/source/graphic/GraphicExportDialog.cxx b/filter/source/graphic/GraphicExportDialog.cxx
index a6f74f735688..1c86d6bc2588 100644
--- a/filter/source/graphic/GraphicExportDialog.cxx
+++ b/filter/source/graphic/GraphicExportDialog.cxx
@@ -47,11 +47,11 @@ GraphicExportDialog::~GraphicExportDialog()
}
// XInitialization
-void SAL_CALL GraphicExportDialog::initialize( const Sequence<Any>& ) throw ( Exception, RuntimeException, std::exception )
+void SAL_CALL GraphicExportDialog::initialize( const Sequence<Any>& )
{}
// XPropertyAccess
-Sequence<PropertyValue> GraphicExportDialog::getPropertyValues() throw ( RuntimeException, std::exception )
+Sequence<PropertyValue> GraphicExportDialog::getPropertyValues()
{
sal_Int32 i;
sal_Int32 nCount = maMediaDescriptor.getLength();
@@ -76,8 +76,6 @@ Sequence<PropertyValue> GraphicExportDialog::getPropertyValues() throw ( Runtime
}
void GraphicExportDialog::setPropertyValues( const Sequence<PropertyValue>& aProps )
- throw ( UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
- WrappedTargetException, RuntimeException, std::exception )
{
maMediaDescriptor = aProps;
@@ -97,12 +95,11 @@ void GraphicExportDialog::setPropertyValues( const Sequence<PropertyValue>& aPro
// XExecutableDialog
void GraphicExportDialog::setTitle( const OUString& aTitle )
- throw ( uno::RuntimeException, std::exception )
{
maDialogTitle = aTitle;
}
-sal_Int16 GraphicExportDialog::execute() throw ( RuntimeException, std::exception )
+sal_Int16 GraphicExportDialog::execute()
{
sal_Int16 nReturn = ui::dialogs::ExecutableDialogResults::CANCEL;
ScopedVclPtrInstance< GraphicExportOptionsDialog > graphicExportOptionsDialog( Application::GetDefDialogParent(), mxSourceDocument );
@@ -116,7 +113,6 @@ sal_Int16 GraphicExportDialog::execute() throw ( RuntimeException, std::exceptio
// XEmporter
void GraphicExportDialog::setSourceDocument( const Reference<XComponent>& xDocument )
- throw ( IllegalArgumentException, RuntimeException, std::exception )
{
mxSourceDocument = xDocument;
diff --git a/filter/source/graphic/GraphicExportDialog.hxx b/filter/source/graphic/GraphicExportDialog.hxx
index d6aead53f278..54e7117c8cce 100644
--- a/filter/source/graphic/GraphicExportDialog.hxx
+++ b/filter/source/graphic/GraphicExportDialog.hxx
@@ -56,21 +56,18 @@ public:
virtual ~GraphicExportDialog() override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence<Any>& aArguments ) throw (Exception, RuntimeException, std::exception ) override;
+ virtual void SAL_CALL initialize( const Sequence<Any>& aArguments ) override;
// XPropertyAccess
- virtual Sequence<PropertyValue> SAL_CALL getPropertyValues() throw ( RuntimeException, std::exception ) override;
- virtual void SAL_CALL setPropertyValues( const Sequence<PropertyValue>& aProps )
- throw ( UnknownPropertyException, PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- RuntimeException, std::exception ) override;
+ virtual Sequence<PropertyValue> SAL_CALL getPropertyValues() override;
+ virtual void SAL_CALL setPropertyValues( const Sequence<PropertyValue>& aProps ) override;
// XExecuteDialog
- virtual sal_Int16 SAL_CALL execute() throw ( RuntimeException, std::exception ) override;
- virtual void SAL_CALL setTitle( const OUString& aTitle ) throw ( RuntimeException, std::exception ) override;
+ virtual sal_Int16 SAL_CALL execute() override;
+ virtual void SAL_CALL setTitle( const OUString& aTitle ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference<lang::XComponent>& xDocument ) throw ( lang::IllegalArgumentException, RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setSourceDocument( const Reference<lang::XComponent>& xDocument ) override;
};
diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index b4141f474f78..b161e0b5cd84 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -102,7 +102,6 @@ void GraphicExportFilter::gatherProperties( const Sequence<PropertyValue>& rProp
}
sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rDescriptor )
- throw (RuntimeException, std::exception)
{
gatherProperties(rDescriptor);
@@ -146,18 +145,16 @@ sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rD
return false;
}
-void SAL_CALL GraphicExportFilter::cancel( ) throw (RuntimeException, std::exception)
+void SAL_CALL GraphicExportFilter::cancel( )
{
}
void SAL_CALL GraphicExportFilter::setSourceDocument( const Reference<XComponent>& xDocument )
- throw (IllegalArgumentException, RuntimeException, std::exception)
{
mxDocument = xDocument;
}
void SAL_CALL GraphicExportFilter::initialize( const Sequence<Any>& )
- throw (Exception, RuntimeException, std::exception)
{
}
diff --git a/filter/source/graphic/GraphicExportFilter.hxx b/filter/source/graphic/GraphicExportFilter.hxx
index d998befe99ef..7c7d95c4431b 100644
--- a/filter/source/graphic/GraphicExportFilter.hxx
+++ b/filter/source/graphic/GraphicExportFilter.hxx
@@ -59,14 +59,14 @@ public:
virtual ~GraphicExportFilter() override;
// XFilter
- virtual sal_Bool SAL_CALL filter( const Sequence<PropertyValue>& rDescriptor ) throw(RuntimeException, std::exception) override;
- virtual void SAL_CALL cancel( ) throw (RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const Sequence<PropertyValue>& rDescriptor ) override;
+ virtual void SAL_CALL cancel( ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDocument ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDocument ) override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence<Any>& aArguments ) throw(Exception, RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const Sequence<Any>& aArguments ) override;
};
#endif
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index e638dcd46815..d3830b93fa21 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -509,7 +509,7 @@ OUString VBAMacroResolver_getImplementationName()
return OUString( "com.sun.star.comp.vba.VBAMacroResolver" );
}
-uno::Reference< uno::XInterface > SAL_CALL VBAMacroResolver_createInstance( const uno::Reference< uno::XComponentContext >& ) throw (uno::Exception)
+uno::Reference< uno::XInterface > SAL_CALL VBAMacroResolver_createInstance( const uno::Reference< uno::XComponentContext >& )
{
return static_cast< ::cppu::OWeakObject* >( new VBAMacroResolver );
}
@@ -526,24 +526,24 @@ VBAMacroResolver::~VBAMacroResolver()
// com.sun.star.lang.XServiceInfo interface -----------------------------------
-OUString SAL_CALL VBAMacroResolver::getImplementationName() throw (uno::RuntimeException, std::exception)
+OUString SAL_CALL VBAMacroResolver::getImplementationName()
{
return VBAMacroResolver_getImplementationName();
}
-sal_Bool SAL_CALL VBAMacroResolver::supportsService( const OUString& rService ) throw (uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL VBAMacroResolver::supportsService( const OUString& rService )
{
return cppu::supportsService(this, rService);
}
-uno::Sequence< OUString > SAL_CALL VBAMacroResolver::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SAL_CALL VBAMacroResolver::getSupportedServiceNames()
{
return VBAMacroResolver_getSupportedServiceNames();
}
// com.sun.star.lang.XInitialization interface --------------------------------
-void SAL_CALL VBAMacroResolver::initialize( const uno::Sequence< uno::Any >& rArgs ) throw (uno::Exception, uno::RuntimeException, std::exception)
+void SAL_CALL VBAMacroResolver::initialize( const uno::Sequence< uno::Any >& rArgs )
{
OSL_ENSURE( rArgs.getLength() < 2, "VBAMacroResolver::initialize - missing arguments" );
if( rArgs.getLength() < 2 )
@@ -563,7 +563,7 @@ void SAL_CALL VBAMacroResolver::initialize( const uno::Sequence< uno::Any >& rAr
// com.sun.star.script.vba.XVBAMacroResolver interface ------------------------
-OUString SAL_CALL VBAMacroResolver::resolveVBAMacroToScriptURL( const OUString& rVBAMacroName ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
+OUString SAL_CALL VBAMacroResolver::resolveVBAMacroToScriptURL( const OUString& rVBAMacroName )
{
if( !mpObjShell )
throw uno::RuntimeException();
@@ -594,7 +594,7 @@ OUString SAL_CALL VBAMacroResolver::resolveVBAMacroToScriptURL( const OUString&
return makeMacroURL( aInfo.msResolvedMacro );
}
-OUString SAL_CALL VBAMacroResolver::resolveScriptURLtoVBAMacro( const OUString& /*rScriptURL*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
+OUString SAL_CALL VBAMacroResolver::resolveScriptURLtoVBAMacro( const OUString& /*rScriptURL*/ )
{
OSL_ENSURE( false, "VBAMacroResolver::resolveScriptURLtoVBAMacro - not implemented" );
throw uno::RuntimeException();
@@ -616,7 +616,7 @@ bool getModifier( char c, sal_uInt16& mod )
}
/// @throws uno::RuntimeException
-sal_uInt16 parseChar( char c ) throw ( uno::RuntimeException )
+sal_uInt16 parseChar( char c )
{
sal_uInt16 nVclKey = 0;
// do we care about locale here for isupper etc. ? probably not
@@ -680,7 +680,7 @@ KeyCodeEntry const aMSKeyCodesData[] = {
{ "F15", KEY_F15 },
};
-awt::KeyEvent parseKeyEvent( const OUString& Key ) throw ( uno::RuntimeException )
+awt::KeyEvent parseKeyEvent( const OUString& Key )
{
static std::map< OUString, sal_uInt16 > s_KeyCodes;
if ( s_KeyCodes.empty() )
@@ -732,7 +732,7 @@ awt::KeyEvent parseKeyEvent( const OUString& Key ) throw ( uno::RuntimeException
return aKeyEvent;
}
-void applyShortCutKeyBinding ( const uno::Reference< frame::XModel >& rxModel, const awt::KeyEvent& rKeyEvent, const OUString& rMacroName ) throw (uno::RuntimeException, std::exception)
+void applyShortCutKeyBinding ( const uno::Reference< frame::XModel >& rxModel, const awt::KeyEvent& rKeyEvent, const OUString& rMacroName )
{
OUString MacroName( rMacroName );
if ( !MacroName.isEmpty() )
diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx
index f39fc00de811..685d6ebce9eb 100644
--- a/filter/source/odfflatxml/OdfFlatXml.cxx
+++ b/filter/source/odfflatxml/OdfFlatXml.cxx
@@ -70,27 +70,21 @@ namespace filter {
virtual sal_Bool SAL_CALL
importer(const Sequence< PropertyValue >& sourceData,
const Reference< XDocumentHandler >& docHandler,
- const Sequence< OUString >& userData)
- throw (IllegalArgumentException, RuntimeException, std::exception) override;
+ const Sequence< OUString >& userData) override;
// XExportFilter
virtual sal_Bool SAL_CALL
exporter(
const Sequence< PropertyValue >& sourceData,
- const Sequence< OUString >& userData)
- throw (IllegalArgumentException,
- RuntimeException, std::exception) override;
+ const Sequence< OUString >& userData) override;
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ OUString SAL_CALL getImplementationName() override
{ return OUString("com.sun.star.comp.filter.OdfFlatXml"); }
- sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception) override
+ sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
{ return cppu::supportsService(this, ServiceName); }
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
return css::uno::Sequence<OUString>{
"com.sun.star.document.ImportFilter",
@@ -115,7 +109,6 @@ OdfFlatXml::importer(
const Sequence< PropertyValue >& sourceData,
const Reference< XDocumentHandler >& docHandler,
const Sequence< OUString >& /* userData */)
- throw (IllegalArgumentException, RuntimeException, std::exception)
{
// Read InputStream to read from and an URL used for the system id
// of the InputSource we create from the given sourceData sequence
@@ -170,7 +163,6 @@ OdfFlatXml::importer(
sal_Bool
OdfFlatXml::exporter(const Sequence< PropertyValue >& sourceData,
const Sequence< OUString >& /*msUserData*/)
- throw (IllegalArgumentException, RuntimeException, std::exception)
{
OUString paramName;
OUString targetURL;
diff --git a/filter/source/pdf/pdfdialog.cxx b/filter/source/pdf/pdfdialog.cxx
index a7aacde578da..47573daaaf60 100644
--- a/filter/source/pdf/pdfdialog.cxx
+++ b/filter/source/pdf/pdfdialog.cxx
@@ -34,14 +34,12 @@ using namespace ::com::sun::star::beans;
OUString PDFDialog_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.PDF.PDFDialog" );
}
Sequence< OUString > SAL_CALL PDFDialog_getSupportedServiceNames()
- throw (RuntimeException)
{
Sequence<OUString> aRet { SERVICE_NAME };
return aRet;
@@ -49,7 +47,6 @@ Sequence< OUString > SAL_CALL PDFDialog_getSupportedServiceNames()
Reference< XInterface > SAL_CALL PDFDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new PDFDialog( comphelper::getComponentContext(rSMgr) ));
}
@@ -70,21 +67,18 @@ PDFDialog::~PDFDialog()
Sequence< sal_Int8 > SAL_CALL PDFDialog::getImplementationId()
- throw(RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
OUString SAL_CALL PDFDialog::getImplementationName()
- throw (RuntimeException, std::exception)
{
return PDFDialog_getImplementationName();
}
Sequence< OUString > SAL_CALL PDFDialog::getSupportedServiceNames()
- throw (RuntimeException, std::exception)
{
return PDFDialog_getSupportedServiceNames();
}
@@ -107,7 +101,6 @@ void PDFDialog::executedDialog( sal_Int16 nExecutionResult )
Reference< XPropertySetInfo > SAL_CALL PDFDialog::getPropertySetInfo()
- throw(RuntimeException, std::exception)
{
Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -129,7 +122,6 @@ Reference< XPropertySetInfo > SAL_CALL PDFDialog::getPropertySetInfo()
Sequence< PropertyValue > SAL_CALL PDFDialog::getPropertyValues()
- throw ( RuntimeException, std::exception )
{
sal_Int32 i, nCount;
@@ -150,7 +142,6 @@ Sequence< PropertyValue > SAL_CALL PDFDialog::getPropertyValues()
void SAL_CALL PDFDialog::setPropertyValues( const Sequence< PropertyValue >& rProps )
- throw ( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception )
{
maMediaDescriptor = rProps;
@@ -166,7 +157,6 @@ void SAL_CALL PDFDialog::setPropertyValues( const Sequence< PropertyValue >& rPr
void SAL_CALL PDFDialog::setSourceDocument( const Reference< XComponent >& xDoc )
- throw(IllegalArgumentException, RuntimeException, std::exception)
{
mxSrcDoc = xDoc;
}
diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx
index a8ba2f2e9642..31316434882c 100644
--- a/filter/source/pdf/pdfdialog.hxx
+++ b/filter/source/pdf/pdfdialog.hxx
@@ -40,24 +40,23 @@ private:
Reference< XComponent > mxSrcDoc;
// OGenericUnoDialog
- virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getImplementationName() throw (RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (RuntimeException, std::exception) override;
+ virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
virtual VclPtr<Dialog> createDialog( vcl::Window* pParent ) override;
virtual void executedDialog( sal_Int16 nExecutionResult ) override;
- virtual Reference< XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(RuntimeException, std::exception) override;
+ virtual Reference< XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
// XPropertyAccess
using OPropertySetHelper::getPropertyValues;
- virtual Sequence< PropertyValue > SAL_CALL getPropertyValues( ) throw (RuntimeException, std::exception) override;
+ virtual Sequence< PropertyValue > SAL_CALL getPropertyValues( ) override;
using OPropertySetHelper::setPropertyValues;
- virtual void SAL_CALL setPropertyValues( const Sequence< PropertyValue >& aProps )
- throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues( const Sequence< PropertyValue >& aProps ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw (IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) override;
public:
@@ -66,11 +65,11 @@ public:
};
/// @throws RuntimeException
-OUString PDFDialog_getImplementationName () throw (RuntimeException);
+OUString PDFDialog_getImplementationName ();
/// @throws RuntimeException
-Sequence< OUString > SAL_CALL PDFDialog_getSupportedServiceNames() throw (RuntimeException);
+Sequence< OUString > SAL_CALL PDFDialog_getSupportedServiceNames();
/// @throws Exception
-Reference< XInterface > SAL_CALL PDFDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr) throw( Exception );
+Reference< XInterface > SAL_CALL PDFDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr);
#endif // INCLUDED_FILTER_SOURCE_PDF_PDFDIALOG_HXX
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index e36eb5c7ff47..219e1ad7d970 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -963,8 +963,8 @@ public:
explicit PDFErrorRequest( const task::PDFExportException& i_rExc );
// XInteractionRequest
- virtual uno::Any SAL_CALL getRequest() throw (uno::RuntimeException, std::exception) override;
- virtual uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL getContinuations() throw (uno::RuntimeException, std::exception) override;
+ virtual uno::Any SAL_CALL getRequest() override;
+ virtual uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL getContinuations() override;
};
@@ -975,7 +975,7 @@ PDFErrorRequest::PDFErrorRequest( const task::PDFExportException& i_rExc ) :
}
-uno::Any SAL_CALL PDFErrorRequest::getRequest() throw (uno::RuntimeException, std::exception)
+uno::Any SAL_CALL PDFErrorRequest::getRequest()
{
osl::MutexGuard const guard( m_aMutex );
@@ -985,7 +985,7 @@ uno::Any SAL_CALL PDFErrorRequest::getRequest() throw (uno::RuntimeException, st
}
-uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL PDFErrorRequest::getContinuations() throw (uno::RuntimeException, std::exception)
+uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL PDFErrorRequest::getContinuations()
{
return uno::Sequence< uno::Reference< task::XInteractionContinuation > >();
}
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index 9150cfdada32..2a32408bb0c3 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -171,7 +171,6 @@ IMPL_LINK( FocusWindowWaitCursor, DestroyedLink, VclWindowEvent&, rEvent, void )
sal_Bool SAL_CALL PDFFilter::filter( const Sequence< PropertyValue >& rDescriptor )
- throw (RuntimeException, std::exception)
{
FocusWindowWaitCursor aCur;
@@ -181,59 +180,54 @@ sal_Bool SAL_CALL PDFFilter::filter( const Sequence< PropertyValue >& rDescripto
}
-void SAL_CALL PDFFilter::cancel( ) throw (RuntimeException, std::exception)
+void SAL_CALL PDFFilter::cancel( )
{
}
void SAL_CALL PDFFilter::setSourceDocument( const Reference< XComponent >& xDoc )
- throw (IllegalArgumentException, RuntimeException, std::exception)
{
mxSrcDoc = xDoc;
}
void SAL_CALL PDFFilter::initialize( const css::uno::Sequence< css::uno::Any >& )
- throw (Exception, RuntimeException, std::exception)
{
}
OUString PDFFilter_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.PDF.PDFFilter" );
}
-Sequence< OUString > SAL_CALL PDFFilter_getSupportedServiceNames( ) throw (RuntimeException)
+Sequence< OUString > SAL_CALL PDFFilter_getSupportedServiceNames( )
{
Sequence<OUString> aRet { "com.sun.star.document.PDFFilter" };
return aRet;
}
-Reference< XInterface > SAL_CALL PDFFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr) throw( Exception )
+Reference< XInterface > SAL_CALL PDFFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
{
return static_cast<cppu::OWeakObject*>(new PDFFilter( comphelper::getComponentContext(rSMgr) ));
}
OUString SAL_CALL PDFFilter::getImplementationName()
- throw (RuntimeException, std::exception)
{
return PDFFilter_getImplementationName();
}
sal_Bool SAL_CALL PDFFilter::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
-css::uno::Sequence< OUString > SAL_CALL PDFFilter::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+css::uno::Sequence< OUString > SAL_CALL PDFFilter::getSupportedServiceNames( )
{
return PDFFilter_getSupportedServiceNames();
}
diff --git a/filter/source/pdf/pdffilter.hxx b/filter/source/pdf/pdffilter.hxx
index 878e79f1f1eb..7fedeaffa4fe 100644
--- a/filter/source/pdf/pdffilter.hxx
+++ b/filter/source/pdf/pdffilter.hxx
@@ -61,19 +61,19 @@ private:
protected:
// XFilter
- virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) throw(RuntimeException, std::exception) override;
- virtual void SAL_CALL cancel( ) throw (RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) override;
+ virtual void SAL_CALL cancel( ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
public:
@@ -82,21 +82,14 @@ public:
};
/// @throws RuntimeException
-OUString PDFFilter_getImplementationName ()
- throw ( RuntimeException );
+OUString PDFFilter_getImplementationName ();
/// @throws RuntimeException
-bool SAL_CALL PDFFilter_supportsService( const OUString& ServiceName )
- throw ( RuntimeException );
-
-/// @throws RuntimeException
-Sequence< OUString > SAL_CALL PDFFilter_getSupportedServiceNames( )
- throw ( RuntimeException );
+Sequence< OUString > SAL_CALL PDFFilter_getSupportedServiceNames( );
/// @throws Exception
Reference< XInterface >
-SAL_CALL PDFFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw ( Exception );
+SAL_CALL PDFFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr);
#endif // INCLUDED_FILTER_SOURCE_PDF_PDFFILTER_HXX
diff --git a/filter/source/pdf/pdfinteract.cxx b/filter/source/pdf/pdfinteract.cxx
index 28c69e7437a2..febc5df6faf9 100644
--- a/filter/source/pdf/pdfinteract.cxx
+++ b/filter/source/pdf/pdfinteract.cxx
@@ -37,14 +37,12 @@ PDFInteractionHandler::~PDFInteractionHandler()
void SAL_CALL PDFInteractionHandler::handle( const Reference< task::XInteractionRequest >& i_xRequest )
- throw (RuntimeException, std::exception)
{
handleInteractionRequest( i_xRequest );
}
sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Reference< task::XInteractionRequest >& i_xRequest )
- throw (RuntimeException, std::exception)
{
bool bHandled = false;
@@ -65,40 +63,37 @@ sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Referen
OUString PDFInteractionHandler_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.PDF.PDFExportInteractionHandler" );
}
-Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( ) throw (RuntimeException)
+Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( )
{
Sequence<OUString> aRet { "com.sun.star.filter.pdfexport.PDFExportInteractionHandler" };
return aRet;
}
-Reference< XInterface > SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & ) throw( Exception )
+Reference< XInterface > SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & )
{
return static_cast<cppu::OWeakObject*>(new PDFInteractionHandler);
}
OUString SAL_CALL PDFInteractionHandler::getImplementationName()
- throw (RuntimeException, std::exception)
{
return PDFInteractionHandler_getImplementationName();
}
sal_Bool SAL_CALL PDFInteractionHandler::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
-css::uno::Sequence< OUString > SAL_CALL PDFInteractionHandler::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+css::uno::Sequence< OUString > SAL_CALL PDFInteractionHandler::getSupportedServiceNames( )
{
return PDFInteractionHandler_getSupportedServiceNames();
}
diff --git a/filter/source/pdf/pdfinteract.hxx b/filter/source/pdf/pdfinteract.hxx
index 18ba5e67dc15..06bd82fb7262 100644
--- a/filter/source/pdf/pdfinteract.hxx
+++ b/filter/source/pdf/pdfinteract.hxx
@@ -36,15 +36,15 @@ class PDFInteractionHandler : public cppu::WeakImplHelper < task::XInteractionHa
{
protected:
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XIniteractionHandler
- virtual void SAL_CALL handle( const Reference< task::XInteractionRequest >& ) throw(RuntimeException, std::exception) override;
+ virtual void SAL_CALL handle( const Reference< task::XInteractionRequest >& ) override;
// XIniteractionHandler2
- virtual sal_Bool SAL_CALL handleInteractionRequest( const Reference< task::XInteractionRequest >& ) throw(RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL handleInteractionRequest( const Reference< task::XInteractionRequest >& ) override;
public:
@@ -53,21 +53,14 @@ public:
};
/// @throws RuntimeException
-OUString PDFInteractionHandler_getImplementationName ()
- throw ( RuntimeException );
+OUString PDFInteractionHandler_getImplementationName ();
/// @throws RuntimeException
-bool SAL_CALL PDFInteractionHandler_supportsService( const OUString& ServiceName )
- throw ( RuntimeException );
-
-/// @throws RuntimeException
-Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( )
- throw ( RuntimeException );
+Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( );
/// @throws Exception
Reference< XInterface >
-SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw ( Exception );
+SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & rSMgr);
#endif // INCLUDED_FILTER_SOURCE_PDF_PDFINTERACT_HXX
diff --git a/filter/source/placeware/exporter.cxx b/filter/source/placeware/exporter.cxx
index 5c46dc03a73d..899dbff68d9c 100644
--- a/filter/source/placeware/exporter.cxx
+++ b/filter/source/placeware/exporter.cxx
@@ -98,7 +98,7 @@ PageEntry::PageEntry()
}
/// @throws css::uno::Exception
-static void encodeFile( osl::File& rSourceFile, Reference< XOutputStream > const & xOutputStream ) throw( css::uno::Exception )
+static void encodeFile( osl::File& rSourceFile, Reference< XOutputStream > const & xOutputStream )
{
if( xOutputStream.is() )
{
@@ -174,7 +174,7 @@ static OString convertString( const OUString& aInput )
}
/// @throws css::uno::Exception
-static void createSlideFile( const Reference< XComponent >& xDoc, PlacewareZipFile& rZipFile, const OUString& rURL, std::vector< PageEntry* >& rPageEntries ) throw( css::uno::Exception, std::exception )
+static void createSlideFile( const Reference< XComponent >& xDoc, PlacewareZipFile& rZipFile, const OUString& rURL, std::vector< PageEntry* >& rPageEntries )
{
OString aInfo;
diff --git a/filter/source/placeware/filter.cxx b/filter/source/placeware/filter.cxx
index 5cac30c3d1f7..54f6d3539cd4 100644
--- a/filter/source/placeware/filter.cxx
+++ b/filter/source/placeware/filter.cxx
@@ -55,19 +55,19 @@ public:
explicit PlaceWareExportFilter( const Reference< XComponentContext > &rxContext);
// XFilter
- virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException, std::exception) override;
- virtual void SAL_CALL cancel( ) throw (RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) override;
+ virtual void SAL_CALL cancel( ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
@@ -78,7 +78,6 @@ PlaceWareExportFilter::PlaceWareExportFilter(const Reference< XComponentContext
sal_Bool SAL_CALL PlaceWareExportFilter::filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException, std::exception)
{
sal_Int32 nLength = aDescriptor.getLength();
const PropertyValue * pValue = aDescriptor.getConstArray();
@@ -117,14 +116,12 @@ sal_Bool SAL_CALL PlaceWareExportFilter::filter( const css::uno::Sequence< css::
void SAL_CALL PlaceWareExportFilter::cancel( )
- throw (RuntimeException, std::exception)
{
}
// XExporter
void SAL_CALL PlaceWareExportFilter::setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
mxDoc = xDoc;
}
@@ -132,44 +129,37 @@ void SAL_CALL PlaceWareExportFilter::setSourceDocument( const css::uno::Referenc
// XInitialization
void SAL_CALL PlaceWareExportFilter::initialize( const css::uno::Sequence< css::uno::Any >& /* aArguments */ )
- throw (Exception, RuntimeException, std::exception)
{
}
OUString PlaceWareExportFilter_getImplementationName ()
- throw (RuntimeException)
{
return OUString( "com.sun.star.comp.Impress.PlaceWareExportFilter" );
}
Sequence< OUString > SAL_CALL PlaceWareExportFilter_getSupportedServiceNames( )
- throw (RuntimeException)
{
Sequence<OUString> aRet { "com.sun.star.document.ExportFilter" };
return aRet;
}
Reference< XInterface > SAL_CALL PlaceWareExportFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new PlaceWareExportFilter( comphelper::getComponentContext(rSMgr) ));
}
// XServiceInfo
OUString SAL_CALL PlaceWareExportFilter::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return PlaceWareExportFilter_getImplementationName();
}
sal_Bool SAL_CALL PlaceWareExportFilter::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
css::uno::Sequence< OUString > SAL_CALL PlaceWareExportFilter::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return PlaceWareExportFilter_getSupportedServiceNames();
}
diff --git a/filter/source/placeware/filter.hxx b/filter/source/placeware/filter.hxx
index 8772142eb555..fc807cc17205 100644
--- a/filter/source/placeware/filter.hxx
+++ b/filter/source/placeware/filter.hxx
@@ -37,19 +37,16 @@ namespace com { namespace sun { namespace star {
namespace pwp {
/// @throws css::uno::RuntimeException
-OUString PlaceWareExportFilter_getImplementationName()
- throw (css::uno::RuntimeException);
+OUString PlaceWareExportFilter_getImplementationName();
/// @throws css::uno::RuntimeException
css::uno::Sequence<OUString> SAL_CALL
-PlaceWareExportFilter_getSupportedServiceNames()
- throw (css::uno::RuntimeException);
+PlaceWareExportFilter_getSupportedServiceNames();
/// @throws css::uno::Exception
css::uno::Reference<css::uno::XInterface> SAL_CALL
PlaceWareExportFilter_createInstance(
- css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr)
- throw (css::uno::Exception);
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr);
}
diff --git a/filter/source/storagefilterdetect/filterdetect.cxx b/filter/source/storagefilterdetect/filterdetect.cxx
index a549ec64f19a..fb40d64a06ab 100644
--- a/filter/source/storagefilterdetect/filterdetect.cxx
+++ b/filter/source/storagefilterdetect/filterdetect.cxx
@@ -82,7 +82,6 @@ StorageFilterDetect::StorageFilterDetect(const uno::Reference<uno::XComponentCon
StorageFilterDetect::~StorageFilterDetect() {}
OUString SAL_CALL StorageFilterDetect::detect(uno::Sequence<beans::PropertyValue>& rDescriptor)
- throw (uno::RuntimeException, std::exception)
{
MediaDescriptor aMediaDesc( rDescriptor );
OUString aTypeName;
@@ -164,8 +163,7 @@ OUString SAL_CALL StorageFilterDetect::detect(uno::Sequence<beans::PropertyValue
}
// XInitialization
-void SAL_CALL StorageFilterDetect::initialize(const uno::Sequence<uno::Any>& /*aArguments*/)
- throw (uno::Exception, uno::RuntimeException, std::exception) {}
+void SAL_CALL StorageFilterDetect::initialize(const uno::Sequence<uno::Any>& /*aArguments*/) {}
OUString StorageFilterDetect_getImplementationName()
{
@@ -189,19 +187,16 @@ uno::Reference<uno::XInterface> StorageFilterDetect_createInstance(
// XServiceInfo
OUString SAL_CALL StorageFilterDetect::getImplementationName()
- throw (uno::RuntimeException, std::exception)
{
return StorageFilterDetect_getImplementationName();
}
sal_Bool SAL_CALL StorageFilterDetect::supportsService(const OUString& rServiceName)
- throw (uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence<OUString> SAL_CALL StorageFilterDetect::getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception)
{
return StorageFilterDetect_getSupportedServiceNames();
}
diff --git a/filter/source/storagefilterdetect/filterdetect.hxx b/filter/source/storagefilterdetect/filterdetect.hxx
index af2c7c53d7e3..b2959851964f 100644
--- a/filter/source/storagefilterdetect/filterdetect.hxx
+++ b/filter/source/storagefilterdetect/filterdetect.hxx
@@ -40,22 +40,17 @@ public:
virtual ~StorageFilterDetect() override;
// XExtendedFilterDetection
- virtual OUString SAL_CALL detect(css::uno::Sequence<css::beans::PropertyValue>& rDescriptor)
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL detect(css::uno::Sequence<css::beans::PropertyValue>& rDescriptor) override;
// XInitialization
- virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aArguments) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
};
OUString StorageFilterDetect_getImplementationName();
diff --git a/filter/source/svg/svgdialog.cxx b/filter/source/svg/svgdialog.cxx
index 1564a480d24e..e08ecf7280dd 100644
--- a/filter/source/svg/svgdialog.cxx
+++ b/filter/source/svg/svgdialog.cxx
@@ -43,14 +43,12 @@ using namespace ::com::sun::star::document;
OUString SVGDialog_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( SVG_DIALOG_IMPLEMENTATION_NAME );
}
Sequence< OUString > SAL_CALL SVGDialog_getSupportedServiceNames()
- throw (RuntimeException)
{
Sequence< OUString > aRet { SVG_DIALOG_SERVICE_NAME };
return aRet;
@@ -58,7 +56,6 @@ Sequence< OUString > SAL_CALL SVGDialog_getSupportedServiceNames()
Reference< XInterface > SAL_CALL SVGDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr )
- throw( Exception )
{
return static_cast< cppu::OWeakObject* >( new SVGDialog( comphelper::getComponentContext(rSMgr) ) );
}
@@ -76,7 +73,6 @@ SVGDialog::~SVGDialog()
Any SAL_CALL SVGDialog::queryInterface( const Type& rType )
- throw (RuntimeException, std::exception)
{
Any aReturn( OGenericUnoDialog::queryInterface( rType ) );
@@ -105,21 +101,18 @@ void SAL_CALL SVGDialog::release()
Sequence< sal_Int8 > SAL_CALL SVGDialog::getImplementationId()
- throw(RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
OUString SAL_CALL SVGDialog::getImplementationName()
- throw (RuntimeException, std::exception)
{
return SVGDialog_getImplementationName();
}
Sequence< OUString > SAL_CALL SVGDialog::getSupportedServiceNames()
- throw (RuntimeException, std::exception)
{
return SVGDialog_getSupportedServiceNames();
}
@@ -144,7 +137,6 @@ void SVGDialog::executedDialog( sal_Int16 nExecutionResult )
Reference< XPropertySetInfo > SAL_CALL SVGDialog::getPropertySetInfo()
- throw(RuntimeException, std::exception)
{
return Reference< XPropertySetInfo >( createPropertySetInfo( getInfoHelper() ) );
}
@@ -167,7 +159,6 @@ Reference< XPropertySetInfo > SAL_CALL SVGDialog::getPropertySetInfo()
Sequence< PropertyValue > SAL_CALL SVGDialog::getPropertyValues()
- throw ( RuntimeException, std::exception )
{
sal_Int32 i, nCount;
@@ -190,7 +181,6 @@ Sequence< PropertyValue > SAL_CALL SVGDialog::getPropertyValues()
void SAL_CALL SVGDialog::setPropertyValues( const Sequence< PropertyValue >& rProps )
- throw ( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception )
{
maMediaDescriptor = rProps;
@@ -206,7 +196,6 @@ void SAL_CALL SVGDialog::setPropertyValues( const Sequence< PropertyValue >& rPr
void SAL_CALL SVGDialog::setSourceDocument( const Reference< XComponent >& xDoc )
- throw(IllegalArgumentException, RuntimeException, std::exception)
{
mxSrcDoc = xDoc;
}
diff --git a/filter/source/svg/svgdialog.hxx b/filter/source/svg/svgdialog.hxx
index 4a50ff4bed6b..812e6efa9a5f 100644
--- a/filter/source/svg/svgdialog.hxx
+++ b/filter/source/svg/svgdialog.hxx
@@ -43,28 +43,28 @@ private:
css::uno::Reference< css::lang::XComponent > mxSrcDoc;
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual void SAL_CALL acquire() throw () override;
virtual void SAL_CALL release() throw () override;
// OGenericUnoDialog
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
virtual VclPtr<Dialog> createDialog( vcl::Window* pParent ) override;
virtual void executedDialog( sal_Int16 nExecutionResult ) override;
- 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 ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override;
// XPropertyAccess
using cppu::OPropertySetHelper::getPropertyValues;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues( ) override;
using cppu::OPropertySetHelper::setPropertyValues;
- virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& aProps ) throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& aProps ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
public:
@@ -73,21 +73,14 @@ public:
};
/// @throws css::uno::RuntimeException
-OUString SVGDialog_getImplementationName ()
- throw ( css::uno::RuntimeException );
+OUString SVGDialog_getImplementationName ();
/// @throws css::uno::RuntimeException
-bool SAL_CALL SVGDialog_supportsService( const OUString& ServiceName )
- throw ( css::uno::RuntimeException );
-
-/// @throws css::uno::RuntimeException
-css::uno::Sequence< OUString > SAL_CALL SVGDialog_getSupportedServiceNames( )
- throw ( css::uno::RuntimeException );
+css::uno::Sequence< OUString > SAL_CALL SVGDialog_getSupportedServiceNames( );
/// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface >
- SAL_CALL SVGDialog_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr)
- throw ( css::uno::Exception );
+ SAL_CALL SVGDialog_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr);
#endif // INCLUDED_FILTER_SOURCE_SVG_SVGDIALOG_HXX
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 44c48635f19d..50cc5f7af164 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -485,7 +485,6 @@ bool EqualityBitmap::operator()( const ObjectRepresentation& rObjRep1,
bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
- throw (RuntimeException, std::exception)
{
Reference< XComponentContext > xContext( ::comphelper::getProcessComponentContext() ) ;
Reference< XOutputStream > xOStm;
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index c8480b137298..86cfc25c7c01 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -92,7 +92,6 @@ SVGFilter::~SVGFilter()
}
sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescriptor )
- throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
vcl::Window* pFocusWindow = Application::GetFocusWindow();
@@ -282,18 +281,16 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
return bRet;
}
-void SAL_CALL SVGFilter::cancel( ) throw (RuntimeException, std::exception)
+void SAL_CALL SVGFilter::cancel( )
{
}
void SAL_CALL SVGFilter::setSourceDocument( const Reference< XComponent >& xDoc )
- throw (IllegalArgumentException, RuntimeException, std::exception)
{
mxSrcDoc = xDoc;
}
void SAL_CALL SVGFilter::setTargetDocument( const Reference< XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
mxDstDoc = xDoc;
}
@@ -341,7 +338,7 @@ bool SVGFilter::isStreamSvg(const uno::Reference<io::XInputStream>& xInput)
return false;
}
-OUString SAL_CALL SVGFilter::detect(Sequence<PropertyValue>& rDescriptor) throw (RuntimeException, std::exception)
+OUString SAL_CALL SVGFilter::detect(Sequence<PropertyValue>& rDescriptor)
{
utl::MediaDescriptor aMediaDescriptor(rDescriptor);
uno::Reference<io::XInputStream> xInput(aMediaDescriptor[utl::MediaDescriptor::PROP_INPUTSTREAM()], UNO_QUERY);
diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx
index 215b9037a245..10574b2de7d5 100644
--- a/filter/source/svg/svgfilter.hxx
+++ b/filter/source/svg/svgfilter.hxx
@@ -235,10 +235,10 @@ private:
Link<EditFieldInfo*,void> maNewFieldHdl;
/// @throws css::uno::RuntimeException
- bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception);
+ bool implImport( const Sequence< PropertyValue >& rDescriptor );
/// @throws css::uno::RuntimeException
- bool implExport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception);
+ bool implExport( const Sequence< PropertyValue >& rDescriptor );
static Reference< XWriter > implCreateExportDocumentHandler( const Reference< XOutputStream >& rxOStm );
void implGetPagePropSet( const Reference< XDrawPage > & rxPage );
@@ -287,17 +287,17 @@ private:
protected:
// XFilter
- virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) throw(RuntimeException, std::exception) override;
- virtual void SAL_CALL cancel( ) throw (RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) override;
+ virtual void SAL_CALL cancel( ) override;
// XImporter
- virtual void SAL_CALL setTargetDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTargetDocument( const Reference< XComponent >& xDoc ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) override;
// XExtendedFilterDetection
- virtual OUString SAL_CALL detect( Sequence< PropertyValue >& io_rDescriptor ) throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL detect( Sequence< PropertyValue >& io_rDescriptor ) override;
public:
diff --git a/filter/source/svg/svgimport.cxx b/filter/source/svg/svgimport.cxx
index 3ffcdd842549..445d233fe6d5 100644
--- a/filter/source/svg/svgimport.cxx
+++ b/filter/source/svg/svgimport.cxx
@@ -48,7 +48,6 @@ using namespace ::com::sun::star;
using namespace ::svgi;
bool SVGFilter::implImport(const Sequence< PropertyValue >& rDescriptor)
- throw (RuntimeException, std::exception)
{
utl::MediaDescriptor aMediaDescriptor(rDescriptor);
uno::Reference<io::XInputStream> xInputStream;
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index f5896e923bf5..1fed9900fc66 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -3779,7 +3779,7 @@ SVGWriter::~SVGWriter()
void SAL_CALL SVGWriter::write( const Reference<XDocumentHandler>& rxDocHandler,
- const Sequence<sal_Int8>& rMtfSeq ) throw( RuntimeException, std::exception )
+ const Sequence<sal_Int8>& rMtfSeq )
{
SvMemoryStream aMemStm( const_cast<sal_Int8 *>(rMtfSeq.getConstArray()), rMtfSeq.getLength(), StreamMode::READ );
GDIMetaFile aMtf;
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index 4158f3ffdde5..659d635d8ca7 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -402,8 +402,7 @@ public:
// XSVGWriter
virtual void SAL_CALL write( const Reference<XDocumentHandler>& rxDocHandler,
- const Sequence<sal_Int8>& rMtfSeq )
- throw( RuntimeException, std::exception ) override;
+ const Sequence<sal_Int8>& rMtfSeq ) override;
};
#endif // INCLUDED_FILTER_SOURCE_SVG_SVGWRITER_HXX
diff --git a/filter/source/svg/test/odfserializer.cxx b/filter/source/svg/test/odfserializer.cxx
index 30d7586c1214..48d5e1be759a 100644
--- a/filter/source/svg/test/odfserializer.cxx
+++ b/filter/source/svg/test/odfserializer.cxx
@@ -47,14 +47,14 @@ public:
ODFSerializer(const ODFSerializer&) = delete;
ODFSerializer& operator=(const ODFSerializer&) = delete;
- virtual void SAL_CALL startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endDocument( ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endElement( const OUString& aName ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL characters( const OUString& aChars ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& xLocator ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument( ) override;
+ virtual void SAL_CALL endDocument( ) override;
+ virtual void SAL_CALL startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) override;
+ virtual void SAL_CALL endElement( const OUString& aName ) override;
+ virtual void SAL_CALL characters( const OUString& aChars ) override;
+ virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) override;
+ virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) override;
+ virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& xLocator ) override;
private:
uno::Reference<io::XOutputStream> m_xOutStream;
@@ -62,7 +62,7 @@ private:
uno::Sequence<sal_Int8> m_aBuf;
};
-void SAL_CALL ODFSerializer::startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::startDocument( )
{
OSL_PRECOND(m_xOutStream.is(), "ODFSerializer(): invalid output stream");
@@ -71,11 +71,11 @@ void SAL_CALL ODFSerializer::startDocument( ) throw (xml::sax::SAXException, un
characters(aElement.makeStringAndClear());
}
-void SAL_CALL ODFSerializer::endDocument() throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::endDocument()
{}
void SAL_CALL ODFSerializer::startElement( const OUString& aName,
- const uno::Reference< xml::sax::XAttributeList >& xAttribs ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+ const uno::Reference< xml::sax::XAttributeList >& xAttribs )
{
OUStringBuffer aElement("<" + aName + " ");
@@ -87,12 +87,12 @@ void SAL_CALL ODFSerializer::startElement( const OUString& aName,
characters(aElement.makeStringAndClear() + ">");
}
-void SAL_CALL ODFSerializer::endElement( const OUString& aName ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::endElement( const OUString& aName )
{
characters("</" + aName + ">");
}
-void SAL_CALL ODFSerializer::characters( const OUString& aChars ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::characters( const OUString& aChars )
{
const OString aStr = OUStringToOString(aChars,
RTL_TEXTENCODING_UTF8);
@@ -106,17 +106,17 @@ void SAL_CALL ODFSerializer::characters( const OUString& aChars ) throw (xml::sa
m_xOutStream->writeBytes(m_aLineFeed);
}
-void SAL_CALL ODFSerializer::ignorableWhitespace( const OUString& aWhitespaces ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::ignorableWhitespace( const OUString& aWhitespaces )
{
// TODO(F1): Make pretty printing configurable
characters(aWhitespaces);
}
void SAL_CALL ODFSerializer::processingInstruction( const OUString&,
- const OUString& ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+ const OUString& )
{}
-void SAL_CALL ODFSerializer::setDocumentLocator( const uno::Reference< xml::sax::XLocator >& ) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL ODFSerializer::setDocumentLocator( const uno::Reference< xml::sax::XLocator >& )
{}
uno::Reference< xml::sax::XDocumentHandler> createSerializer(const uno::Reference<io::XOutputStream>& xOut )
diff --git a/filter/source/svg/test/svg2odf.cxx b/filter/source/svg/test/svg2odf.cxx
index 9406d32fdcbc..ba933327fd6e 100644
--- a/filter/source/svg/test/svg2odf.cxx
+++ b/filter/source/svg/test/svg2odf.cxx
@@ -46,18 +46,18 @@ namespace
maFile.open( osl_File_OpenFlag_Create|osl_File_OpenFlag_Write );
}
- virtual void SAL_CALL writeBytes( const css::uno::Sequence< ::sal_Int8 >& aData ) throw (css::io::NotConnectedException,css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL writeBytes( const css::uno::Sequence< ::sal_Int8 >& aData ) override
{
sal_uInt64 nBytesWritten(0);
maFile.write(aData.getConstArray(),aData.getLength(),nBytesWritten);
}
- virtual void SAL_CALL flush() throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL flush() override
{
}
- virtual void SAL_CALL closeOutput() throw (css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL closeOutput() override
{
maFile.close();
}
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index 924d475ce826..712e27a918bb 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -154,7 +154,6 @@ T602ImportFilter::~T602ImportFilter()
// XExtendedTypeDetection
OUString T602ImportFilter::detect( Sequence<PropertyValue>& Descriptor)
- throw(RuntimeException, std::exception)
{
sal_Int32 nLength = Descriptor.getLength();
const PropertyValue * pValue = Descriptor.getConstArray();
@@ -182,21 +181,18 @@ OUString T602ImportFilter::detect( Sequence<PropertyValue>& Descriptor)
// XFilter
sal_Bool SAL_CALL T602ImportFilter::filter( const Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException, std::exception)
{
return importImpl ( aDescriptor );
}
// XImporter
void SAL_CALL T602ImportFilter::setTargetDocument( const Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
mxDoc = xDoc;
}
// XInitialization
void SAL_CALL T602ImportFilter::initialize( const Sequence< Any >& aArguments )
- throw (Exception, RuntimeException, std::exception)
{
Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength();
@@ -250,7 +246,6 @@ void T602ImportFilter::inschr(unsigned char ch)
}
bool SAL_CALL T602ImportFilter::importImpl( const Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException)
{
Reset602();
@@ -873,31 +868,26 @@ void T602ImportFilter::Read602()
// XServiceInfo
OUString SAL_CALL T602ImportFilter::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return T602ImportFilter_getImplementationName();
}
sal_Bool SAL_CALL T602ImportFilter::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
Sequence< OUString > SAL_CALL T602ImportFilter::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return T602ImportFilter_getSupportedServiceNames();
}
OUString T602ImportFilter_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.Writer.T602ImportFilter" );
}
Sequence< OUString > SAL_CALL T602ImportFilter_getSupportedServiceNames( )
- throw (RuntimeException)
{
Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray();
@@ -907,7 +897,6 @@ Sequence< OUString > SAL_CALL T602ImportFilter_getSupportedServiceNames( )
}
Reference< XInterface > SAL_CALL T602ImportFilter_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new T602ImportFilter( rSMgr ));
}
@@ -922,14 +911,12 @@ T602ImportFilterDialog::~T602ImportFilterDialog()
// XLocalizable
void SAL_CALL T602ImportFilterDialog::setLocale( const Locale& eLocale )
- throw(css::uno::RuntimeException, std::exception)
{
meLocale = eLocale;
initLocale();
}
Locale SAL_CALL T602ImportFilterDialog::getLocale()
- throw(css::uno::RuntimeException, std::exception)
{
return meLocale;
}
@@ -1128,12 +1115,10 @@ ResMgr* T602ImportFilterDialog::getResMgr()
}
void SAL_CALL T602ImportFilterDialog::setTitle( const OUString& )
- throw (css::uno::RuntimeException, std::exception)
{
}
sal_Int16 SAL_CALL T602ImportFilterDialog::execute()
- throw (css::uno::RuntimeException, std::exception)
{
if (OptionsDlg())
return css::ui::dialogs::ExecutableDialogResults::OK;
@@ -1147,52 +1132,44 @@ OUString T602ImportFilterDialog::getResStr( sal_Int16 resid )
return sStr;
}
-uno::Sequence<beans::PropertyValue> SAL_CALL T602ImportFilterDialog::getPropertyValues() throw(uno::RuntimeException, std::exception)
+uno::Sequence<beans::PropertyValue> SAL_CALL T602ImportFilterDialog::getPropertyValues()
{
return uno::Sequence<beans::PropertyValue>();
}
void SAL_CALL T602ImportFilterDialog::setPropertyValues( const uno::Sequence<beans::PropertyValue>& )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
// XServiceInfo
OUString SAL_CALL T602ImportFilterDialog::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return T602ImportFilterDialog_getImplementationName();
}
sal_Bool SAL_CALL T602ImportFilterDialog::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
Sequence< OUString > SAL_CALL T602ImportFilterDialog::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return T602ImportFilterDialog_getSupportedServiceNames();
}
OUString T602ImportFilterDialog_getImplementationName ()
- throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.Writer.T602ImportFilterDialog" );
}
Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames( )
- throw (RuntimeException)
{
Sequence<OUString> aRet { "com.sun.star.ui.dialogs.FilterOptionsDialog" };
return aRet;
}
Reference< XInterface > SAL_CALL T602ImportFilterDialog_createInstance( const Reference< XMultiServiceFactory > & )
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new T602ImportFilterDialog);
}
diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx
index 852fb8f33557..74fc56d5eef7 100644
--- a/filter/source/t602/t602filter.hxx
+++ b/filter/source/t602/t602filter.hxx
@@ -53,20 +53,6 @@ typedef enum {
enum class tnode {START,READCH,EOL,POCMD,EXPCMD,SETCMD,SETCH,WRITE,EEND,QUIT};
-/// @throws css::uno::RuntimeException
-OUString getImplementationName()
- throw ( css::uno::RuntimeException );
-
-/// @throws css::uno::RuntimeException
-css::uno::Sequence < OUString > getSupportedServiceNames()
- throw ( css::uno::RuntimeException );
-
-/// @throws css::uno::Exception
-css::uno::Reference < css::uno::XInterface > SAL_CALL
- CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > &r)
- throw ( css::uno::Exception );
-
-
// class T602ImportFilter
@@ -106,35 +92,23 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper <
virtual ~T602ImportFilterDialog() override;
// XExecutableDialog
- virtual void SAL_CALL setTitle( const OUString& aTitle )
- throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL execute()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTitle( const OUString& aTitle ) override;
+ virtual sal_Int16 SAL_CALL execute() override;
// XLocalizable
- virtual void SAL_CALL setLocale( const css::lang::Locale& eLocale )
- throw(css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale()
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setLocale( const css::lang::Locale& eLocale ) override;
+ virtual css::lang::Locale SAL_CALL getLocale() 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;
// XPropertyAccess
virtual css::uno::Sequence< css::beans::PropertyValue >
- SAL_CALL getPropertyValues() throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getPropertyValues() override;
virtual void SAL_CALL setPropertyValues( const css::uno::Sequence<
- css::beans::PropertyValue >& aProps )
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ css::beans::PropertyValue >& aProps ) override;
public:
explicit T602ImportFilterDialog();
@@ -250,8 +224,7 @@ private:
void wrtfnt();
/// @throws css::uno::RuntimeException
- bool SAL_CALL importImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (css::uno::RuntimeException);
+ bool SAL_CALL importImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor );
public:
explicit T602ImportFilter(const css::uno::Reference<css::lang::XMultiServiceFactory > &r );
@@ -259,68 +232,46 @@ private:
virtual ~T602ImportFilter() override;
// XFilter
- virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL cancel( )
- throw (css::uno::RuntimeException, std::exception) override {};
+ virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) override;
+ virtual void SAL_CALL cancel( ) override {};
// XImporter
- virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
// XExtendedTypeDetection
virtual OUString SAL_CALL detect(
- css::uno::Sequence< css::beans::PropertyValue >& Descriptor )
- throw( css::uno::RuntimeException, std::exception ) override;
+ css::uno::Sequence< css::beans::PropertyValue >& Descriptor ) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// 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;
bool SAL_CALL test();
};
/// @throws css::uno::RuntimeException
-OUString T602ImportFilter_getImplementationName()
- throw ( css::uno::RuntimeException );
-
-/// @throws css::uno::RuntimeException
-bool SAL_CALL T602ImportFilter_supportsService( const OUString& ServiceName )
- throw ( css::uno::RuntimeException );
+OUString T602ImportFilter_getImplementationName();
/// @throws css::uno::RuntimeException
-css::uno::Sequence< OUString > SAL_CALL T602ImportFilter_getSupportedServiceNames( )
- throw ( css::uno::RuntimeException );
+css::uno::Sequence< OUString > SAL_CALL T602ImportFilter_getSupportedServiceNames( );
/// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface >
-SAL_CALL T602ImportFilter_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr)
- throw ( css::uno::Exception );
-
-/// @throws css::uno::RuntimeException
-OUString T602ImportFilterDialog_getImplementationName()
- throw ( css::uno::RuntimeException );
+SAL_CALL T602ImportFilter_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr);
/// @throws css::uno::RuntimeException
-bool SAL_CALL T602ImportFilterDialog_supportsService( const OUString& ServiceName )
- throw ( css::uno::RuntimeException );
+OUString T602ImportFilterDialog_getImplementationName();
/// @throws css::uno::RuntimeException
-css::uno::Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames( )
- throw ( css::uno::RuntimeException );
+css::uno::Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames( );
/// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface >
-SAL_CALL T602ImportFilterDialog_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr)
- throw ( css::uno::Exception );
+SAL_CALL T602ImportFilterDialog_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr);
}
diff --git a/filter/source/textfilterdetect/filterdetect.cxx b/filter/source/textfilterdetect/filterdetect.cxx
index b8f9cab62cba..554fbc8a2a63 100644
--- a/filter/source/textfilterdetect/filterdetect.cxx
+++ b/filter/source/textfilterdetect/filterdetect.cxx
@@ -120,7 +120,7 @@ PlainTextFilterDetect::PlainTextFilterDetect() {}
PlainTextFilterDetect::~PlainTextFilterDetect() {}
-OUString SAL_CALL PlainTextFilterDetect::detect(uno::Sequence<beans::PropertyValue>& lDescriptor) throw (uno::RuntimeException, std::exception)
+OUString SAL_CALL PlainTextFilterDetect::detect(uno::Sequence<beans::PropertyValue>& lDescriptor)
{
MediaDescriptor aMediaDesc(lDescriptor);
@@ -195,7 +195,6 @@ OUString SAL_CALL PlainTextFilterDetect::detect(uno::Sequence<beans::PropertyVal
// XInitialization
void SAL_CALL PlainTextFilterDetect::initialize(const uno::Sequence<uno::Any>& /*aArguments*/)
- throw (uno::Exception, uno::RuntimeException, std::exception)
{
}
@@ -215,19 +214,16 @@ uno::Sequence<OUString> PlainTextFilterDetect_getSupportedServiceNames()
// XServiceInfo
OUString SAL_CALL PlainTextFilterDetect::getImplementationName()
- throw (uno::RuntimeException, std::exception)
{
return PlainTextFilterDetect_getImplementationName();
}
sal_Bool SAL_CALL PlainTextFilterDetect::supportsService(const OUString& rServiceName)
- throw (uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence<OUString> SAL_CALL PlainTextFilterDetect::getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception)
{
return PlainTextFilterDetect_getSupportedServiceNames();
}
diff --git a/filter/source/textfilterdetect/filterdetect.hxx b/filter/source/textfilterdetect/filterdetect.hxx
index cb8090c555ba..6ae26db71043 100644
--- a/filter/source/textfilterdetect/filterdetect.hxx
+++ b/filter/source/textfilterdetect/filterdetect.hxx
@@ -39,24 +39,19 @@ public:
// XExtendedFilterDetection
- virtual OUString SAL_CALL detect(css::uno::Sequence<css::beans::PropertyValue>& lDescriptor)
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL detect(css::uno::Sequence<css::beans::PropertyValue>& lDescriptor) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
};
OUString PlainTextFilterDetect_getImplementationName();
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 13cfb4a27606..48d2141ada23 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -65,7 +65,6 @@ using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::task;
bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException, std::exception)
{
OUString udConvertClass = msUserData[0];
const OUString sXMLImportService = msUserData[2];
@@ -183,7 +182,6 @@ bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::Property
}
bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException)
{
OUString udConvertClass = msUserData[0];
@@ -298,17 +296,14 @@ bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< css::beans::Property
}
sal_Bool SAL_CALL XmlFilterAdaptor::filter( const Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (RuntimeException, std::exception)
{
return meType == FILTER_EXPORT ? exportImpl ( aDescriptor ) : importImpl ( aDescriptor );
}
void SAL_CALL XmlFilterAdaptor::cancel( )
- throw (RuntimeException, std::exception)
{
}
// XExporter
void SAL_CALL XmlFilterAdaptor::setSourceDocument( const Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
meType = FILTER_EXPORT;
mxDoc = xDoc;
@@ -316,14 +311,12 @@ void SAL_CALL XmlFilterAdaptor::setSourceDocument( const Reference< css::lang::X
// XImporter
void SAL_CALL XmlFilterAdaptor::setTargetDocument( const Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, RuntimeException, std::exception)
{
meType = FILTER_IMPORT;
mxDoc = xDoc;
}
// XInitialization
void SAL_CALL XmlFilterAdaptor::initialize( const Sequence< Any >& aArguments )
- throw (Exception, RuntimeException, std::exception)
{
Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength();
@@ -339,13 +332,11 @@ void SAL_CALL XmlFilterAdaptor::initialize( const Sequence< Any >& aArguments )
}
}
OUString XmlFilterAdaptor_getImplementationName ()
- throw (RuntimeException)
{
return OUString( "com.sun.star.comp.Writer.XmlFilterAdaptor" );
}
Sequence< OUString > SAL_CALL XmlFilterAdaptor_getSupportedServiceNames( )
- throw (RuntimeException)
{
Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray();
@@ -355,26 +346,22 @@ Sequence< OUString > SAL_CALL XmlFilterAdaptor_getSupportedServiceNames( )
}
Reference< XInterface > SAL_CALL XmlFilterAdaptor_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
- throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new XmlFilterAdaptor( comphelper::getComponentContext(rSMgr) ));
}
// XServiceInfo
OUString SAL_CALL XmlFilterAdaptor::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return XmlFilterAdaptor_getImplementationName();
}
sal_Bool SAL_CALL XmlFilterAdaptor::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
Sequence< OUString > SAL_CALL XmlFilterAdaptor::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return XmlFilterAdaptor_getSupportedServiceNames();
}
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
index 23a24060d96d..5bab49ee71e8 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
@@ -61,12 +61,10 @@ protected:
FilterType meType;
/// @throws css::uno::RuntimeException
- bool SAL_CALL exportImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (css::uno::RuntimeException);
+ bool SAL_CALL exportImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor );
/// @throws css::uno::RuntimeException
- bool SAL_CALL importImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (css::uno::RuntimeException, std::exception);
+ bool SAL_CALL importImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor );
public:
@@ -79,67 +77,46 @@ public:
// XFilter
- virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) override;
- virtual void SAL_CALL cancel( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL cancel( ) override;
// XExporter
- virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
// XImporter
- virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc )
-
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
-
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( )
-
- throw (css::uno::RuntimeException, std::exception) override;
-
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
+ virtual OUString SAL_CALL getImplementationName( ) override;
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( )
-
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
};
/// @throws css::uno::RuntimeException
-OUString XmlFilterAdaptor_getImplementationName()
- throw ( css::uno::RuntimeException );
-
-/// @throws css::uno::RuntimeException
-bool SAL_CALL XmlFilterAdaptor_supportsService( const OUString& ServiceName )
- throw ( css::uno::RuntimeException );
+OUString XmlFilterAdaptor_getImplementationName();
/// @throws css::uno::RuntimeException
-css::uno::Sequence< OUString > SAL_CALL XmlFilterAdaptor_getSupportedServiceNames( )
- throw ( css::uno::RuntimeException );
+css::uno::Sequence< OUString > SAL_CALL XmlFilterAdaptor_getSupportedServiceNames( );
/// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface >
-SAL_CALL XmlFilterAdaptor_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr)
-
- throw ( css::uno::Exception );
+SAL_CALL XmlFilterAdaptor_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr);
#endif
diff --git a/filter/source/xmlfilterdetect/filterdetect.cxx b/filter/source/xmlfilterdetect/filterdetect.cxx
index 8ce2522dfb2c..9916b2cee94d 100644
--- a/filter/source/xmlfilterdetect/filterdetect.cxx
+++ b/filter/source/xmlfilterdetect/filterdetect.cxx
@@ -51,7 +51,7 @@ OUString supportedByType( const OUString& clipBoardFormat, const OUString& resu
}
-OUString SAL_CALL FilterDetect::detect( css::uno::Sequence< css::beans::PropertyValue >& aArguments ) throw( css::uno::RuntimeException, std::exception )
+OUString SAL_CALL FilterDetect::detect( css::uno::Sequence< css::beans::PropertyValue >& aArguments )
{
OUString sTypeName;
OUString sUrl;
@@ -175,7 +175,6 @@ OUString SAL_CALL FilterDetect::detect( css::uno::Sequence< css::beans::Property
// XInitialization
void SAL_CALL FilterDetect::initialize( const Sequence< Any >& /*aArguments*/ )
- throw (Exception, RuntimeException, std::exception)
{
}
@@ -197,19 +196,16 @@ Reference< XInterface > FilterDetect_createInstance( const Reference< XComponent
// XServiceInfo
OUString SAL_CALL FilterDetect::getImplementationName( )
- throw (RuntimeException, std::exception)
{
return FilterDetect_getImplementationName();
}
sal_Bool SAL_CALL FilterDetect::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService( this, rServiceName );
}
Sequence< OUString > SAL_CALL FilterDetect::getSupportedServiceNames( )
- throw (RuntimeException, std::exception)
{
return FilterDetect_getSupportedServiceNames();
}
diff --git a/filter/source/xmlfilterdetect/filterdetect.hxx b/filter/source/xmlfilterdetect/filterdetect.hxx
index aaacf0beebe7..886fb1c64f72 100644
--- a/filter/source/xmlfilterdetect/filterdetect.hxx
+++ b/filter/source/xmlfilterdetect/filterdetect.hxx
@@ -44,22 +44,17 @@ public:
: mxCtx( rxCtx ) {}
//XExtendedFilterDetection
- virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor )
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
};
OUString SAL_CALL FilterDetect_getImplementationName();
diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx
index 37ac42852c50..c9eee6cb012a 100644
--- a/filter/source/xsltdialog/typedetectionimport.cxx
+++ b/filter/source/xsltdialog/typedetectionimport.cxx
@@ -207,17 +207,14 @@ filter_info_impl* TypeDetectionImporter::createFilterForNode( Node * pNode )
}
void SAL_CALL TypeDetectionImporter::startDocument( )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL TypeDetectionImporter::endDocument( )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL TypeDetectionImporter::startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
ImportState eNewState = e_Unknown;
@@ -274,7 +271,6 @@ void SAL_CALL TypeDetectionImporter::startElement( const OUString& aName, const
maStack.push( eNewState );
}
void SAL_CALL TypeDetectionImporter::endElement( const OUString& /* aName */ )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
if( !maStack.empty() )
{
@@ -310,7 +306,6 @@ void SAL_CALL TypeDetectionImporter::endElement( const OUString& /* aName */ )
}
}
void SAL_CALL TypeDetectionImporter::characters( const OUString& aChars )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
if( !maStack.empty() && maStack.top() == e_Value )
{
@@ -318,15 +313,12 @@ void SAL_CALL TypeDetectionImporter::characters( const OUString& aChars )
}
}
void SAL_CALL TypeDetectionImporter::ignorableWhitespace( const OUString& /* aWhitespaces */ )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL TypeDetectionImporter::processingInstruction( const OUString& /* aTarget */, const OUString& /* aData */ )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL TypeDetectionImporter::setDocumentLocator( const uno::Reference< xml::sax::XLocator >& /* xLocator */ )
- throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx
index 8118c2b7f6de..1af2b442c824 100644
--- a/filter/source/xsltdialog/typedetectionimport.hxx
+++ b/filter/source/xsltdialog/typedetectionimport.hxx
@@ -66,22 +66,14 @@ public:
static void doImport( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference < css::io::XInputStream >& xOS, XMLFilterVector& rFilters );
- virtual void SAL_CALL startDocument( )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endDocument( )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL startElement( const OUString& aName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endElement( const OUString& aName )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL characters( const OUString& aChars )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
- throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument( ) override;
+ virtual void SAL_CALL endDocument( ) override;
+ virtual void SAL_CALL startElement( const OUString& aName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs ) override;
+ virtual void SAL_CALL endElement( const OUString& aName ) override;
+ virtual void SAL_CALL characters( const OUString& aChars ) override;
+ virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) override;
+ virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) override;
+ virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator ) override;
private:
void fillFilterVector( XMLFilterVector& rFilters );
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
index 829780180a30..16cd01cec4d9 100644
--- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
+++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
@@ -71,31 +71,31 @@ public:
protected:
// XInterface
- virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception) override;
- virtual Any SAL_CALL queryAggregation( Type const & rType ) throw (RuntimeException, std::exception) override;
+ virtual Any SAL_CALL queryInterface( const Type& aType ) override;
+ virtual Any SAL_CALL queryAggregation( Type const & rType ) override;
virtual void SAL_CALL acquire() throw () override;
virtual void SAL_CALL release() throw () override;
// XTypeProvider
- virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(RuntimeException, std::exception) override;
- virtual Sequence< Type > SAL_CALL getTypes() throw (RuntimeException, std::exception) override;
+ virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
+ virtual Sequence< Type > SAL_CALL getTypes() override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XExecutableDialog
- virtual void SAL_CALL setTitle( const OUString& aTitle ) throw(RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL execute( ) throw(RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTitle( const OUString& aTitle ) override;
+ virtual sal_Int16 SAL_CALL execute( ) override;
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) override;
// XTerminateListener
- virtual void SAL_CALL queryTermination( const EventObject& Event ) throw (TerminationVetoException, RuntimeException, std::exception) override;
- virtual void SAL_CALL notifyTermination( const EventObject& Event ) throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) override;
+ virtual void SAL_CALL queryTermination( const EventObject& Event ) override;
+ virtual void SAL_CALL notifyTermination( const EventObject& Event ) override;
+ virtual void SAL_CALL disposing( const EventObject& Source ) override;
/** Called in dispose method after the listeners were notified.
*/
@@ -119,13 +119,13 @@ XMLFilterDialogComponent::XMLFilterDialogComponent( const css::uno::Reference< X
}
// XInterface
-Any SAL_CALL XMLFilterDialogComponent::queryInterface( const Type& aType ) throw (RuntimeException, std::exception)
+Any SAL_CALL XMLFilterDialogComponent::queryInterface( const Type& aType )
{
return OComponentHelper::queryInterface( aType );
}
-Any SAL_CALL XMLFilterDialogComponent::queryAggregation( Type const & rType ) throw (RuntimeException, std::exception)
+Any SAL_CALL XMLFilterDialogComponent::queryAggregation( Type const & rType )
{
if (rType == cppu::UnoType<css::ui::dialogs::XExecutableDialog>::get())
{
@@ -163,32 +163,32 @@ void SAL_CALL XMLFilterDialogComponent::release() throw ()
}
/// @throws RuntimeException
-OUString XMLFilterDialogComponent_getImplementationName() throw ( RuntimeException )
+OUString XMLFilterDialogComponent_getImplementationName()
{
return OUString( "com.sun.star.comp.ui.XSLTFilterDialog" );
}
/// @throws RuntimeException
-Sequence< OUString > SAL_CALL XMLFilterDialogComponent_getSupportedServiceNames() throw ( RuntimeException )
+Sequence< OUString > SAL_CALL XMLFilterDialogComponent_getSupportedServiceNames()
{
Sequence< OUString > aSupported { "com.sun.star.ui.dialogs.XSLTFilterDialog" };
return aSupported;
}
/// @throws Exception
-Reference< XInterface > SAL_CALL XMLFilterDialogComponent_createInstance( const Reference< XMultiServiceFactory > & rSMgr) throw ( Exception )
+Reference< XInterface > SAL_CALL XMLFilterDialogComponent_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
{
return static_cast<OWeakObject*>(new XMLFilterDialogComponent( comphelper::getComponentContext(rSMgr) ));
}
-OUString SAL_CALL XMLFilterDialogComponent::getImplementationName() throw(css::uno::RuntimeException, std::exception)
+OUString SAL_CALL XMLFilterDialogComponent::getImplementationName()
{
return XMLFilterDialogComponent_getImplementationName();
}
namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; }
-Sequence< sal_Int8 > SAL_CALL XMLFilterDialogComponent::getImplementationId() throw( RuntimeException, std::exception )
+Sequence< sal_Int8 > SAL_CALL XMLFilterDialogComponent::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
@@ -219,17 +219,17 @@ namespace
struct theDialogComponentTypes : rtl::Static<DialogComponentTypes, theDialogComponentTypes> {};
}
-Sequence< Type > XMLFilterDialogComponent::getTypes() throw (RuntimeException, std::exception)
+Sequence< Type > XMLFilterDialogComponent::getTypes()
{
return theDialogComponentTypes::get().getTypeCollection().getTypes();
}
-Sequence< OUString > SAL_CALL XMLFilterDialogComponent::getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception)
+Sequence< OUString > SAL_CALL XMLFilterDialogComponent::getSupportedServiceNames()
{
return XMLFilterDialogComponent_getSupportedServiceNames();
}
-sal_Bool SAL_CALL XMLFilterDialogComponent::supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception)
+sal_Bool SAL_CALL XMLFilterDialogComponent::supportsService(const OUString& ServiceName)
{
return cppu::supportsService( this, ServiceName );
}
@@ -245,7 +245,7 @@ void SAL_CALL XMLFilterDialogComponent::disposing()
// XTerminateListener
-void SAL_CALL XMLFilterDialogComponent::queryTermination( const EventObject& /* Event */ ) throw (TerminationVetoException, RuntimeException, std::exception)
+void SAL_CALL XMLFilterDialogComponent::queryTermination( const EventObject& /* Event */ )
{
::SolarMutexGuard aGuard;
@@ -265,23 +265,23 @@ void SAL_CALL XMLFilterDialogComponent::queryTermination( const EventObject& /*
}
-void SAL_CALL XMLFilterDialogComponent::notifyTermination( const EventObject& /* Event */ ) throw (RuntimeException, std::exception)
+void SAL_CALL XMLFilterDialogComponent::notifyTermination( const EventObject& /* Event */ )
{
// we are going down, so dispose us!
dispose();
}
-void SAL_CALL XMLFilterDialogComponent::disposing( const EventObject& /* Source */ ) throw (RuntimeException, std::exception)
+void SAL_CALL XMLFilterDialogComponent::disposing( const EventObject& /* Source */ )
{
}
-void SAL_CALL XMLFilterDialogComponent::setTitle( const OUString& /* _rTitle */ ) throw(RuntimeException, std::exception)
+void SAL_CALL XMLFilterDialogComponent::setTitle( const OUString& /* _rTitle */ )
{
}
-sal_Int16 SAL_CALL XMLFilterDialogComponent::execute( ) throw(RuntimeException, std::exception)
+sal_Int16 SAL_CALL XMLFilterDialogComponent::execute( )
{
::SolarMutexGuard aGuard;
@@ -304,7 +304,7 @@ sal_Int16 SAL_CALL XMLFilterDialogComponent::execute( ) throw(RuntimeException,
}
-void SAL_CALL XMLFilterDialogComponent::initialize( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception)
+void SAL_CALL XMLFilterDialogComponent::initialize( const Sequence< Any >& aArguments )
{
const Any* pArguments = aArguments.getConstArray();
for(sal_Int32 i=0; i<aArguments.getLength(); ++i, ++pArguments)
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx
index d4dbcae8fe59..da4357b32fe3 100644
--- a/filter/source/xsltdialog/xmlfilterjar.cxx
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx
@@ -80,7 +80,7 @@ static OUString encodeZipUri( const OUString& rURI )
}
/// @throws Exception
-static Reference< XInterface > addFolder( Reference< XInterface >& xRootFolder, Reference< XSingleServiceFactory >& xFactory, const OUString& rName ) throw( Exception )
+static Reference< XInterface > addFolder( Reference< XInterface >& xRootFolder, Reference< XSingleServiceFactory >& xFactory, const OUString& rName )
{
if ( rName == ".." || rName == "." )
throw lang::IllegalArgumentException();
@@ -103,7 +103,7 @@ static Reference< XInterface > addFolder( Reference< XInterface >& xRootFolder,
}
/// @throws Exception
-static void addFile_( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, Reference< XInputStream > const & xInput, const OUString& aName ) throw( Exception )
+static void addFile_( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, Reference< XInputStream > const & xInput, const OUString& aName )
{
Reference< XActiveDataSink > xSink( xFactory->createInstance(), UNO_QUERY );
Reference< XUnoTunnel > xTunnel( xSink, UNO_QUERY );
@@ -115,7 +115,7 @@ static void addFile_( Reference< XInterface > const & xRootFolder, Reference< XS
}
}
-void XMLFilterJarHelper::addFile( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, const OUString& rSourceFile ) throw( Exception, std::exception )
+void XMLFilterJarHelper::addFile( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, const OUString& rSourceFile )
{
if( !rSourceFile.isEmpty() &&
!rSourceFile.startsWith("http:") &&
diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx
index 24ec5dccc051..a71f89f9bb41 100644
--- a/filter/source/xsltdialog/xmlfilterjar.hxx
+++ b/filter/source/xsltdialog/xmlfilterjar.hxx
@@ -39,7 +39,7 @@ public:
private:
/// @throws css::uno::Exception
- void addFile( css::uno::Reference< css::uno::XInterface > const & xRootFolder, css::uno::Reference< css::lang::XSingleServiceFactory > const & xFactory, const OUString& rSourceFile ) throw( css::uno::Exception, std::exception );
+ void addFile( css::uno::Reference< css::uno::XInterface > const & xRootFolder, css::uno::Reference< css::lang::XSingleServiceFactory > const & xFactory, const OUString& rSourceFile );
bool copyFile( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, OUString& rURL, const OUString& rTargetURL );
bool copyFiles( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, filter_info_impl* pFilter );
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index eb6900a2b661..5367bc1a39cc 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -74,10 +74,10 @@ public:
explicit GlobalEventListenerImpl( XMLFilterTestDialog* pDialog );
// XDocumentEventListener
- virtual void SAL_CALL documentEventOccured( const css::document::DocumentEvent& Event ) throw (RuntimeException, std::exception) override;
+ virtual void SAL_CALL documentEventOccured( const css::document::DocumentEvent& Event ) override;
// lang::XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
private:
VclPtr<XMLFilterTestDialog> mpDialog;
};
@@ -87,7 +87,7 @@ GlobalEventListenerImpl::GlobalEventListenerImpl( XMLFilterTestDialog* pDialog )
{
}
-void SAL_CALL GlobalEventListenerImpl::documentEventOccured( const css::document::DocumentEvent& Event ) throw (RuntimeException, std::exception)
+void SAL_CALL GlobalEventListenerImpl::documentEventOccured( const css::document::DocumentEvent& Event )
{
::SolarMutexGuard aGuard;
if( Event.EventName == "OnFocus" || Event.EventName == "OnUnload" )
@@ -97,7 +97,7 @@ void SAL_CALL GlobalEventListenerImpl::documentEventOccured( const css::document
}
}
-void SAL_CALL GlobalEventListenerImpl::disposing( const css::lang::EventObject& /* Source */ ) throw (RuntimeException, std::exception)
+void SAL_CALL GlobalEventListenerImpl::disposing( const css::lang::EventObject& /* Source */ )
{
}
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx
index f3b8265f0625..d828cbd91991 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.cxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx
@@ -374,13 +374,12 @@ namespace XSLT
void
LibXSLTTransformer::setInputStream(
const css::uno::Reference<XInputStream>& inputStream)
- throw (RuntimeException, std::exception)
{
m_rInputStream = inputStream;
}
css::uno::Reference<XInputStream>
- LibXSLTTransformer::getInputStream() throw (RuntimeException, std::exception)
+ LibXSLTTransformer::getInputStream()
{
return m_rInputStream;
}
@@ -388,20 +387,18 @@ namespace XSLT
void
LibXSLTTransformer::setOutputStream(
const css::uno::Reference<XOutputStream>& outputStream)
- throw (RuntimeException, std::exception)
{
m_rOutputStream = outputStream;
}
css::uno::Reference<XOutputStream>
- LibXSLTTransformer::getOutputStream() throw (RuntimeException, std::exception)
+ LibXSLTTransformer::getOutputStream()
{
return m_rOutputStream;
}
void
LibXSLTTransformer::addListener(const css::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception)
{
m_listeners.insert(m_listeners.begin(), listener);
}
@@ -409,13 +406,12 @@ namespace XSLT
void
LibXSLTTransformer::removeListener(
const css::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception)
{
m_listeners.remove(listener);
}
void
- LibXSLTTransformer::start() throw (RuntimeException, std::exception)
+ LibXSLTTransformer::start()
{
ListenerList::iterator it;
ListenerList* l = &m_listeners;
@@ -460,7 +456,7 @@ namespace XSLT
}
void
- LibXSLTTransformer::terminate() throw (RuntimeException, std::exception)
+ LibXSLTTransformer::terminate()
{
if (m_Reader.is())
{
@@ -474,7 +470,6 @@ namespace XSLT
void
LibXSLTTransformer::initialize(const Sequence<Any>& args)
- throw (RuntimeException, std::exception)
{
Sequence<Any> params;
if (!(args[0] >>= params))
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx
index 87f3225c86b7..beb500f7faa5 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.hxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx
@@ -133,29 +133,25 @@ namespace XSLT
// XActiveDataSink
virtual void SAL_CALL
- setInputStream(const css::uno::Reference<XInputStream>& inputStream)
- throw (RuntimeException, std::exception) override;
+ setInputStream(const css::uno::Reference<XInputStream>& inputStream) override;
virtual css::uno::Reference<XInputStream> SAL_CALL
- getInputStream() throw (RuntimeException, std::exception) override;
+ getInputStream() override;
// XActiveDataSource
virtual void SAL_CALL
- setOutputStream(const css::uno::Reference<XOutputStream>& outputStream)
- throw (RuntimeException, std::exception) override;
+ setOutputStream(const css::uno::Reference<XOutputStream>& outputStream) override;
virtual css::uno::Reference<XOutputStream> SAL_CALL
- getOutputStream() throw (RuntimeException, std::exception) override;
+ getOutputStream() override;
// XActiveDataControl
virtual void SAL_CALL
- addListener(const css::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception) override;
+ addListener(const css::uno::Reference<XStreamListener>& listener) override;
virtual void SAL_CALL
- removeListener(const css::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception) override;
+ removeListener(const css::uno::Reference<XStreamListener>& listener) override;
virtual void SAL_CALL
- start() throw (RuntimeException, std::exception) override;
+ start() override;
virtual void SAL_CALL
- terminate() throw (RuntimeException, std::exception) override;
+ terminate() override;
virtual void SAL_CALL
- initialize(const Sequence<Any>& params) throw (RuntimeException, std::exception) override;
+ initialize(const Sequence<Any>& params) override;
void SAL_CALL
done();
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 468757f05484..1adab3e15d01 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -131,32 +131,32 @@ namespace XSLT
// XStreamListener
virtual void SAL_CALL
- error(const Any& a) throw (RuntimeException, std::exception) override;
+ error(const Any& a) override;
virtual void SAL_CALL
- closed() throw (RuntimeException, std::exception) override;
+ closed() override;
virtual void SAL_CALL
- terminated() throw (RuntimeException, std::exception) override;
+ terminated() override;
virtual void SAL_CALL
- started() throw (RuntimeException, std::exception) override;
+ started() override;
virtual void SAL_CALL
- disposing(const EventObject& e) throw (RuntimeException, std::exception) override;
+ disposing(const EventObject& e) override;
// XImportFilter
virtual sal_Bool SAL_CALL
importer(const Sequence<PropertyValue>& aSourceData, const css::uno::Reference<
XDocumentHandler>& xHandler,
- const Sequence<OUString>& msUserData) throw (RuntimeException, std::exception) override;
+ const Sequence<OUString>& msUserData) override;
// XExportFilter
virtual sal_Bool SAL_CALL
exporter(const Sequence<PropertyValue>& aSourceData, const Sequence<
- OUString>& msUserData) throw (RuntimeException, std::exception) override;
+ OUString>& msUserData) override;
// XDocumentHandler
virtual void SAL_CALL
- startDocument() throw (SAXException, RuntimeException, std::exception) override;
+ startDocument() override;
virtual void SAL_CALL
- endDocument() throw (SAXException, RuntimeException, std::exception) override;
+ endDocument() override;
};
XSLTFilter::XSLTFilter(const css::uno::Reference<XComponentContext> &r):
@@ -164,7 +164,7 @@ namespace XSLT
{}
void
- XSLTFilter::disposing(const EventObject&) throw (RuntimeException, std::exception)
+ XSLTFilter::disposing(const EventObject&)
{
}
@@ -223,12 +223,12 @@ namespace XSLT
}
void
- XSLTFilter::started() throw (RuntimeException, std::exception)
+ XSLTFilter::started()
{
m_cTransformed.reset();
}
void
- XSLTFilter::error(const Any& a) throw (RuntimeException, std::exception)
+ XSLTFilter::error(const Any& a)
{
Exception e;
if (a >>= e)
@@ -239,12 +239,12 @@ namespace XSLT
m_cTransformed.set();
}
void
- XSLTFilter::closed() throw (RuntimeException, std::exception)
+ XSLTFilter::closed()
{
m_cTransformed.set();
}
void
- XSLTFilter::terminated() throw (RuntimeException, std::exception)
+ XSLTFilter::terminated()
{
m_bTerminated = true;
m_cTransformed.set();
@@ -268,7 +268,7 @@ namespace XSLT
sal_Bool
XSLTFilter::importer(const Sequence<PropertyValue>& aSourceData,
const css::uno::Reference<XDocumentHandler>& xHandler, const Sequence<
- OUString>& msUserData) throw (RuntimeException, std::exception)
+ OUString>& msUserData)
{
if (msUserData.getLength() < 5)
return false;
@@ -414,7 +414,7 @@ namespace XSLT
sal_Bool
XSLTFilter::exporter(const Sequence<PropertyValue>& aSourceData,
- const Sequence<OUString>& msUserData) throw (RuntimeException, std::exception)
+ const Sequence<OUString>& msUserData)
{
if (msUserData.getLength() < 6)
return false;
@@ -514,14 +514,14 @@ namespace XSLT
// events to the XML writer that we created upon the output stream
// that was provided by the XMLFilterAdapter
void
- XSLTFilter::startDocument() throw (SAXException, RuntimeException, std::exception)
+ XSLTFilter::startDocument()
{
ExtendedDocumentHandlerAdapter::startDocument();
m_tcontrol->start();
}
void
- XSLTFilter::endDocument() throw (SAXException, RuntimeException, std::exception)
+ XSLTFilter::endDocument()
{
ExtendedDocumentHandlerAdapter::endDocument();
// wait for the transformer to finish