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

coverity#706877 Uncaught exception

Change-Id: I7364afe103f9912b31bde7f4e84baf16633b05f8
üst fea4482e
......@@ -27,11 +27,11 @@
class ScPageObj : public SvxFmDrawPage
{
public:
ScPageObj( SdrPage* pPage );
virtual ~ScPageObj() throw();
ScPageObj(SdrPage* pPage);
virtual ~ScPageObj() throw();
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >
_CreateShape( SdrObject *pObj ) const throw(std::exception) SAL_OVERRIDE;
virtual css::uno::Reference<css::drawing::XShape> _CreateShape(SdrObject *pObj) const
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
......
......@@ -33,7 +33,8 @@ ScPageObj::~ScPageObj() throw()
{
}
uno::Reference<drawing::XShape > ScPageObj::_CreateShape( SdrObject *pObj ) const throw(std::exception)
uno::Reference<drawing::XShape > ScPageObj::_CreateShape( SdrObject *pObj ) const
throw (css::uno::RuntimeException, std::exception)
{
uno::Reference<drawing::XShape> xShape(SvxFmDrawPage::_CreateShape( pObj ));
......
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