[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 30 20:11:23 UTC 2021
sw/source/filter/html/htmltab.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bc18682b598f1f1c071af8e70c1788352d96695d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 30 20:11:51 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun May 30 22:10:41 2021 +0200
frequent recent CppunitTest_sw_uiwriter failure
since...
commit 66438a0ad5a3c6d2792f4c6c04c2d2405b5679cb
Date: Fri May 28 15:35:25 2021 +0200
std::unique_ptr->std::optional
Change-Id: I8feefa8787ebf82c1afd8109c6e4fa30f726d6da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116417
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 7113c8fa9313..699a44a89f42 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -3371,7 +3371,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
(!bTopTable && !bParentLFStripped &&
!m_pPam->GetPoint()->nContent.GetIndex()) )
pPostIts.emplace();
- SetAttr( bTopTable, bTopTable, &*pPostIts );
+ SetAttr( bTopTable, bTopTable, pPostIts ? &*pPostIts : nullptr );
}
else
{
More information about the Libreoffice-commits
mailing list