summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
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];
}