sw/source/filter/ww8/ww8par5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 14acee58718a82608120a002de2bfc62a4548203 Author: Caolán McNamara <[email protected]> AuthorDate: Sun Dec 1 20:19:33 2024 +0000 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Dec 2 09:40:41 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/+/177633 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index cb65250a83c5..133e77cc3aab 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3128,7 +3128,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 {
