Kaydet (Commit) 77ff5162 authored tarafından Andras Timar's avatar Andras Timar

tdf#89852 on Windows do not decode the filename for email subject

... because MAPISendMail does not accept Unicode

Change-Id: Id48a41d1cf25d1a991b0f83fd5daa1a65896e958
üst 5f687598
......@@ -821,7 +821,11 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css:
OUString subject(
url.getBase(
INetURLObject::LAST_SEGMENT, false,
#ifdef WNT
INetURLObject::NO_DECODE)); // MAPISendMail does not accept Unicode
#else
INetURLObject::DECODE_WITH_CHARSET));
#endif
if (subject.isEmpty()) {
subject = maAttachedDocuments[0];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment