sw/source/core/text/EnhancedPDFExportHelper.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit faafdec09ae2b17aa62d091f76e0cca1b0867d17 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Sat Oct 19 18:25:12 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Sun Oct 20 10:29:25 2024 +0200 tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 976, 983 Change-Id: If40078b2a6ea2654d22f6cf559d19ed6c64bc44a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175218 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx index 95c65bd495d7..4fcc8d5252ef 100644 --- a/sw/source/core/text/EnhancedPDFExportHelper.cxx +++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx @@ -973,12 +973,6 @@ void SwTaggedPDFHelper::SetAttributes( vcl::PDFWriter::StructElement eType ) break; case vcl::PDFWriter::Link : - bTextDecorationType = - bBaselineShift = - bLinkAttribute = - bLanguage = true; - break; - case vcl::PDFWriter::BibEntry : bTextDecorationType = bBaselineShift =