[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Peter Kümmel
syntheticpp at yahoo.com
Sun Nov 15 19:34:12 CET 2009
SVN commit 1049735 by kuemmel:
fix formatting
M +5 -7 ascii.cpp
--- branches/work/kst/portto4/kst/src/datasources/ascii/ascii.cpp #1049734:1049735
@@ -412,17 +412,15 @@
struct SetScopedDot
{
- SetScopedDot() : orig((const char*) setlocale(LC_NUMERIC, 0))
- {
+ SetScopedDot() : orig((const char*) setlocale(LC_NUMERIC, 0)) {
setlocale(LC_NUMERIC, "C");
}
- ~SetScopedDot()
- {
- //printf("original LC_NUMERIC: %s\n", orig.constData());
- setlocale(LC_NUMERIC, orig.constData());
+ ~SetScopedDot() {
+ //printf("original LC_NUMERIC: %s\n", orig.constData());
+ setlocale(LC_NUMERIC, orig.constData());
}
-
+
QByteArray orig;
};
More information about the Kst
mailing list