mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 01:04:34 +08:00
Fix bug 49893
This commit is contained in:
@ -632,8 +632,8 @@ private:
|
||||
{
|
||||
std::wstring sText = m_oLightReader.GetText();
|
||||
size_t find = sText.find_first_not_of(L" \n\t\r");
|
||||
if(find == std::wstring::npos)
|
||||
return;
|
||||
if (find == std::wstring::npos)
|
||||
sText = L" ";
|
||||
else if(!(find == 1 && sText.front() == L' '))
|
||||
sText.erase(0, find);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user