summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/ChartItemPool.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/ChartItemPool.hxx')
-rw-r--r--chart2/source/view/main/ChartItemPool.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/view/main/ChartItemPool.hxx b/chart2/source/view/main/ChartItemPool.hxx
index b424ed89e8e4..43f461a6aade 100644
--- a/chart2/source/view/main/ChartItemPool.hxx
+++ b/chart2/source/view/main/ChartItemPool.hxx
@@ -29,7 +29,6 @@ class ChartItemPool : public SfxItemPool
private:
std::unique_ptr<SfxItemInfo[]> pItemInfos;
-public:
ChartItemPool();
ChartItemPool(const ChartItemPool& rPool);
@@ -40,8 +39,8 @@ public:
virtual SfxItemPool* Clone() const override;
MapUnit GetMetric(sal_uInt16 nWhich) const override;
- /// creates a pure chart item pool
- static SfxItemPool* CreateChartItemPool();
+ /// get the pure chart item pool
+ static SfxItemPool& GetGlobalChartItemPool();
};
} // namespace chart