From e5dd156a44625865684b5dfa90a95108259deb50 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Apr 2016 12:19:57 +0200 Subject: loplugin:constantparam Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1 --- tools/source/inet/inetmime.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tools/source/inet/inetmime.cxx') diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 3491964f8628..d530500a41c2 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -431,8 +431,7 @@ class INetMIMECharsetList_Impl bool m_bDisabled; Node * m_pNext; - inline Node(const Charset & rTheCharset, bool bTheDisabled, - Node * pTheNext); + inline Node(const Charset & rTheCharset, Node * pTheNext); }; Node * m_pFirst; @@ -443,7 +442,7 @@ public: ~INetMIMECharsetList_Impl(); void prepend(const Charset & rCharset) - { m_pFirst = new Node(rCharset, false, m_pFirst); } + { m_pFirst = new Node(rCharset, m_pFirst); } void includes(sal_uInt32 nChar); @@ -455,10 +454,9 @@ public: }; inline INetMIMECharsetList_Impl::Node::Node(const Charset & rTheCharset, - bool bTheDisabled, Node * pTheNext): m_aCharset(rTheCharset), - m_bDisabled(bTheDisabled), + m_bDisabled(false), m_pNext(pTheNext) {} -- cgit