Kaydet (Commit) 316a5574 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706501 Uncaught exception

Change-Id: Ic5d95b87428284113f543427b417453dd361b354
üst 3284daa3
......@@ -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(
......
......@@ -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()
......
......@@ -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();
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment