summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-01 20:19:33 +0000
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-12-10 15:25:56 +0100
commit1338f45542a017b136a1c5b347ea24f7583015a4 (patch)
tree9559657e0d76c440e5bda9d08cb763efda471103
parent787d566ded64a81c3fb1d458f81aff21edee35c7 (diff)
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 <xiscofauli@libreoffice.org> (cherry picked from commit 14acee58718a82608120a002de2bfc62a4548203) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177655 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
1 files changed, 1 insertions, 1 deletions
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
{