diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-18 15:51:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-18 15:53:27 +0100 |
commit | e7cab93ebbccfc02e84c9385b8c53832784ef47c (patch) | |
tree | ec6650588dabfbec321d1a0dd78fe5511445df4f /sw | |
parent | 93c34fea480275343896ef25289a2b41ce19b114 (diff) |
ofz+ubsan: signed integer overflow in unused variable
Change-Id: Ie95ddfdb002fdb5b6670bb155d2dd0089b719fca
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 3 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8scan.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index d02cb762ed78..402319bce5cb 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -7159,9 +7159,6 @@ WW8PLCF_HdFt::WW8PLCF_HdFt( SvStream* pSt, WW8Fib& rFib, WW8Dop const & rDop ) for( sal_uInt8 nI = 0x1; nI <= 0x20; nI <<= 1 ) if( nI & rDop.grpfIhdt ) // bit set? nIdxOffset++; - - nTextOfs = rFib.m_ccpText + rFib.m_ccpFootnote; // size of the main text - // and from the footnotes } bool WW8PLCF_HdFt::GetTextPos(sal_uInt8 grpfIhdt, sal_uInt8 nWhich, WW8_CP& rStart, diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index d43335928fb7..ba0f1e9efecf 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -1844,7 +1844,6 @@ class WW8PLCF_HdFt { private: WW8PLCF aPLCF; - long nTextOfs; short nIdxOffset; public: |