diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-07 12:04:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-07 12:07:43 +0200 |
commit | 8a3afbee5720d06ad426ba366829b904d7455fd4 (patch) | |
tree | ddef251f345d714f6667ddd797577671c8e19d5b /desktop | |
parent | e1b1778b00227e11bd180db254ce6f2a20739394 (diff) |
loplugin:staticmethods: desktop
Change-Id: Ic0c8ff1cd2809527ec4a3c4012af342bcab1308b
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/inc/dp_descriptioninfoset.hxx | 4 | ||||
-rw-r--r-- | desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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<nLen; i++) { |