diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 07:26:27 +0100 |
commit | a2751c0795cdac9d78f8919aab319a418b6e0bbc (patch) | |
tree | 1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /chart2 | |
parent | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff) |
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755
Reviewed-on: https://gerrit.libreoffice.org/63434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/inc/ShapeFactory.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/inc/ShapeFactory.hxx b/chart2/source/view/inc/ShapeFactory.hxx index 521bf62985f9..70ca02217f6c 100644 --- a/chart2/source/view/inc/ShapeFactory.hxx +++ b/chart2/source/view/inc/ShapeFactory.hxx @@ -271,7 +271,7 @@ public: getOrCreateChartRootShape( const css::uno::Reference< css::drawing::XDrawPage>& xPage ); - void setPageSize(const css::uno::Reference<css::drawing::XShapes>& xChartShapes, + static void setPageSize(const css::uno::Reference<css::drawing::XShapes>& xChartShapes, const css::awt::Size& rSize); static css::uno::Reference< css::drawing::XShapes > diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 56a439d48e37..02ad8a90720c 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2508,7 +2508,7 @@ void ChartView::createShapes() { OSL_FAIL("could not set page size correctly"); } - pShapeFactory->setPageSize(mxRootShape, aPageSize); + ShapeFactory::setPageSize(mxRootShape, aPageSize); createShapes2D(aPageSize); |