MAINT-7488 FIXED [Windows] Viewer crashes when pasting empty string from clipboard
parent
de41e434d1
commit
eeddfe3a25
|
|
@ -1330,6 +1330,10 @@ void LLStringUtilBase<T>::removeCRLF(string_type& string)
|
|||
template<class T>
|
||||
void LLStringUtilBase<T>::removeWindowsCR(string_type& string)
|
||||
{
|
||||
if (string.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
const T LF = 10;
|
||||
const T CR = 13;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue