summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-03-05 07:22:14 +0100
committerAndras Timar <andras.timar@collabora.com>2018-03-26 07:46:11 +0200
commit4660d5a39a939d0b90a4588beb0072dbb8a14a99 (patch)
tree725487bdcd84a42fedac3e29e2940bb1106304b4 /sfx2
parent7a8d28d0858df133688a8a3b0496432f6cd916c9 (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> (cherry picked from commit af269d967be348b813ea6d9e5e92a95886143622)
Diffstat (limited to 'sfx2')
-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 00fdcb0a2264..42dd693d3c0c 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];
}