diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-14 02:51:05 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-15 06:49:23 +0000 |
commit | b4b7703e4335460cf48bfd6440f116359994c8ff (patch) | |
tree | 66b6ab43d6fb13d037160d7384d1a7a93d92940b /sw/source/filter/html/swhtml.cxx | |
parent | 90d82f73b89d8a0b0b13d224dbd1a741a10a7fd9 (diff) |
cppcheck:variableScope
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884
Reviewed-on: https://gerrit.libreoffice.org/19364
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index 6312eab62776..a964ca1dc961 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -3039,7 +3039,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr, bool bInsert; sal_uInt16 nScriptItem = 0; - bool bScript = false, bFont = false; + bool bScript = false; // ein Bereich ?? if( !bChkEmpty || (RES_PARATR_BEGIN <= nWhich && bMoveBack) || RES_PAGEDESC == nWhich || RES_BREAK == nWhich || @@ -3050,6 +3050,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr, // We do some optimization for script depenedent attributes here. if( *pEndIdx == pAttr->GetSttPara() ) { + bool bFont = false; lcl_swhtml_getItemInfo( *pAttr, bScript, bFont, nScriptItem ); } } |