summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mailmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index 38a9b1f394d0..d66f25849345 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -780,7 +780,7 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css:
if ( xSimpleMailMessage->getSubject().isEmpty() ) {
INetURLObject url(
- maAttachedDocuments[0], INetURLObject::WAS_ENCODED);
+ maAttachedDocuments[0], INetURLObject::EncodeMechanism::WasEncoded);
OUString subject(
url.getBase(
INetURLObject::LAST_SEGMENT, false,