summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-15 08:06:00 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-15 08:06:00 +0200
commit2cd7cbd9e36683d7429489dc0e4fea626a4cdb47 (patch)
treecf7e36b7e91ee21222488f7953d4642f2be58a4a /chart2/source/view
parentfd37d0757685dfd5a19ebd262c10e5353b8f891a (diff)
no matching function for call to 'scale(const float&, const float&, int)'
Change-Id: Ia748133cb3bda9d81db8850b7c76ad1a43a5c42e
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 8ceb3d944f4f..d570c723b324 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;