diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index 6cc13bc0e34b..39b57c34a938 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -179,6 +179,7 @@ uno::Reference< XDiagram > SAL_CALL ChartTypeTemplate::createDiagramByDataSource } sal_Bool SAL_CALL ChartTypeTemplate::supportsCategories() + throw (::css::uno::RuntimeException, ::std::exception) { return sal_True; } diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 5f551b09e088..43a26b0357a1 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -92,7 +92,8 @@ protected: const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArguments ) throw (::com::sun::star::uno::RuntimeException, std::exception); /// denotes if the chart needs categories at the first scale - virtual sal_Bool SAL_CALL supportsCategories(); + virtual sal_Bool SAL_CALL supportsCategories() + throw (::css::uno::RuntimeException, ::std::exception); virtual void SAL_CALL changeDiagram( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram >& xDiagram ) diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx index c551111e8dd2..da5b8c1b57a7 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx @@ -49,8 +49,8 @@ uno::Reference GL3DBarChartTypeTemplate::getChartTypeForInde } uno::Reference -GL3DBarChartTypeTemplate::getChartTypeForNewSeries( - const uno::Sequence >& xOldChartTypes ) +GL3DBarChartTypeTemplate::getChartTypeForNewSeries( const uno::Sequence >& xOldChartTypes ) + throw (::css::uno::RuntimeException, ::std::exception) { uno::Reference xResult; @@ -77,6 +77,7 @@ GL3DBarChartTypeTemplate::getChartTypeForNewSeries( } sal_Bool GL3DBarChartTypeTemplate::supportsCategories() + throw (::css::uno::RuntimeException, ::std::exception) { return false; } diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx index 56aa2208f3cb..4f4a0ce2df99 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx @@ -34,10 +34,11 @@ public: // XChartTypeTemplate virtual css::uno::Reference SAL_CALL - getChartTypeForNewSeries( - const css::uno::Sequence >& xOldChartTypes ); + getChartTypeForNewSeries( const css::uno::Sequence >& xOldChartTypes ) + throw (::css::uno::RuntimeException, ::std::exception); - virtual sal_Bool SAL_CALL supportsCategories(); + virtual sal_Bool SAL_CALL supportsCategories() + throw (::css::uno::RuntimeException, ::std::exception); }; }