Kaydet (Commit) 49fb9186 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308530 Uncaught exception

Change-Id: I13616337401c23fb95f83accb9a635204339405e
üst 65c75a84
......@@ -224,7 +224,8 @@ namespace SwUnoCursorHelper
SfxItemPropertySimpleEntry const& rEntry,
::com::sun::star::uno::Any const& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, css::uno::DeploymentException);
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException,
css::uno::DeploymentException, std::exception);
/// try to get something that can be selected out of the XInterface
/// at most one of the out parameters gets assigned a non-null value
......
......@@ -474,7 +474,8 @@ bool
SwUnoCursorHelper::SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
throw (lang::IllegalArgumentException, uno::RuntimeException, uno::DeploymentException)
throw (lang::IllegalArgumentException, uno::RuntimeException,
uno::DeploymentException, std::exception)
{
if (!(rEntry.nFlags & beans::PropertyAttribute::MAYBEVOID) &&
(rValue.getValueType() == cppu::UnoType<void>::get()))
......
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