summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ChartTypeTemplate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/ChartTypeTemplate.cxx')
-rw-r--r--chart2/source/model/template/ChartTypeTemplate.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx
index b06e2ef0b457..f2deb8ac5dd7 100644
--- a/chart2/source/model/template/ChartTypeTemplate.cxx
+++ b/chart2/source/model/template/ChartTypeTemplate.cxx
@@ -140,7 +140,7 @@ ChartTypeTemplate::~ChartTypeTemplate()
uno::Reference< XDiagram > SAL_CALL ChartTypeTemplate::createDiagramByDataSource(
const uno::Reference< data::XDataSource >& xDataSource,
const uno::Sequence< beans::PropertyValue >& aArguments )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
Reference< XDiagram > xDia;
@@ -179,13 +179,13 @@ uno::Reference< XDiagram > SAL_CALL ChartTypeTemplate::createDiagramByDataSource
}
sal_Bool SAL_CALL ChartTypeTemplate::supportsCategories()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return sal_True;
}
void SAL_CALL ChartTypeTemplate::changeDiagram( const uno::Reference< XDiagram >& xDiagram )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
if( ! xDiagram.is())
return;
@@ -263,7 +263,7 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData(
const Reference< chart2::XDiagram >& xDiagram,
const Reference< chart2::data::XDataSource >& xDataSource,
const Sequence< beans::PropertyValue >& aArguments )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
if( ! (xDiagram.is() &&
xDataSource.is()) )
@@ -318,7 +318,7 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData(
sal_Bool SAL_CALL ChartTypeTemplate::matchesTemplate(
const Reference< chart2::XDiagram >& xDiagram,
sal_Bool /* bAdaptProperties */ )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
sal_Bool bResult = sal_False;
@@ -371,7 +371,7 @@ sal_Bool SAL_CALL ChartTypeTemplate::matchesTemplate(
}
Reference< chart2::XDataInterpreter > SAL_CALL ChartTypeTemplate::getDataInterpreter()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
if( ! m_xDataInterpreter.is())
m_xDataInterpreter.set( new DataInterpreter( GetComponentContext() ) );
@@ -384,7 +384,7 @@ void SAL_CALL ChartTypeTemplate::applyStyle(
::sal_Int32 nChartTypeIndex,
::sal_Int32 /* nSeriesIndex */,
::sal_Int32 /* nSeriesCount */ )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
// sset stacking mode
Reference< beans::XPropertySet > xSeriesProp( xSeries, uno::UNO_QUERY );
@@ -439,7 +439,7 @@ void SAL_CALL ChartTypeTemplate::applyStyles( const Reference< chart2::XDiagram
}
void SAL_CALL ChartTypeTemplate::resetStyles( const Reference< chart2::XDiagram >& xDiagram )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
// reset number format if we had percent stacking on
sal_Bool bPercent = (getStackMode(0) == StackMode_Y_STACKED_PERCENT);
@@ -520,7 +520,7 @@ void SAL_CALL ChartTypeTemplate::resetStyles( const Reference< chart2::XDiagram
// ____ XServiceName ____
OUString SAL_CALL ChartTypeTemplate::getServiceName()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return m_aServiceName;
}