summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-03-05 07:22:14 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-03-05 15:15:00 +0100
commitaf269d967be348b813ea6d9e5e92a95886143622 (patch)
tree35dbc5540ae38b95db0e69f634aba020f5ddbc94 /sfx2/source
parent972a4a88cf1caec63cb3dcd3be610d1a840f50c9 (diff)
We now use Unicode with MAPISendMailW, so no need for this
Change-Id: I6f03b4212a3434cb5feae8da29107c5f411218e3 Reviewed-on: https://gerrit.libreoffice.org/50759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index aa712142cf6b..0bf38e6601dd 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -750,11 +750,7 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css:
OUString subject(
url.getBase(
INetURLObject::LAST_SEGMENT, false,
-#ifdef _WIN32
- INetURLObject::DecodeMechanism::NONE)); // MAPISendMail does not accept Unicode
-#else
INetURLObject::DecodeMechanism::WithCharset));
-#endif
if (subject.isEmpty()) {
subject = maAttachedDocuments[0];
}