sfx2/source/dialog/mailmodel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 24b2c5e44875585511f35438aba12647ccdc45fb Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Feb 12 16:37:08 2014 +0100 Don't include filename extension in e-mail subject ...as suggested to me by a user. Change-Id: Iaad83e761884b7b43cf92ebb10cf553df1b97cd0 diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index 0efcebc..1b51bd5 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()) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits