Remove unnecessary call to clear() in Replace()
There doesn't seem to be any need to clear the string in WXREGEX_CONVERT_TO_MB case.
This commit is contained in:
parent
838b693b46
commit
d83368664c
1 changed files with 0 additions and 1 deletions
|
|
@ -728,7 +728,6 @@ int wxRegExImpl::Replace(wxString *text,
|
|||
const wxScopedCharBuffer textbuf = text->utf8_str();
|
||||
const char* const textstr = textbuf.data();
|
||||
size_t textlen = textbuf.length();
|
||||
text->clear();
|
||||
#endif
|
||||
|
||||
// the replacement text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue