From 579426f798580093214fa8a7cc648318642c7e12 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Sep 2016 09:23:17 +0200 Subject: loplugin:constantparam in sw Change-Id: Ic49d1c3c7b57fb213964ddc21b0f774c762aad94 --- sw/inc/txatritr.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/inc/txatritr.hxx') diff --git a/sw/inc/txatritr.hxx b/sw/inc/txatritr.hxx index 471c668fe348..665df194f29d 100644 --- a/sw/inc/txatritr.hxx +++ b/sw/inc/txatritr.hxx @@ -74,9 +74,8 @@ public: class SwLanguageIterator : public SwTextAttrIterator { public: - SwLanguageIterator( const SwTextNode& rTextNode, sal_Int32 nStart = 0, - sal_uInt16 nWhich = RES_CHRATR_LANGUAGE ) - : SwTextAttrIterator( rTextNode, nWhich, nStart ) + SwLanguageIterator( const SwTextNode& rTextNode, sal_Int32 nStart = 0 ) + : SwTextAttrIterator( rTextNode, RES_CHRATR_LANGUAGE, nStart ) {} sal_uInt16 GetLanguage() const -- cgit