[Libreoffice-commits] core.git: chart2/source

Michael Stahl mstahl at redhat.com
Sat Mar 29 10:16:23 PDT 2014


 chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx |   12 +++++-----
 chart2/source/model/template/GL3DBarChartTypeTemplate.hxx          |    8 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

New commits:
commit 692714b7da20f1545365724ebca5891727d96025
Author: Michael Stahl <mstahl at redhat.com>
Date:   Sat Mar 29 18:01:35 2014 +0100

    chart2: loplugin:saloverride
    
    Change-Id: I795c8337f3d5fcf3e39849204867f0d57f40c843

diff --git a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx
index a4beaf5..20e366c 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 1651dec..50a21d7 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;
 };
 
 }


More information about the Libreoffice-commits mailing list