chart2/source/view/charttypes/GL3DBarChart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2cd7cbd9e36683d7429489dc0e4fea626a4cdb47 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Thu May 15 08:06:00 2014 +0200 no matching function for call to 'scale(const float&, const float&, int)' Change-Id: Ia748133cb3bda9d81db8850b7c76ad1a43a5c42e diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 8ceb3d9..d570c72 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -100,7 +100,7 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vector<VDataSeries>& rDataSer float nXPos = nIndex * (nBarSizeX + nBarDistanceX); - glm::mat4 aScaleMatrix = glm::scale(nBarSizeX, nBarSizeY, 0); + glm::mat4 aScaleMatrix = glm::scale(nBarSizeX, nBarSizeY, static_cast<float>(0)); glm::mat4 aTranslationMatrix = glm::translate(nXPos, nYPos, nVal); glm::mat4 aBarPosition = aTranslationMatrix * aScaleMatrix; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits