sw/source/filter/ww8/ww8par5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1338f45542a017b136a1c5b347ea24f7583015a4 Author: Caolán McNamara <[email protected]> AuthorDate: Sun Dec 1 20:19:33 2024 +0000 Commit: Christian Lohmaier <[email protected]> CommitDate: Tue Dec 10 15:25:56 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]> (cherry picked from commit 14acee58718a82608120a002de2bfc62a4548203) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177655 Reviewed-by: Michael Stahl <[email protected]> Tested-by: Christian Lohmaier <[email protected]> Reviewed-by: Christian Lohmaier <[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 {
