diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-15 07:24:43 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-15 07:31:38 +0200 |
commit | 9c3420d18173fd6c9380cf8ff7e2a4ad886e9e0b (patch) | |
tree | ff37c0623e3f828a18223f4544722fd060ce225b /eventattacher | |
parent | 35fdbea1a112c0f0bf8ea6e9003cf0e13b9cd886 (diff) |
svtools FormattedField: don't reparse value from text after ReFormat
If our format is lossy / not a bijection
(as is e.g. our default date format, because of 2-digit year),
then reparsing the string that came from the format
leads to data loss (the value is changed to something else).
The existing code tried to do that, by calling Modify()
and then setting m_bValueDirty to false.
However, this fails because listeners are called
while m_bValueDirty is true. If any of them calls
e.g. GetValue(), the reparse happens.
Change-Id: I272f377927f83c71ede1eb80eafbc689f36fb17a
Diffstat (limited to 'eventattacher')
0 files changed, 0 insertions, 0 deletions