summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/SwPanelFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/SwPanelFactory.cxx')
-rw-r--r--sw/source/uibase/sidebar/SwPanelFactory.cxx21
1 files changed, 5 insertions, 16 deletions
diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx
index 3a33252d7703..7c5e289b3d5a 100644
--- a/sw/source/uibase/sidebar/SwPanelFactory.cxx
+++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx
@@ -64,22 +64,15 @@ public:
// XUIElementFactory
css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement(
const OUString& rsResourceURL,
- const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
- throw(
- css::container::NoSuchElementException,
- css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception ) override;
-
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ const css::uno::Sequence<css::beans::PropertyValue>& rArguments) override;
+
+ OUString SAL_CALL getImplementationName() override
{ return OUString("org.apache.openoffice.comp.sw.sidebar.SwPanelFactory"); }
- 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.ui.UIElementFactory"}; }
};
@@ -91,10 +84,6 @@ SwPanelFactory::SwPanelFactory()
Reference<ui::XUIElement> SAL_CALL SwPanelFactory::createUIElement (
const OUString& rsResourceURL,
const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
- throw(
- container::NoSuchElementException,
- lang::IllegalArgumentException,
- RuntimeException, std::exception)
{
Reference<ui::XUIElement> xElement;