diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 12:45:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 20:23:14 +0200 |
commit | f590bb806a8b439f595b84b624971bb6c1b89e6c (patch) | |
tree | c27e95a9c3a18b13c5bcfa6a8bc6d6df48a0cf74 | |
parent | a0b5731dd6e8be9d61c5da2225512970f47a7c72 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I9dd1d0179e6d3096bbb1030341a731c2896392e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121304
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 146de94a0230..e02df437f859 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3132,7 +3132,7 @@ bool SwWW8ImplReader::ReadPlainChars(WW8_CP& rPos, sal_Int32 nEnd, sal_Int32 nCp nUCode = nBCode; } - if (m_pStrm->GetError()) + if (!m_pStrm->good()) { rPos = WW8_CP_MAX-10; // -> eof or other error return true; |