summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:29:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:15:49 +0000
commita114895f1fd232d25e6bc8cf149878bf7106b3bb (patch)
treee72fa5cf0aaf7ea9efb8ba62323159736e2bc130 /svx/source/unodraw
parentabf49c259b88cb6537ab4b818df3cac5c62d23c2 (diff)
coverity#1338240 Uncaught exception
Change-Id: I3b1b1c9745cae1dd7a765769ea761973d0a60134
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/unoshap4.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 4f3bc05a5bf3..71e46ff5bab0 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -806,8 +806,7 @@ SvxMediaShape::~SvxMediaShape() throw()
}
-
-bool SvxMediaShape::setPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, const css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException)
+bool SvxMediaShape::setPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, const css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
if( ((pProperty->nWID >= OWN_ATTR_MEDIA_URL) && (pProperty->nWID <= OWN_ATTR_MEDIA_ZOOM))
|| (pProperty->nWID == OWN_ATTR_MEDIA_STREAM)