diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-29 10:59:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-29 11:11:29 +0200 |
commit | ee74e401aae0543fd20d80ec4b5c11877e56dafe (patch) | |
tree | c04fa51af8f3bddad408dea7100d839ba3c1214e /sw/source/filter/writer/writer.cxx | |
parent | 4fe23a797291dbf582925ace1392772577506c4e (diff) |
loplugin:unuseddefaultparam in sw (part3)
Change-Id: Ibff7ac9718929349ee7daa3febb0f8fe4a9fa4db
Diffstat (limited to 'sw/source/filter/writer/writer.cxx')
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index f60c16ad743e..fb22f18b742f 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -337,17 +337,14 @@ void Writer::PutNumFormatFontsInAttrPool() } } -void Writer::PutEditEngFontsInAttrPool( bool bIncl_CJK_CTL ) +void Writer::PutEditEngFontsInAttrPool() { SfxItemPool& rPool = pDoc->GetAttrPool(); if( rPool.GetSecondaryPool() ) { _AddFontItems( rPool, EE_CHAR_FONTINFO ); - if( bIncl_CJK_CTL ) - { - _AddFontItems( rPool, EE_CHAR_FONTINFO_CJK ); - _AddFontItems( rPool, EE_CHAR_FONTINFO_CTL ); - } + _AddFontItems( rPool, EE_CHAR_FONTINFO_CJK ); + _AddFontItems( rPool, EE_CHAR_FONTINFO_CTL ); } } |