[Libreoffice-commits] core.git: extensions/source
Noel Grandin
noel.grandin at collabora.co.uk
Tue May 2 07:54:09 UTC 2017
extensions/source/bibliography/bibload.cxx | 10 ++++------
extensions/source/bibliography/general.cxx | 6 +++---
extensions/source/bibliography/general.hxx | 2 +-
3 files changed, 8 insertions(+), 10 deletions(-)
New commits:
commit de369aac3083692a300f2ffa33bba0cefffc9488
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Tue May 2 08:49:58 2017 +0200
loplugin:checkunusedparams in extensions
Change-Id: I1ea1a43da45039fc5d62f21e83c216461abf99de
Reviewed-on: https://gerrit.libreoffice.org/37134
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx
index aa2d1bd638e4..a30f9cf81bc3 100644
--- a/extensions/source/bibliography/bibload.cxx
+++ b/extensions/source/bibliography/bibload.cxx
@@ -84,8 +84,7 @@ class BibliographyLoader : public cppu::WeakImplHelper
private:
- void loadView(const Reference< XFrame > & aFrame, const OUString& aURL,
- const Sequence< PropertyValue >& aArgs,
+ void loadView(const Reference< XFrame > & aFrame,
const Reference< XLoadEventListener > & aListener);
BibDataManager* GetDataManager()const;
@@ -221,7 +220,7 @@ void BibliographyLoader::cancel()
}
void BibliographyLoader::load(const Reference< XFrame > & rFrame, const OUString& rURL,
- const Sequence< PropertyValue >& rArgs,
+ const Sequence< PropertyValue >& /*rArgs*/,
const Reference< XLoadEventListener > & rListener)
{
@@ -239,13 +238,12 @@ void BibliographyLoader::load(const Reference< XFrame > & rFrame, const OUString
}
if(aPartName == "View" || aPartName == "View1")
{
- loadView(rFrame, rURL, rArgs, rListener);
+ loadView(rFrame, rListener);
}
}
-void BibliographyLoader::loadView(const Reference< XFrame > & rFrame, const OUString& /*rURL*/,
- const Sequence< PropertyValue >& /*rArgs*/,
+void BibliographyLoader::loadView(const Reference< XFrame > & rFrame,
const Reference< XLoadEventListener > & rListener)
{
SolarMutexGuard aGuard;
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index 0e1217823c15..9a3866c991b2 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -605,7 +605,7 @@ void BibGeneralPage::focusGained(const awt::FocusEvent& rEvent)
}
}
-void BibGeneralPage::focusLost(const awt::FocusEvent& )
+void BibGeneralPage::focusLost()
{
CommitActiveControl();
}
@@ -700,9 +700,9 @@ void BibGeneralPageFocusListener::focusGained( const css::awt::FocusEvent& e )
mpBibGeneralPage->focusGained(e);
}
-void BibGeneralPageFocusListener::focusLost( const css::awt::FocusEvent& e )
+void BibGeneralPageFocusListener::focusLost( const css::awt::FocusEvent& )
{
- mpBibGeneralPage->focusLost(e);
+ mpBibGeneralPage->focusLost();
}
void BibGeneralPageFocusListener::disposing( const css::lang::EventObject& )
diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx
index 8c4beff41526..13a457e4dc01 100644
--- a/extensions/source/bibliography/general.hxx
+++ b/extensions/source/bibliography/general.hxx
@@ -165,7 +165,7 @@ public:
/// @throws css::uno::RuntimeException
void focusGained(const css::awt::FocusEvent& rEvent);
/// @throws css::uno::RuntimeException
- void focusLost(const css::awt::FocusEvent& rEvent);
+ void focusLost();
};
More information about the Libreoffice-commits
mailing list