sw/source/filter/ww8/ww8par5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ce9be1415eb079323b5ad0cadd47e4b90c3a4aff Author: Caolán McNamara <[email protected]> AuthorDate: Sun Dec 1 20:19:33 2024 +0000 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Dec 2 09:00:05 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/+/177632 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 6750fa21ae76..1adf60a297ac 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3129,7 +3129,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 {
