sw/source/filter/ww8/ww8scan.cxx | 3 --- sw/source/filter/ww8/ww8scan.hxx | 1 - 2 files changed, 4 deletions(-)
New commits: commit e7cab93ebbccfc02e84c9385b8c53832784ef47c Author: Caolán McNamara <caol...@redhat.com> Date: Wed Oct 18 15:51:14 2017 +0100 ofz+ubsan: signed integer overflow in unused variable Change-Id: Ie95ddfdb002fdb5b6670bb155d2dd0089b719fca 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:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits