diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-12 16:37:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-12 16:37:57 +0100 |
commit | 24b2c5e44875585511f35438aba12647ccdc45fb (patch) | |
tree | c99cd11cea7cdeef758a2b3a8313c4ffe34ee7b6 | |
parent | b2878af3223c438abeecc77d9976e56db31a5b49 (diff) |
Don't include filename extension in e-mail subject
...as suggested to me by a user.
Change-Id: Iaad83e761884b7b43cf92ebb10cf553df1b97cd0
-rw-r--r-- | sfx2/source/dialog/mailmodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index 0efcebc9fbbb..1b51bd5f2a41 100644 --- a/sfx2/source/dialog/mailmodel.cxx +++ b/sfx2/source/dialog/mailmodel.cxx @@ -852,7 +852,7 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css: INetURLObject url( maAttachedDocuments[0], INetURLObject::WAS_ENCODED); OUString subject( - url.getName( + url.getBase( INetURLObject::LAST_SEGMENT, false, INetURLObject::DECODE_WITH_CHARSET)); if (subject.isEmpty()) { |