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

cid#706934 Uncaught exception

Change-Id: I206711c97ad1078442e92ea67d491d5b8af6b008
üst 461092ae
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
uno::Reference< excel::XAxis > uno::Reference< excel::XAxis >
ScVbaAxes::createAxis( const uno::Reference< excel::XChart >& xChart, const uno::Reference< uno::XComponentContext >& xContext, sal_Int32 nType, sal_Int32 nAxisGroup ) throw ( uno::RuntimeException ) ScVbaAxes::createAxis( const uno::Reference< excel::XChart >& xChart, const uno::Reference< uno::XComponentContext >& xContext, sal_Int32 nType, sal_Int32 nAxisGroup ) throw ( uno::RuntimeException, script::BasicErrorException )
{ {
ScVbaChart* pChart = static_cast< ScVbaChart* >( xChart.get() ); ScVbaChart* pChart = static_cast< ScVbaChart* >( xChart.get() );
if ( !pChart ) if ( !pChart )
......
...@@ -37,7 +37,7 @@ public: ...@@ -37,7 +37,7 @@ public:
// XHelperInterface // XHelperInterface
virtual OUString getServiceImplName() SAL_OVERRIDE; virtual OUString getServiceImplName() SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE; virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
static css::uno::Reference< ov::excel::XAxis > createAxis( const css::uno::Reference< ov::excel::XChart >& xChart, const css::uno::Reference< css::uno::XComponentContext >& xContext, sal_Int32 nType, sal_Int32 nAxisGroup ) throw ( css::uno::RuntimeException ); static css::uno::Reference< ov::excel::XAxis > createAxis( const css::uno::Reference< ov::excel::XChart >& xChart, const css::uno::Reference< css::uno::XComponentContext >& xContext, sal_Int32 nType, sal_Int32 nAxisGroup ) throw ( css::uno::RuntimeException, css::script::BasicErrorException );
}; };
#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAAXES_HXX #endif // INCLUDED_SC_SOURCE_UI_VBA_VBAAXES_HXX
......
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