summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/tbunocontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/tbunocontroller.cxx')
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx33
1 files changed, 11 insertions, 22 deletions
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 8ae9fe807bb1..091ede2f2002 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -51,27 +51,27 @@ class FontHeightToolBoxControl : public svt::ToolboxController,
const css::uno::Reference< css::uno::XComponentContext >& rServiceManager );
// 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;
// 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;
// XComponent
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() override;
// XStatusListener
- virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;
// XToolbarController
- virtual void SAL_CALL execute( sal_Int16 KeyModifier ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL click() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL doubleClick() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& Parent ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL execute( sal_Int16 KeyModifier ) override;
+ virtual void SAL_CALL click() override;
+ virtual void SAL_CALL doubleClick() override;
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override;
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& Parent ) override;
void dispatchCommand( const css::uno::Sequence< css::beans::PropertyValue >& rArgs );
using svt::ToolboxController::dispatchCommand;
@@ -273,7 +273,6 @@ FontHeightToolBoxControl::FontHeightToolBoxControl( const uno::Reference< uno::X
// XInterface
css::uno::Any SAL_CALL FontHeightToolBoxControl::queryInterface( const css::uno::Type& aType )
-throw (css::uno::RuntimeException, std::exception)
{
uno::Any a = ToolboxController::queryInterface( aType );
if ( a.hasValue() )
@@ -294,19 +293,16 @@ void SAL_CALL FontHeightToolBoxControl::release() throw ()
// XServiceInfo
sal_Bool SAL_CALL FontHeightToolBoxControl::supportsService( const OUString& ServiceName )
-throw(uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
OUString SAL_CALL FontHeightToolBoxControl::getImplementationName()
-throw( uno::RuntimeException, std::exception )
{
return OUString("com.sun.star.svx.FontHeightToolBoxController");
}
uno::Sequence< OUString > SAL_CALL FontHeightToolBoxControl::getSupportedServiceNames( )
-throw( uno::RuntimeException, std::exception )
{
uno::Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
return aSNS;
@@ -314,7 +310,6 @@ throw( uno::RuntimeException, std::exception )
// XComponent
void SAL_CALL FontHeightToolBoxControl::dispose()
-throw (uno::RuntimeException, std::exception)
{
svt::ToolboxController::dispose();
@@ -325,7 +320,6 @@ throw (uno::RuntimeException, std::exception)
// XStatusListener
void SAL_CALL FontHeightToolBoxControl::statusChanged(
const frame::FeatureStateEvent& rEvent )
-throw ( uno::RuntimeException, std::exception )
{
if ( m_pBox )
{
@@ -354,29 +348,24 @@ throw ( uno::RuntimeException, std::exception )
// XToolbarController
void SAL_CALL FontHeightToolBoxControl::execute( sal_Int16 /*KeyModifier*/ )
-throw (css::uno::RuntimeException, std::exception)
{
}
void SAL_CALL FontHeightToolBoxControl::click()
-throw (css::uno::RuntimeException, std::exception)
{
}
void SAL_CALL FontHeightToolBoxControl::doubleClick()
-throw (css::uno::RuntimeException, std::exception)
{
}
uno::Reference< awt::XWindow > SAL_CALL FontHeightToolBoxControl::createPopupWindow()
-throw (css::uno::RuntimeException, std::exception)
{
return uno::Reference< awt::XWindow >();
}
uno::Reference< awt::XWindow > SAL_CALL FontHeightToolBoxControl::createItemWindow(
const uno::Reference< awt::XWindow >& xParent )
- throw (css::uno::RuntimeException, std::exception)
{
uno::Reference< awt::XWindow > xItemWindow;