sw/source/filter/ww8/ww8par4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit aaea309f56e46b68e2742bc63489f969a5dbe6ac Author: Caolán McNamara <caol...@redhat.com> Date: Mon Mar 19 15:57:00 2018 +0000 ofz#6999 improve fix Change-Id: Ib95ac17011ca2cc98a4d2288cb5879e163482932 Reviewed-on: https://gerrit.libreoffice.org/51573 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/ww8/ww8par4.cxx b/sw/source/filter/ww8/ww8par4.cxx index 69c8458ec16e..fd82c91222b7 100644 --- a/sw/source/filter/ww8/ww8par4.cxx +++ b/sw/source/filter/ww8/ww8par4.cxx @@ -477,8 +477,8 @@ void SwWW8ImplReader::Read_CRevisionMark(RedlineType_t eType, const sal_uInt8* pSprmCDttmRMark; if( nsRedlineType_t::REDLINE_FORMAT == eType ) { - pSprmCIbstRMark = nLen >= 2 ? pData+1 : nullptr; - pSprmCDttmRMark = nLen >= 5 ? pData+3 : nullptr; + pSprmCIbstRMark = nLen >= 3 ? pData+1 : nullptr; + pSprmCDttmRMark = nLen >= 7 ? pData+3 : nullptr; } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits