summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-29 18:01:35 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-29 18:10:09 +0100
commit692714b7da20f1545365724ebca5891727d96025 (patch)
treecb5a6102e817ecc2178d6764920b483a7539a8d1 /chart2
parent74c5452206bd729413beff4375f7249553fe6a60 (diff)
chart2: loplugin:saloverride
Change-Id: I795c8337f3d5fcf3e39849204867f0d57f40c843
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx12
-rw-r--r--chart2/source/model/template/GL3DBarChartTypeTemplate.hxx8
2 files changed, 11 insertions, 9 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx
index a4beaf53b326..20e366c5295f 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx
@@ -57,7 +57,8 @@ public:
virtual ~WrappedGL3DProperty() {}
virtual uno::Any getPropertyValue( const uno::Reference<beans::XPropertySet>& /*xInnerPS*/ ) const
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
+ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException) SAL_OVERRIDE
{
uno::Reference<chart2::XChartType> xCT = getChartType();
if (!xCT.is())
@@ -77,7 +78,7 @@ public:
const uno::Any& rOutValue, const uno::Reference<beans::XPropertySet>& /*xInnerPS*/ ) const
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException) SAL_OVERRIDE
{
uno::Reference<chart2::XChartType> xCT = getChartType();
if (!xCT.is())
@@ -92,7 +93,7 @@ public:
}
virtual void setPropertyToDefault( const uno::Reference<beans::XPropertyState>& /*xInnerPropState*/ ) const
- throw (beans::UnknownPropertyException, uno::RuntimeException)
+ throw (beans::UnknownPropertyException, uno::RuntimeException) SAL_OVERRIDE
{
uno::Reference<chart2::XChartType> xCT = getChartType();
if (!xCT.is())
@@ -107,13 +108,14 @@ public:
}
virtual uno::Any getPropertyDefault( const uno::Reference<beans::XPropertyState>& /*xInnerPS*/ ) const
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
+ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException) SAL_OVERRIDE
{
return maDefault;
}
virtual beans::PropertyState getPropertyState( const uno::Reference<beans::XPropertyState>& /*xInnerPS*/ ) const
- throw (beans::UnknownPropertyException, uno::RuntimeException)
+ throw (beans::UnknownPropertyException, uno::RuntimeException) SAL_OVERRIDE
{
return beans::PropertyState_DIRECT_VALUE;
}
diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx
index 1651dec16878..50a21d7a7dd7 100644
--- a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx
+++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx
@@ -41,7 +41,7 @@ public:
virtual sal_Bool SAL_CALL matchesTemplate(
const css::uno::Reference<css::chart2::XDiagram>& xDiagram,
sal_Bool bAdaptProperties )
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference<css::chart2::XChartType> SAL_CALL
getChartTypeForNewSeries( const css::uno::Sequence<css::uno::Reference<css::chart2::XChartType> >& xOldChartTypes )
@@ -52,14 +52,14 @@ public:
// OPropertySet
virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
- throw (css::beans::UnknownPropertyException);
+ throw (css::beans::UnknownPropertyException) SAL_OVERRIDE;
- virtual cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
+ virtual cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
// XPropertySet
virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL
getPropertySetInfo()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
}