sw/source/filter/ww8/docxtableexport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0a1db494bc709451e4a51d2a6f6304b66c26d3fa Author: Xisco Fauli <[email protected]> AuthorDate: Tue Oct 22 12:36:51 2024 +0200 Commit: Michael Stahl <[email protected]> CommitDate: Thu Nov 14 12:22:30 2024 +0100 tdf#163486 PVS: identical sub-expressions Since commit 85a47bbb8340e65a19dc1ceaac768902a771ee77 Author: László Németh <[email protected]> Date: Fri May 12 17:03:57 2023 +0200 tdf#155328 sw tracked table column: add DOCX export/import V501 There are identical sub-expressions 'pRedline->GetRedlineData().GetType()' to the left and to the right of the '==' operator. Change-Id: Ib53d20f102e64cd716245d558d6fd7754f62d9a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175403 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> (cherry picked from commit 7c5476ada992ed6dc4759c18af9de0042a6b66eb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176544 Reviewed-by: Michael Stahl <[email protected]> diff --git a/sw/source/filter/ww8/docxtableexport.cxx b/sw/source/filter/ww8/docxtableexport.cxx index 8f56d3af9d9f..d8ee80836b0f 100644 --- a/sw/source/filter/ww8/docxtableexport.cxx +++ b/sw/source/filter/ww8/docxtableexport.cxx @@ -737,7 +737,8 @@ void DocxAttributeOutput::TableCellRedline( const SwRedlineData& aRedlineData = bIsInExtra && // still the same type (an inserted cell could become a tracked deleted one) - pRedline->GetRedlineData().GetType() == pRedline->GetRedlineData().GetType() + pTableCellRedline->GetRedlineData().GetType() + == pRedline->GetRedlineData().GetType() ? pTableCellRedline->GetRedlineData() : pRedline->GetRedlineData();
