summaryrefslogtreecommitdiffstats
path: root/src/file-update.cpp
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-02-23 14:39:39 +0000
committerShlomi Fish <shlomif@shlomifish.org>2017-02-23 14:39:39 +0000
commitd82d8e6de61b5a3da73af7d7003b8281720c3dc1 (patch)
tree50a151920b32f95afd0fa0c04f175322657ebb18 /src/file-update.cpp
parentMerged. (diff)
parentDisplay style attribute properties when object row selected. Allow their dele... (diff)
downloadinkscape-d82d8e6de61b5a3da73af7d7003b8281720c3dc1.tar.gz
inkscape-d82d8e6de61b5a3da73af7d7003b8281720c3dc1.zip
Merged.
(bzr r15369.1.19)
Diffstat (limited to 'src/file-update.cpp')
-rw-r--r--src/file-update.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file-update.cpp b/src/file-update.cpp
index 40a8bc834..2275ab1c3 100644
--- a/src/file-update.cpp
+++ b/src/file-update.cpp
@@ -19,6 +19,7 @@
#include "style.h"
#include "document.h"
#include <string>
+#include <clocale>
#include "text-editing.h"
using namespace std;
@@ -149,10 +150,12 @@ void fix_update(SPObject *o) {
void sp_file_convert_text_baseline_spacing(SPDocument *doc)
{
+ setlocale(LC_NUMERIC,"C");
sp_file_text_run_recursive(fix_blank_line, doc->getRoot());
sp_file_text_run_recursive(fix_line_spacing, doc->getRoot());
sp_file_text_run_recursive(fix_font_size, doc->getRoot());
sp_file_text_run_recursive(fix_update, doc->getRoot());
+ setlocale(LC_NUMERIC,"");
}
void sp_file_convert_font_name(SPDocument *doc)