summaryrefslogtreecommitdiff
path: root/chart2/source/view/charttypes/BubbleChart.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/charttypes/BubbleChart.cxx')
-rw-r--r--chart2/source/view/charttypes/BubbleChart.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx
index 1a0123f0c094..ef2a75934dfb 100644
--- a/chart2/source/view/charttypes/BubbleChart.cxx
+++ b/chart2/source/view/charttypes/BubbleChart.cxx
@@ -136,6 +136,8 @@ drawing::Direction3D BubbleChart::getPreferredDiagramAspectRatio() const
return drawing::Direction3D(-1,-1,-1);
}
+namespace {
+
//better performance for big data
struct FormerPoint
{
@@ -154,6 +156,8 @@ struct FormerPoint
double m_fZ;
};
+}
+
void BubbleChart::createShapes()
{
if( m_aZSlots.empty() ) //no series