diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-17 16:15:51 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-20 06:34:23 +0000 |
commit | 7410217b7d84a3e4dfd35529384f190cf2962024 (patch) | |
tree | c8d0319064b2d4eba13e0b1768ce4973d51a2b0d /chart2/source/model | |
parent | 9f4f237a3834e5d58a87296424db5428f68d1550 (diff) |
loplugin:unusedmethods chart2
Change-Id: Ib7e8824e9e7f912963fbf07111ee3aa97773ceca
Reviewed-on: https://gerrit.libreoffice.org/17167
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/model')
23 files changed, 0 insertions, 173 deletions
diff --git a/chart2/source/model/inc/CartesianCoordinateSystem.hxx b/chart2/source/model/inc/CartesianCoordinateSystem.hxx index f73f1b5158bf..c06d192278dc 100644 --- a/chart2/source/model/inc/CartesianCoordinateSystem.hxx +++ b/chart2/source/model/inc/CartesianCoordinateSystem.hxx @@ -66,12 +66,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~CartesianCoordinateSystem2d(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new CartesianCoordinateSystem2d( xContext )); - } // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -92,12 +86,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~CartesianCoordinateSystem3d(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new CartesianCoordinateSystem3d( xContext )); - } // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/inc/ChartTypeManager.hxx b/chart2/source/model/inc/ChartTypeManager.hxx index 4b89039f43e6..11468679fc32 100644 --- a/chart2/source/model/inc/ChartTypeManager.hxx +++ b/chart2/source/model/inc/ChartTypeManager.hxx @@ -60,13 +60,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new ChartTypeManager( xContext )); - } - protected: // ____ XMultiServiceFactory ____ virtual ::com::sun::star::uno::Reference< diff --git a/chart2/source/model/inc/DataSeries.hxx b/chart2/source/model/inc/DataSeries.hxx index 3c1d83071ef0..537e36c16bf0 100644 --- a/chart2/source/model/inc/DataSeries.hxx +++ b/chart2/source/model/inc/DataSeries.hxx @@ -72,12 +72,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~DataSeries(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new DataSeries( xContext )); - } /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/inc/Diagram.hxx b/chart2/source/model/inc/Diagram.hxx index 335e6f515462..6968994b166e 100644 --- a/chart2/source/model/inc/Diagram.hxx +++ b/chart2/source/model/inc/Diagram.hxx @@ -65,13 +65,6 @@ public: ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Diagram(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new Diagram( xContext )); - } - /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/inc/PolarCoordinateSystem.hxx b/chart2/source/model/inc/PolarCoordinateSystem.hxx index 285d4ae5a38f..6b8a06a55f71 100644 --- a/chart2/source/model/inc/PolarCoordinateSystem.hxx +++ b/chart2/source/model/inc/PolarCoordinateSystem.hxx @@ -66,12 +66,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~PolarCoordinateSystem2d(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new PolarCoordinateSystem2d( xContext )); - } // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -92,12 +86,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~PolarCoordinateSystem3d(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new PolarCoordinateSystem3d( xContext )); - } // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx index 0c762dad3f64..b7712540d53f 100644 --- a/chart2/source/model/inc/XMLFilter.hxx +++ b/chart2/source/model/inc/XMLFilter.hxx @@ -62,12 +62,6 @@ public: ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~XMLFilter(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new XMLFilter( xContext )); - } /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -102,7 +96,6 @@ protected: throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - inline OUString getDocumentHandler() const { return m_sDocumentHandler; } inline void setDocumentHandler(const OUString& _sDocumentHandler) { m_sDocumentHandler = _sDocumentHandler; } virtual OUString getMediaType(bool _bOasis); @@ -181,12 +174,6 @@ public: ::com::sun::star::uno::XComponentContext > const & _xContext ) :XMLFilter(_xContext) {} - /// establish methods for factory instatiation - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL create( - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext) throw(::com::sun::star::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new XMLReportFilterHelper( xContext )); - } static OUString getImplementationName_Static() { return OUString( "com.sun.star.comp.chart2.report.XMLFilter" ); diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx index f61e5dee3712..26a8cf71e605 100644 --- a/chart2/source/model/main/Axis.hxx +++ b/chart2/source/model/main/Axis.hxx @@ -58,12 +58,6 @@ public: ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Axis(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new Axis( xContext )); - } /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx index a9113df9980f..bfa48c0a2d09 100644 --- a/chart2/source/model/main/FormattedString.hxx +++ b/chart2/source/model/main/FormattedString.hxx @@ -63,12 +63,6 @@ public: static OUString getImplementationName_Static(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new FormattedString( xContext )); - } /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx index 677bf3cd76d5..d60e1a07040e 100644 --- a/chart2/source/model/main/GridProperties.hxx +++ b/chart2/source/model/main/GridProperties.hxx @@ -56,13 +56,6 @@ public: explicit GridProperties(); virtual ~GridProperties(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new GridProperties( xContext )); - } - /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index b0f362e6bb3e..3f9e40941d41 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -55,13 +55,6 @@ public: ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Legend(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new Legend( xContext )); - } - /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx index bbe342eb983e..4ead493a92f2 100644 --- a/chart2/source/model/main/PageBackground.hxx +++ b/chart2/source/model/main/PageBackground.hxx @@ -52,13 +52,6 @@ public: ::com::sun::star::uno::XComponentContext > & xContext ); virtual ~PageBackground(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new PageBackground( xContext )); - } - /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx index b9e4fb0b069b..10ae4fbd5e0c 100644 --- a/chart2/source/model/main/Title.hxx +++ b/chart2/source/model/main/Title.hxx @@ -53,13 +53,6 @@ public: ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~Title(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new Title( xContext )); - } - /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/chart2/source/model/template/AreaChartType.hxx b/chart2/source/model/template/AreaChartType.hxx index 933c7d738f84..67fd286a9a82 100644 --- a/chart2/source/model/template/AreaChartType.hxx +++ b/chart2/source/model/template/AreaChartType.hxx @@ -45,13 +45,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new AreaChartType( xContext )); - } - protected: explicit AreaChartType( const AreaChartType & rOther ); diff --git a/chart2/source/model/template/BarChartType.hxx b/chart2/source/model/template/BarChartType.hxx index 15ac210f428f..9282df5e1d32 100644 --- a/chart2/source/model/template/BarChartType.hxx +++ b/chart2/source/model/template/BarChartType.hxx @@ -45,13 +45,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new BarChartType( xContext )); - } - protected: explicit BarChartType( const BarChartType & rOther ); diff --git a/chart2/source/model/template/BubbleChartType.hxx b/chart2/source/model/template/BubbleChartType.hxx index e59799c7e3d1..4d331573c728 100644 --- a/chart2/source/model/template/BubbleChartType.hxx +++ b/chart2/source/model/template/BubbleChartType.hxx @@ -46,13 +46,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new BubbleChartType( xContext )); - } - protected: explicit BubbleChartType( const BubbleChartType & rOther ); diff --git a/chart2/source/model/template/CandleStickChartType.hxx b/chart2/source/model/template/CandleStickChartType.hxx index c1287e21508f..41e27def6206 100644 --- a/chart2/source/model/template/CandleStickChartType.hxx +++ b/chart2/source/model/template/CandleStickChartType.hxx @@ -45,13 +45,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new CandleStickChartType( xContext )); - } - protected: explicit CandleStickChartType( const CandleStickChartType & rOther ); diff --git a/chart2/source/model/template/ColumnChartType.hxx b/chart2/source/model/template/ColumnChartType.hxx index 3725b8f23bd2..a6d87f925afd 100644 --- a/chart2/source/model/template/ColumnChartType.hxx +++ b/chart2/source/model/template/ColumnChartType.hxx @@ -45,13 +45,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new ColumnChartType( xContext )); - } - protected: explicit ColumnChartType( const ColumnChartType & rOther ); diff --git a/chart2/source/model/template/FilledNetChartType.hxx b/chart2/source/model/template/FilledNetChartType.hxx index 03ce04877608..1227771772b2 100644 --- a/chart2/source/model/template/FilledNetChartType.hxx +++ b/chart2/source/model/template/FilledNetChartType.hxx @@ -44,13 +44,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new FilledNetChartType( xContext )); - } - protected: explicit FilledNetChartType( const FilledNetChartType & rOther ); diff --git a/chart2/source/model/template/GL3DBarChartType.hxx b/chart2/source/model/template/GL3DBarChartType.hxx index c1f1e426030b..432bb4b11d20 100644 --- a/chart2/source/model/template/GL3DBarChartType.hxx +++ b/chart2/source/model/template/GL3DBarChartType.hxx @@ -40,12 +40,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new GL3DBarChartType( xContext )); - } - protected: GL3DBarChartType( const GL3DBarChartType& rOther ); diff --git a/chart2/source/model/template/LineChartType.hxx b/chart2/source/model/template/LineChartType.hxx index 7a9a147300fc..2db8e90f7f82 100644 --- a/chart2/source/model/template/LineChartType.hxx +++ b/chart2/source/model/template/LineChartType.hxx @@ -46,13 +46,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new LineChartType( xContext )); - } - protected: explicit LineChartType( const LineChartType & rOther ); diff --git a/chart2/source/model/template/NetChartType.hxx b/chart2/source/model/template/NetChartType.hxx index 27763a809918..09d2943d8415 100644 --- a/chart2/source/model/template/NetChartType.hxx +++ b/chart2/source/model/template/NetChartType.hxx @@ -72,13 +72,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new NetChartType( xContext )); - } - protected: explicit NetChartType( const NetChartType & rOther ); diff --git a/chart2/source/model/template/PieChartType.hxx b/chart2/source/model/template/PieChartType.hxx index fb842ba254ee..d21369d00f5f 100644 --- a/chart2/source/model/template/PieChartType.hxx +++ b/chart2/source/model/template/PieChartType.hxx @@ -46,13 +46,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new PieChartType( xContext )); - } - protected: explicit PieChartType( const PieChartType & rOther ); diff --git a/chart2/source/model/template/ScatterChartType.hxx b/chart2/source/model/template/ScatterChartType.hxx index 56cdd780c167..f1b8e21bb631 100644 --- a/chart2/source/model/template/ScatterChartType.hxx +++ b/chart2/source/model/template/ScatterChartType.hxx @@ -50,13 +50,6 @@ public: static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(); - /// establish methods for factory instatiation - static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext) - throw(css::uno::Exception) - { - return static_cast<cppu::OWeakObject *>(new ScatterChartType( xContext )); - } - protected: explicit ScatterChartType( const ScatterChartType & rOther ); |