[Libreoffice-commits] libvisio.git: src/lib

Fridrich Å trba fridrich.strba at bluewin.ch
Mon Dec 16 05:21:45 PST 2013


 src/lib/VSDXMLHelper.cpp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 105a2594b2f882b6a60e16311c9b172452fd70d4
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Dec 16 14:21:24 2013 +0100

    Force C locale for the lexical cast conversions
    
    Change-Id: Ice5a8e733129970d64fd209d01907b747fc3b62d

diff --git a/src/lib/VSDXMLHelper.cpp b/src/lib/VSDXMLHelper.cpp
index bef794d..1a9fae0 100644
--- a/src/lib/VSDXMLHelper.cpp
+++ b/src/lib/VSDXMLHelper.cpp
@@ -27,9 +27,10 @@
  * instead of those above.
  */
 
-#include <string.h>
-#include <errno.h>
-#include <limits.h>
+#ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
+#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE 1
+#endif
+
 #include <sstream>
 #include <istream>
 #include <vector>


More information about the Libreoffice-commits mailing list