diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2016-09-03 23:48:43 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2016-09-03 23:48:43 +0200 |
commit | 423b4ed6a2474f9ba1110b324b54950c2fc56c76 (patch) | |
tree | fd062eb8a04849e4dbe80130e84792fb1c295ff0 /sw | |
parent | dfc2fa4a9bf9e277461d77fb4004086c089187a8 (diff) |
cppcheck: variableScope
Change-Id: I3850017bdf3ac2ac0436d4f64f45d61be9c8691a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 3c5a598a282f..0eaf8196dd21 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -303,10 +303,8 @@ SwHTMLFormatInfo::SwHTMLFormatInfo( const SwFormat *pF, SwDoc *pDoc, SwDoc *pTem pItemSet->Set( pFormat->GetAttrSet() ); - bool bSetDefaults = true, bClearSame = true; if( pReferenceFormat ) - SwHTMLWriter::SubtractItemSet( *pItemSet, pReferenceFormat->GetAttrSet(), - bSetDefaults, bClearSame ); + SwHTMLWriter::SubtractItemSet( *pItemSet, pReferenceFormat->GetAttrSet(), true, true ); // delete ItemSet that is empty straight away. This will save work // later on |