sw/source/filter/ww8/ww8par5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4161486f9ae29452375aa57fd080cc6af7d6fd3b Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Dec 1 20:19:33 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Dec 2 09:38:32 2024 +0100 crashtesting: crash on load of .doc output of forum-de3-398.odt Change-Id: Ibcd898e25c8807dba36226d0ec7126588ba38837 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177631 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 8f2a12984e9e..19098daf65e4 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3131,7 +3131,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, OUString& rStr ) { --aIt; - if(0x09 == sDelimiter[0]) + if (!sDelimiter.isEmpty() && sDelimiter[0] == 0x09) aIt->eTabAlign = SvxTabAdjust::End; else {