diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-05 10:46:11 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-05 11:19:08 -0400 |
commit | 808350a697a79ebcc1708f18de407294576a793e (patch) | |
tree | 3f72502667b7fd8680f0da15d77c12c2390e1470 /framework/source/uielement | |
parent | 700d1cab988524b28c7ce773cf473f42d7741001 (diff) |
fdo#67099: Call Clear() before setting SetText() for the first time.
SetText itself internally clears the content, except that it doesn't clear
text attributes for some reason. Since Clear() is quite expensive even when
called with empty content, we need to call it only when necessary.
Change-Id: I25ca36c1c2f690b160511180892595daf43681b3
Diffstat (limited to 'framework/source/uielement')
0 files changed, 0 insertions, 0 deletions