summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-21 04:48:48 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-21 04:48:48 +0200
commitb6e49ad5ddd68d71c9f872d565881023dae526a9 (patch)
treecf06752bafedebb8f45c005debbbbaddd11b5045 /chart2
parentfb06300b73b6b9d3794a5c60ecffa7802d821fce (diff)
avoid truncation double to float warning
Change-Id: I7f5c5f025954120c06fcce2c14915a8138843374
Diffstat (limited to 'chart2')
-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 d61162a9c09a..d4568bdb386c 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -439,7 +439,7 @@ void GL3DBarChart::mouseDragMove(const Point& rStartPos, const Point& rEndPos, s
glm::vec3 GL3DBarChart::getCornerPosition(sal_Int8 nId)
{
- float pi = 3.1415926;
+ float pi = 3.1415926f;
switch(nId)
{
case 0: