From b32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Jul 2017 12:52:01 +0200 Subject: loplugin:checkunusedparams more part1 seems I got one of the checks wrong, and was missing a bunch of stuff Change-Id: I2c662fc4e735f8d6cbe56c6f82906a60a580331b Reviewed-on: https://gerrit.libreoffice.org/40481 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/inc/bluthsndapi.hxx | 2 +- sfx2/source/dialog/bluthsnd.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sfx2') diff --git a/sfx2/inc/bluthsndapi.hxx b/sfx2/inc/bluthsndapi.hxx index 38843be80939..8f6c27e83831 100644 --- a/sfx2/inc/bluthsndapi.hxx +++ b/sfx2/inc/bluthsndapi.hxx @@ -23,7 +23,7 @@ class SFX2_DLLPUBLIC SfxBluetoothModel:public SfxMailModel { public: SendMailResult SaveAndSend( const css::uno::Reference< css::frame::XFrame >& xFrame ); - SendMailResult Send( const css::uno::Reference< css::frame::XFrame >& xFrame ); + SendMailResult Send(); }; #endif diff --git a/sfx2/source/dialog/bluthsnd.cxx b/sfx2/source/dialog/bluthsnd.cxx index af81e39636c4..9150b411e522 100644 --- a/sfx2/source/dialog/bluthsnd.cxx +++ b/sfx2/source/dialog/bluthsnd.cxx @@ -26,7 +26,7 @@ SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend( const css::uno if( eSaveResult == SAVE_SUCCESSFULL ) { maAttachedDocuments.push_back( aFileName ); - return Send( xFrame ); + return Send(); } else if( eSaveResult == SAVE_CANCELLED ) eResult = SEND_MAIL_CANCELLED; @@ -34,7 +34,7 @@ SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend( const css::uno return eResult; } -SfxBluetoothModel::SendMailResult SfxBluetoothModel::Send( const css::uno::Reference< css::frame::XFrame >& /*xFrame*/ ) +SfxBluetoothModel::SendMailResult SfxBluetoothModel::Send() { #ifndef LINUX (void) this; // avoid loplugin:staticmethods -- cgit