From 8a3afbee5720d06ad426ba366829b904d7455fd4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 7 Oct 2016 12:04:21 +0200 Subject: loplugin:staticmethods: desktop Change-Id: Ic0c8ff1cd2809527ec4a3c4012af342bcab1308b --- desktop/source/deployment/inc/dp_descriptioninfoset.hxx | 4 ++-- desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx index a54bbdb8cfcd..f3d7281a3892 100644 --- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx +++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx @@ -260,9 +260,9 @@ private: /** Helper method to compare the versions with the current version */ - SAL_DLLPRIVATE bool + SAL_DLLPRIVATE static bool checkBlacklistVersion(const OUString& currentversion, - css::uno::Sequence< OUString > const & versions) const; + css::uno::Sequence< OUString > const & versions); css::uno::Reference< css::uno::XComponentContext > m_context; css::uno::Reference< css::xml::dom::XNode > m_element; diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 8fc9ed308fb8..732b026d04c3 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -447,7 +447,7 @@ void DescriptionInfoset::checkBlacklist() const bool DescriptionInfoset::checkBlacklistVersion( const OUString& currentversion, - css::uno::Sequence< OUString > const & versions) const + css::uno::Sequence< OUString > const & versions) { sal_Int32 nLen = versions.getLength(); for (sal_Int32 i=0; i