summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 08:49:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 09:53:36 +0200
commitde369aac3083692a300f2ffa33bba0cefffc9488 (patch)
tree0d0b609605a5987db3da7a08882aeb4cbc4f0170 /extensions
parenta45494dfb3176af82cec0592c8d75685e7beecca (diff)
loplugin:checkunusedparams in extensions
Change-Id: I1ea1a43da45039fc5d62f21e83c216461abf99de Reviewed-on: https://gerrit.libreoffice.org/37134 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/bibload.cxx10
-rw-r--r--extensions/source/bibliography/general.cxx6
-rw-r--r--extensions/source/bibliography/general.hxx2
3 files changed, 8 insertions, 10 deletions
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();
};