diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 13:12:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 15:02:41 +0200 |
commit | 0ab1e76a29bbd667a208d63e3b6fe207d32d8374 (patch) | |
tree | 14bdec6929b8f47b79b43f32d18a0966b5538bf2 /sw/source/filter/html/htmlcss1.cxx | |
parent | 123ee9606938abc2be03ab7d35b66544141ade64 (diff) |
loplugin:defaultparams
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index ff50777eb83e..cda4f26a4565 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -684,8 +684,8 @@ static void RemoveScriptItems( SfxItemSet& rItemSet, sal_uInt16 nScript, if( aClearItems[j] || (pParentItemSet && SfxItemState::SET == rItemSet.GetItemState( nWhich, false, &pItem ) && - (0==i ? swhtml_css1atr_equalFontItems( *pItem, pParentItemSet->Get(nWhich, true ) ) - : *pItem == pParentItemSet->Get(nWhich, true ) ) ) ) + (0==i ? swhtml_css1atr_equalFontItems( *pItem, pParentItemSet->Get(nWhich ) ) + : *pItem == pParentItemSet->Get(nWhich ) ) ) ) { rItemSet.ClearItem( nWhich ); } @@ -1099,7 +1099,7 @@ bool SwCSS1Parser::StyleParsed( const CSS1Selector *pSelector, if( !pCFormat ) { pCFormat = pDoc->MakeCharFormat( aName, pParentCFormat ); - pCFormat->SetAuto( false ); + pCFormat->SetAuto(); } } @@ -1184,7 +1184,7 @@ SwCharFormat* SwCSS1Parser::GetChrFormat( sal_uInt16 nToken2, const OUString& rC if( !pCFormat ) { pCFormat = pDoc->MakeCharFormat( sCName, pDoc->GetDfltCharFormat() ); - pCFormat->SetAuto( false ); + pCFormat->SetAuto(); } } @@ -1209,7 +1209,7 @@ SwCharFormat* SwCSS1Parser::GetChrFormat( sal_uInt16 nToken2, const OUString& rC if( pClass ) { pCFormat = pDoc->MakeCharFormat( aTmp, pCFormat ); - pCFormat->SetAuto( false ); + pCFormat->SetAuto(); SfxItemSet aItemSet( pClass->GetItemSet() ); SetCharFormatAttrs( pCFormat, aItemSet ); } @@ -1533,7 +1533,7 @@ void SwCSS1Parser::FillDropCap( SwFormatDrop& rDrop, if( !pCFormat ) { pCFormat = pDoc->MakeCharFormat( aName, pDoc->GetDfltCharFormat() ); - pCFormat->SetAuto( false ); + pCFormat->SetAuto(); } SetCharFormatAttrs( pCFormat, rItemSet ); |