summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/css1atr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 16:17:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 20:37:02 +0200
commit5f41f7b33e2f85be4c9d7380822916a7469cf39b (patch)
tree78a6f5e989ecf918598c9cc621411b92341f4d91 /sw/source/filter/html/css1atr.cxx
parentb9d2c3345a14420ae2f936ffa37f269fcfe74475 (diff)
loplugin:constantparam in sw
Change-Id: Ia477de0fb910f6a8fbb0a5054f4bdb43dd9ff381 Reviewed-on: https://gerrit.libreoffice.org/43951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/css1atr.cxx')
-rw-r--r--sw/source/filter/html/css1atr.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 69fe4a3a99d8..aeaac6d5af73 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -147,8 +147,7 @@ static Writer& OutCSS1_SvxULSpace_SvxLRSpace( Writer& rWrt,
const SvxULSpaceItem *pULSpace,
const SvxLRSpaceItem *pLRSpace );
static Writer& OutCSS1_SvxULSpace_SvxLRSpace( Writer& rWrt,
- const SfxItemSet& rItemSet,
- bool bDeep );
+ const SfxItemSet& rItemSet );
static Writer& OutCSS1_SvxBrush( Writer& rWrt, const SfxPoolItem& rHt,
Css1Background nMode,
const OUString *pGraphicName );
@@ -1702,7 +1701,7 @@ static Writer& OutCSS1_SwPageDesc( Writer& rWrt, const SwPageDesc& rPageDesc,
true );
}
- OutCSS1_SvxULSpace_SvxLRSpace( rWrt, aItemSet, false );
+ OutCSS1_SvxULSpace_SvxLRSpace( rWrt, aItemSet );
// If for a Pseudo-Selector no Property had been set, we still
// have to export something, so that the corresponding template is
@@ -2988,16 +2987,15 @@ static Writer& OutCSS1_SvxULSpace_SvxLRSpace( Writer& rWrt,
}
static Writer& OutCSS1_SvxULSpace_SvxLRSpace( Writer& rWrt,
- const SfxItemSet& rItemSet,
- bool bDeep )
+ const SfxItemSet& rItemSet )
{
const SvxULSpaceItem *pULSpace = nullptr;
const SvxLRSpaceItem *pLRSpace = nullptr;
const SfxPoolItem *pItem;
- if( SfxItemState::SET == rItemSet.GetItemState( RES_LR_SPACE, bDeep, &pItem ) )
+ if( SfxItemState::SET == rItemSet.GetItemState( RES_LR_SPACE, false/*bDeep*/, &pItem ) )
pLRSpace = static_cast<const SvxLRSpaceItem *>(pItem);
- if( SfxItemState::SET == rItemSet.GetItemState( RES_UL_SPACE, bDeep, &pItem ) )
+ if( SfxItemState::SET == rItemSet.GetItemState( RES_UL_SPACE, false/*bDeep*/, &pItem ) )
pULSpace = static_cast<const SvxULSpaceItem *>(pItem);
if( pLRSpace || pULSpace )