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

coverity#1222241 Uncaught exception

Change-Id: Ibaf3a5305082b60fadb8a2499712dc4a460cb449
üst 1e3eca93
......@@ -39,7 +39,7 @@ class SfxItemPool;
* Deprecated: This will be replaced with a function returning XShape.
*/
SVX_DLLPUBLIC SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, sal_uInt32 nInventor, OUString const & referer)
throw (css::uno::RuntimeException);
throw (css::uno::RuntimeException, std::exception);
/** Returns a StarOffice API wrapper for the given SdrObject */
SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) throw ();
......
......@@ -885,7 +885,7 @@ uno::Sequence< OUString > SAL_CALL SvxDrawPage::getSupportedServiceNames() throw
}
SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, sal_uInt32 nInventor, OUString const & referer)
throw (css::uno::RuntimeException)
throw (css::uno::RuntimeException, std::exception)
{
return SvxDrawPage::CreateShapeByTypeAndInventor( nType, nInventor, 0, 0, referer );
}
......
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