diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-03 15:06:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 08:53:47 +0200 |
commit | 93a9b70c7fe4d68f8d41edb25bc00bcac4439667 (patch) | |
tree | 4ed9020aecb400df3b6805e163a360b5c8bee888 /reportdesign | |
parent | loplugin:checkunusedparams in svx(part4) (diff) | |
download | core-93a9b70c7fe4d68f8d41edb25bc00bcac4439667.tar.gz core-93a9b70c7fe4d68f8d41edb25bc00bcac4439667.zip |
loplugin:checkunusedparams in svtools
Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7
Reviewed-on: https://gerrit.libreoffice.org/37201
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/dlg/GroupExchange.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/dlgedclip.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/GroupExchange.cxx b/reportdesign/source/ui/dlg/GroupExchange.cxx index 8ebf62f1f20c..980f8f26d077 100644 --- a/reportdesign/source/ui/dlg/GroupExchange.cxx +++ b/reportdesign/source/ui/dlg/GroupExchange.cxx @@ -54,7 +54,7 @@ namespace rptui SotClipboardFormatId nFormat = SotExchange::GetFormat(rFlavor); if(nFormat == OGroupExchange::getReportGroupId() ) { - return SetAny(uno::makeAny(m_aGroupRow),rFlavor); + return SetAny(uno::makeAny(m_aGroupRow)); } return false; } diff --git a/reportdesign/source/ui/report/dlgedclip.cxx b/reportdesign/source/ui/report/dlgedclip.cxx index bd448f8e92e5..fabbef658eac 100644 --- a/reportdesign/source/ui/report/dlgedclip.cxx +++ b/reportdesign/source/ui/report/dlgedclip.cxx @@ -57,7 +57,7 @@ void OReportExchange::AddSupportedFormats() bool OReportExchange::GetData( const datatransfer::DataFlavor& _rFlavor, const OUString& /*rDestDoc*/ ) { const SotClipboardFormatId nFormatId = SotExchange::GetFormat(_rFlavor); - return (nFormatId == getDescriptorFormatId()) && SetAny( uno::Any(m_aCopyElements), _rFlavor ); + return (nFormatId == getDescriptorFormatId()) && SetAny( uno::Any(m_aCopyElements) ); } bool OReportExchange::canExtract(const DataFlavorExVector& _rFlavor) |