diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-08 16:13:42 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-08 16:15:26 -0400 |
commit | a4e028447e6f06e4d6660dbe95e15dca8cb5cbf2 (patch) | |
tree | 462a93c1199e5197f131c4bdb12c1cafc6a0b88b | |
parent | 74335267c235bb4eb8e015d271983dbc9f3ada24 (diff) |
Try without std::back_inserter. Some tinderboxes don't like that.
Change-Id: I37b5da446abe123d0e0526b5556014df606e6156
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 4bf460e233a1..e65f07e787c0 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -125,8 +125,13 @@ void GL3DBarChart::create3DShapes() p->setPosition(aTopLeft, aTopRight, aBottomRight); } - // Transfer all Y-axis text objects to the shape collection. - std::copy(aYAxisTexts.begin(), aYAxisTexts.end(), std::back_inserter(maShapes)); + { + // Transfer all Y-axis text objects to the shape collection. + std::vector<opengl3D::Text*>::iterator itText = aYAxisTexts.begin(), itTextEnd = aYAxisTexts.end(); + for (; itText != itTextEnd; ++itText) + maShapes.push_back(*itText); + } + aYAxisTexts.clear(); } |