summaryrefslogtreecommitdiff
path: root/sw/inc/txatritr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-08 09:23:17 +0200
committerNoel Grandin <noel@peralex.com>2016-09-08 09:23:40 +0200
commit579426f798580093214fa8a7cc648318642c7e12 (patch)
tree1e4b543a9010134e384d43d2bbbd1a97e3f3725b /sw/inc/txatritr.hxx
parent847e004e65ec3c35acff607588d15cd75a84f121 (diff)
loplugin:constantparam in sw
Change-Id: Ic49d1c3c7b57fb213964ddc21b0f774c762aad94
Diffstat (limited to 'sw/inc/txatritr.hxx')
-rw-r--r--sw/inc/txatritr.hxx5
1 files changed, 2 insertions, 3 deletions
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