summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogaltheme.cxx
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 /svx/source/unogallery/unogaltheme.cxx
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 'svx/source/unogallery/unogaltheme.cxx')
-rw-r--r--svx/source/unogallery/unogaltheme.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx
index 4cee8ce8ea20..ea3181bdc6b2 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -68,25 +68,21 @@ GalleryTheme::~GalleryTheme()
OUString SAL_CALL GalleryTheme::getImplementationName()
- throw( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.gallery.GalleryTheme" );
}
sal_Bool SAL_CALL GalleryTheme::supportsService( const OUString& ServiceName )
- throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService( this, ServiceName );
}
uno::Sequence< OUString > SAL_CALL GalleryTheme::getSupportedServiceNames()
- throw( uno::RuntimeException, std::exception )
{
return { "com.sun.star.gallery.GalleryTheme" };
}
uno::Sequence< uno::Type > SAL_CALL GalleryTheme::getTypes()
- throw(uno::RuntimeException, std::exception)
{
uno::Sequence< uno::Type > aTypes( 5 );
uno::Type* pTypes = aTypes.getArray();
@@ -101,21 +97,18 @@ uno::Sequence< uno::Type > SAL_CALL GalleryTheme::getTypes()
}
uno::Sequence< sal_Int8 > SAL_CALL GalleryTheme::getImplementationId()
- throw(uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
uno::Type SAL_CALL GalleryTheme::getElementType()
- throw (uno::RuntimeException, std::exception)
{
return cppu::UnoType<gallery::XGalleryItem>::get();
}
sal_Bool SAL_CALL GalleryTheme::hasElements()
- throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -124,7 +117,6 @@ sal_Bool SAL_CALL GalleryTheme::hasElements()
sal_Int32 SAL_CALL GalleryTheme::getCount()
- throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -133,7 +125,6 @@ sal_Int32 SAL_CALL GalleryTheme::getCount()
uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex )
- throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
uno::Any aRet;
@@ -158,7 +149,6 @@ uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex )
OUString SAL_CALL GalleryTheme::getName( )
- throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
OUString aRet;
@@ -171,7 +161,6 @@ OUString SAL_CALL GalleryTheme::getName( )
void SAL_CALL GalleryTheme::update( )
- throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -185,7 +174,6 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertURLByIndex(
const OUString& rURL, ::sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -217,7 +205,6 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertGraphicByIndex(
const uno::Reference< graphic::XGraphic >& rxGraphic, sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -244,7 +231,6 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertDrawingByIndex(
const uno::Reference< lang::XComponent >& Drawing, sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -298,7 +284,6 @@ void SAL_CALL GalleryTheme::update( )
void SAL_CALL GalleryTheme::removeByIndex( sal_Int32 nIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;