diff options
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/ExplicitCategoriesProvider.hxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/chartview/DrawModelWrapper.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx index 60de98f6a00a..54763be4e8a2 100644 --- a/chart2/source/inc/ExplicitCategoriesProvider.hxx +++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx @@ -59,7 +59,7 @@ public: css::uno::Reference< css::chart2::data::XDataSequence > getOriginalCategories(); - css::uno::Sequence< OUString > getSimpleCategories(); + css::uno::Sequence< OUString > const & getSimpleCategories(); const std::vector<ComplexCategory>* getCategoriesByLevel( sal_Int32 nLevel ); static OUString getCategoryByIndex( diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx index 20cbcae441c3..91ac42c19734 100644 --- a/chart2/source/inc/chartview/DrawModelWrapper.hxx +++ b/chart2/source/inc/chartview/DrawModelWrapper.hxx @@ -51,11 +51,11 @@ public: css::uno::Reference< css::lang::XMultiServiceFactory > getShapeFactory(); // the main page will contain the normal view objects - css::uno::Reference< css::drawing::XDrawPage > getMainDrawPage(); + css::uno::Reference< css::drawing::XDrawPage > const & getMainDrawPage(); SAL_DLLPRIVATE void clearMainDrawPage(); // the extra page is not visible, but contains some extras like the symbols for data points - css::uno::Reference< css::drawing::XDrawPage > getHiddenDrawPage(); + css::uno::Reference< css::drawing::XDrawPage > const & getHiddenDrawPage(); static css::uno::Reference< css::drawing::XShapes > getChartRootShape( const css::uno::Reference< css::drawing::XDrawPage>& xPage ); |