summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxtopwindow.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 /toolkit/source/awt/vclxtopwindow.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 'toolkit/source/awt/vclxtopwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index e21d7bb2e416..3078b2753257 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -55,7 +55,7 @@ VCLXTopWindow_Base::~VCLXTopWindow_Base()
{
}
-Any VCLXTopWindow_Base::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
+Any VCLXTopWindow_Base::queryInterface( const Type & rType )
{
css::uno::Any aRet( VCLXTopWindow_XBase::queryInterface( rType ) );
@@ -66,7 +66,7 @@ Any VCLXTopWindow_Base::queryInterface( const Type & rType ) throw(RuntimeExcept
return aRet;
}
-Sequence< Type > VCLXTopWindow_Base::getTypes() throw(RuntimeException, std::exception)
+Sequence< Type > VCLXTopWindow_Base::getTypes()
{
Sequence< Type > aTypes( VCLXTopWindow_XBase::getTypes() );
if ( m_bWHWND )
@@ -74,7 +74,7 @@ Sequence< Type > VCLXTopWindow_Base::getTypes() throw(RuntimeException, std::exc
return aTypes;
}
-css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType )
{
SolarMutexGuard aGuard;
@@ -116,21 +116,21 @@ css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal
return aRet;
}
-void VCLXTopWindow_Base::addTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception)
+void VCLXTopWindow_Base::addTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener )
{
SolarMutexGuard aGuard;
GetTopWindowListenersImpl().addInterface( rxListener );
}
-void VCLXTopWindow_Base::removeTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception)
+void VCLXTopWindow_Base::removeTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener )
{
SolarMutexGuard aGuard;
GetTopWindowListenersImpl().removeInterface( rxListener );
}
-void VCLXTopWindow_Base::toFront( ) throw(css::uno::RuntimeException, std::exception)
+void VCLXTopWindow_Base::toFront( )
{
SolarMutexGuard aGuard;
@@ -139,11 +139,11 @@ void VCLXTopWindow_Base::toFront( ) throw(css::uno::RuntimeException, std::exce
static_cast<WorkWindow*>(pWindow)->ToTop( ToTopFlags::RestoreWhenMin );
}
-void VCLXTopWindow_Base::toBack( ) throw(css::uno::RuntimeException, std::exception)
+void VCLXTopWindow_Base::toBack( )
{
}
-void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuBar >& rxMenu ) throw(css::uno::RuntimeException, std::exception)
+void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuBar >& rxMenu )
{
SolarMutexGuard aGuard;
@@ -163,7 +163,7 @@ void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuB
}
-sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized()
{
SolarMutexGuard aGuard;
@@ -175,7 +175,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException,
}
-void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized ) throw (RuntimeException, std::exception)
+void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized )
{
SolarMutexGuard aGuard;
@@ -187,7 +187,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized ) throw
}
-sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized()
{
SolarMutexGuard aGuard;
@@ -199,7 +199,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException,
}
-void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw (RuntimeException, std::exception)
+void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized )
{
SolarMutexGuard aGuard;
@@ -211,7 +211,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw
}
-::sal_Int32 SAL_CALL VCLXTopWindow_Base::getDisplay() throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL VCLXTopWindow_Base::getDisplay()
{
SolarMutexGuard aGuard;
@@ -223,7 +223,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw
}
-void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display )
{
SolarMutexGuard aGuard;
@@ -266,7 +266,7 @@ vcl::Window* VCLXTopWindow::GetWindowImpl()
}
// css::uno::XInterface
-css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet( VCLXTopWindow_Base::queryInterface( rType ) );
@@ -276,12 +276,12 @@ css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType ) thro
return aRet;
}
-css::uno::Sequence< sal_Int8 > VCLXTopWindow::getImplementationId() throw(css::uno::RuntimeException, std::exception)
+css::uno::Sequence< sal_Int8 > VCLXTopWindow::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
-css::uno::Sequence< css::uno::Type > VCLXTopWindow::getTypes() throw(css::uno::RuntimeException, std::exception)
+css::uno::Sequence< css::uno::Type > VCLXTopWindow::getTypes()
{
return ::comphelper::concatSequences( VCLXTopWindow_Base::getTypes(), VCLXContainer::getTypes() );
}