diff options
4 files changed, 10 insertions, 9 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 1b3cd1e5c4dc..cdf0c1d28af4 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -562,12 +562,12 @@ Reference<deployment::XPackageTypeInfo> Package::getPackageType() return m_xPackageType; } - void Package::exportTo( OUString const & destFolderURL, OUString const & newTitle, sal_Int32 nameClashAction, Reference<XCommandEnvironment> const & xCmdEnv ) throw (deployment::ExtensionRemovedException, - CommandFailedException, CommandAbortedException, RuntimeException, std::exception) + CommandFailedException, CommandAbortedException, ContentCreationException, + RuntimeException, std::exception) { if (m_bRemoved) throw deployment::ExtensionRemovedException(); @@ -580,7 +580,6 @@ void Package::exportTo( throw RuntimeException( "UCB transferContent() failed!", 0 ); } - void Package::fireModified() { ::cppu::OInterfaceContainerHelper * container = rBHelper.getContainer( diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h index 24a55fdd1f16..c1e2df91f157 100644 --- a/desktop/source/deployment/registry/inc/dp_backend.h +++ b/desktop/source/deployment/registry/inc/dp_backend.h @@ -249,8 +249,8 @@ public: sal_Int32 nameClashAction, css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) throw (css::deployment::ExtensionRemovedException, - css::ucb::CommandFailedException, - css::ucb::CommandAbortedException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + css::ucb::CommandFailedException, css::ucb::CommandAbortedException, + css::ucb::ContentCreationException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getRepositoryName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::beans::Optional< OUString > SAL_CALL getRegistrationDataURL() diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index b8501b7c3d5b..c9646b4d231c 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -193,6 +193,7 @@ class BackendImpl : public ImplBaseT throw (deployment::ExtensionRemovedException, ucb::CommandFailedException, ucb::CommandAbortedException, + ucb::ContentCreationException, RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL checkPrerequisites( @@ -1030,9 +1031,9 @@ OUString BackendImpl::PackageImpl::getLicenseText() void BackendImpl::PackageImpl::exportTo( OUString const & destFolderURL, OUString const & newTitle, sal_Int32 nameClashAction, Reference<ucb::XCommandEnvironment> const & xCmdEnv ) - throw (ucb::CommandFailedException, - deployment::ExtensionRemovedException, - ucb::CommandAbortedException, RuntimeException, std::exception) + throw (deployment::ExtensionRemovedException, + ucb::CommandFailedException, ucb::CommandAbortedException, + ucb::ContentCreationException, RuntimeException, std::exception) { if (m_bRemoved) throw deployment::ExtensionRemovedException(); diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl index c44e12f8a0d3..557a730bc51c 100644 --- a/offapi/com/sun/star/deployment/XPackage.idl +++ b/offapi/com/sun/star/deployment/XPackage.idl @@ -315,7 +315,8 @@ interface XPackage raises ( ExtensionRemovedException, com::sun::star::ucb::CommandFailedException, - com::sun::star::ucb::CommandAbortedException); + com::sun::star::ucb::CommandAbortedException, + com::sun::star::ucb::ContentCreationException); /** returns an icon for a package. |