summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/bluthsnd.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 13:03:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-08 08:29:03 +0200
commit185ed3ddb8c01ee4465ce559e37113824f57b5c7 (patch)
tree596455ca4b9dc85666efbf06a1e1e0a3eec3ee2d /sfx2/source/dialog/bluthsnd.cxx
parentd33e262a244f351febc9dbe605b05f76cb834eeb (diff)
teach loplugin:constantparam about simple constructor calls
Change-Id: I7d2a28ab5951fbdb5a427c84e9ac4c1e32ecf9f9 Reviewed-on: https://gerrit.libreoffice.org/37280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/bluthsnd.cxx')
-rw-r--r--sfx2/source/dialog/bluthsnd.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/dialog/bluthsnd.cxx b/sfx2/source/dialog/bluthsnd.cxx
index 6b7ef54b8411..cd39387b1376 100644
--- a/sfx2/source/dialog/bluthsnd.cxx
+++ b/sfx2/source/dialog/bluthsnd.cxx
@@ -17,14 +17,13 @@
#include "bluthsndapi.hxx"
-SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend( const css::uno::Reference< css::frame::XFrame >& xFrame,
- const OUString& rType )
+SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend( const css::uno::Reference< css::frame::XFrame >& xFrame )
{
SaveResult eSaveResult;
SendMailResult eResult = SEND_MAIL_ERROR;
OUString aFileName;
- eSaveResult = SaveDocumentAsFormat( OUString(), xFrame, rType, aFileName );
+ eSaveResult = SaveDocumentAsFormat( OUString(), xFrame, OUString(), aFileName );
if( eSaveResult == SAVE_SUCCESSFULL )
{
maAttachedDocuments.push_back( aFileName );