diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-03 18:06:46 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 00:34:25 +0100 |
commit | 3c15118fa38aaec13125ff82f9cfeabfdd57fd21 (patch) | |
tree | 6308526095b08d1f7108c4b8eeb47064ea25dc85 /src/corelib/tools/qlocale_tools_p.h | |
parent | ed7458a8a66416c106ad33871a288091058d01ea (diff) |
QLocalePrivate: merge removeGroupSeparators into numberToCLocale
This version will parse the string only once and will not do any
memmove. This is more efficient.
Change-Id: I59026ad0fa61cc3f16146bdcd622fc54cbd8a321
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/corelib/tools/qlocale_tools_p.h')
-rw-r--r-- | src/corelib/tools/qlocale_tools_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/tools/qlocale_tools_p.h b/src/corelib/tools/qlocale_tools_p.h index ee66b27eb8..41183560b9 100644 --- a/src/corelib/tools/qlocale_tools_p.h +++ b/src/corelib/tools/qlocale_tools_p.h @@ -104,9 +104,6 @@ inline bool isZero(double d) } } -// Removes thousand-group separators in "C" locale. -bool removeGroupSeparators(QLocaleData::CharBuff *num); - Q_CORE_EXPORT char *qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **digits_str); Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok); |