summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/inc/dp_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/registry/inc/dp_backend.h')
-rw-r--r--desktop/source/deployment/registry/inc/dp_backend.h141
1 files changed, 35 insertions, 106 deletions
diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h
index deba0dda93f2..ad717500c181 100644
--- a/desktop/source/deployment/registry/inc/dp_backend.h
+++ b/desktop/source/deployment/registry/inc/dp_backend.h
@@ -116,144 +116,78 @@ public:
m_shortDescr(shortDescr)
{}
// XPackageTypeInfo
- virtual OUString SAL_CALL getMediaType()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDescription()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getShortDescription()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getFileFilter()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getMediaType() override;
+ virtual OUString SAL_CALL getDescription() override;
+ virtual OUString SAL_CALL getShortDescription() override;
+ virtual OUString SAL_CALL getFileFilter() override;
virtual css::uno::Any SAL_CALL getIcon( sal_Bool highContrast,
- sal_Bool smallIcon )
- throw (css::uno::RuntimeException, std::exception) override;
+ sal_Bool smallIcon ) override;
};
// XComponent
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() override;
virtual void SAL_CALL addEventListener(
- css::uno::Reference<css::lang::XEventListener> const & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::lang::XEventListener> const & xListener ) override;
virtual void SAL_CALL removeEventListener(
- css::uno::Reference<css::lang::XEventListener> const & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::lang::XEventListener> const & xListener ) override;
// XModifyBroadcaster
virtual void SAL_CALL addModifyListener(
- css::uno::Reference<css::util::XModifyListener> const & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::util::XModifyListener> const & xListener ) override;
virtual void SAL_CALL removeModifyListener(
- css::uno::Reference<css::util::XModifyListener> const & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::util::XModifyListener> const & xListener ) override;
// XPackage
virtual css::uno::Reference<css::task::XAbortChannel> SAL_CALL
- createAbortChannel() throw (css::uno::RuntimeException, std::exception) override;
+ createAbortChannel() override;
virtual css::beans::Optional< css::beans::Ambiguous<sal_Bool> >
SAL_CALL isRegistered(
css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::ucb::CommandFailedException,
- css::ucb::CommandAbortedException,
- css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
virtual ::sal_Int32 SAL_CALL checkPrerequisites(
const css::uno::Reference< css::task::XAbortChannel >& xAbortChannel,
const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv,
- sal_Bool noLicenseChecking)
- throw (css::deployment::DeploymentException,
- css::deployment::ExtensionRemovedException,
- css::ucb::CommandFailedException,
- css::ucb::CommandAbortedException,
- css::uno::RuntimeException, std::exception) override;
+ sal_Bool noLicenseChecking) override;
virtual ::sal_Bool SAL_CALL checkDependencies(
- const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::deployment::ExtensionRemovedException,
- css::ucb::CommandFailedException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv ) override;
virtual void SAL_CALL registerPackage(
sal_Bool startup,
css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::deployment::ExtensionRemovedException,
- css::ucb::CommandFailedException,
- css::ucb::CommandAbortedException,
- css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
virtual void SAL_CALL revokePackage(
sal_Bool startup,
css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::ucb::CommandFailedException,
- css::ucb::CommandAbortedException,
- css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isBundle()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
+ virtual sal_Bool SAL_CALL isBundle() override;
virtual css::uno::Sequence< css::uno::Reference<css::deployment::XPackage> >
SAL_CALL getBundle(
css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::ucb::CommandFailedException,
- css::ucb::CommandAbortedException,
- css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getName()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Optional< OUString > SAL_CALL getIdentifier()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getVersion()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getURL()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDisplayName()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDescription()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getLicenseText()
- throw (css::deployment::DeploymentException,
- css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
+ virtual OUString SAL_CALL getName() override;
+ virtual css::beans::Optional< OUString > SAL_CALL getIdentifier() override;
+ virtual OUString SAL_CALL getVersion() override;
+ virtual OUString SAL_CALL getURL() override;
+ virtual OUString SAL_CALL getDisplayName() override;
+ virtual OUString SAL_CALL getDescription() override;
+ virtual OUString SAL_CALL getLicenseText() override;
virtual css::uno::Sequence< OUString > SAL_CALL
- getUpdateInformationURLs()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual css::beans::StringPair SAL_CALL getPublisherInfo()
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
+ getUpdateInformationURLs() override;
+ virtual css::beans::StringPair SAL_CALL getPublisherInfo() override;
virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL
- getIcon( sal_Bool bHighContrast )
- throw (css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
+ getIcon( sal_Bool bHighContrast ) override;
virtual css::uno::Reference<css::deployment::XPackageTypeInfo> SAL_CALL
- getPackageType() throw (css::uno::RuntimeException, std::exception) override;
+ getPackageType() override;
virtual void SAL_CALL exportTo(
OUString const & destFolderURL,
OUString const & newTitle,
sal_Int32 nameClashAction,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::ExtensionRemovedException,
- css::ucb::CommandFailedException, css::ucb::CommandAbortedException,
- css::ucb::ContentCreationException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getRepositoryName()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Optional< OUString > SAL_CALL getRegistrationDataURL()
- throw (css::deployment::DeploymentException,
- css::deployment::ExtensionRemovedException,
- css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isRemoved()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
+ virtual OUString SAL_CALL getRepositoryName() override;
+ virtual css::beans::Optional< OUString > SAL_CALL getRegistrationDataURL() override;
+ virtual sal_Bool SAL_CALL isRemoved() override;
};
@@ -344,18 +278,13 @@ public:
const OUString& getContext() const {return m_context; }
// XEventListener
- virtual void SAL_CALL disposing( css::lang::EventObject const & evt )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( css::lang::EventObject const & evt ) override;
// XPackageRegistry
virtual css::uno::Reference<css::deployment::XPackage> SAL_CALL bindPackage(
OUString const & url, OUString const & mediaType,
sal_Bool bRemoved, OUString const & identifier,
- css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv )
- throw (css::deployment::DeploymentException,
- css::deployment::InvalidRemovedParameterException,
- css::ucb::CommandFailedException,
- css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) override;
// virtual void SAL_CALL packageRemoved(
// OUString const & url, OUString const & mediaType)