| Index: fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
|
| diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
|
| index f9bf1705546281d54288bce44407398469883306..aaeb4d6c3f03cb3c908c93f2b814e61a82d87eb2 100644
|
| --- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
|
| +++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
|
| @@ -1048,11 +1048,10 @@ FX_BOOL CPDFXFA_Document::_MailToInfo(CFX_WideString& csURL,
|
| pos = srcURL.Find(L'@', 0);
|
| if (pos == -1)
|
| return FALSE;
|
| - else {
|
| - tmp = srcURL.Right(csURL.GetLength() - 7);
|
| - tmp.TrimLeft();
|
| - tmp.TrimRight();
|
| - }
|
| +
|
| + tmp = srcURL.Right(csURL.GetLength() - 7);
|
| + tmp.TrimLeft();
|
| + tmp.TrimRight();
|
| } else {
|
| tmp = srcURL.Left(pos);
|
| tmp = tmp.Right(tmp.GetLength() - 7);
|
|
|