diff options
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); |