[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Fri Jun 20 19:54:02 PDT 2014


 chart2/source/view/charttypes/GL3DBarChart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b6e49ad5ddd68d71c9f872d565881023dae526a9
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Sat Jun 21 04:48:48 2014 +0200

    avoid truncation double to float warning
    
    Change-Id: I7f5c5f025954120c06fcce2c14915a8138843374

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index d61162a..d4568bd 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:


More information about the Libreoffice-commits mailing list