Kaydet (Commit) d1054832 authored tarafından Noel Grandin's avatar Noel Grandin

cid#707296 and cid#738184 Uncaught exception

Change-Id: I59d1a0818bd896f0ac601c72e7f6cc89f95f043c
üst ba00f596
......@@ -223,7 +223,7 @@ namespace SwUnoCursorHelper
SfxItemPropertySimpleEntry const& rEntry,
::com::sun::star::uno::Any const& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
throw (::com::sun::star::lang::IllegalArgumentException);
throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, css::uno::DeploymentException);
/// 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
......
......@@ -479,7 +479,7 @@ bool
SwUnoCursorHelper::SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
throw (lang::IllegalArgumentException)
throw (lang::IllegalArgumentException, uno::RuntimeException, uno::DeploymentException)
{
if (!(rEntry.nFlags & beans::PropertyAttribute::MAYBEVOID) &&
(rValue.getValueType() == ::getCppuVoidType()))
......
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