sfx2/source/dialog/dinfdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 41db41a3aac2e465b074ef9a75c9d557b8d9ff6a Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Sun Oct 20 20:34:53 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Sun Oct 20 22:24:56 2024 +0200 tdf#163486: PVS: identical sub-expressions Since commit 0deea02b1da1001fa497dc5afa5e43207af491d5 Author: Sarper Akdemir <sarper.akdemir.ext...@allotropia.de> Date: Sat Aug 19 17:18:50 2023 +0300 tdf#138792: PDF export: add batch of dublin core attributes V501 There are identical sub-expressions 'bKeywordsMod' to the left and to the right of the '||' operator. V501 There are identical sub-expressions 'bThemeMod' to the left and to the right of the '||' operator. V501 There are identical sub-expressions 'bTitleMod' to the left and to the right of the '||' operator. Change-Id: I438e0284a190241bf86b0e127de2f12f4a1a68b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175287 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 5ae79ea15eb1..7d433aa7329e 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -662,7 +662,7 @@ bool SfxDocumentDescPage::FillItemSet(SfxItemSet *rSet) const bool bSourceMod = m_xSourceEd->get_value_changed_from_saved(); const bool bTypeMod = m_xTypeEd->get_value_changed_from_saved(); const bool bCommentMod = m_xCommentEd->get_value_changed_from_saved(); - if (!(bTitleMod || bThemeMod || bKeywordsMod || bTitleMod || bThemeMod || bKeywordsMod + if (!(bTitleMod || bThemeMod || bKeywordsMod || bContributorMod || bCoverageMod || bIdentifierMod || bPublisherMod || bRelationMod || bRightsMod || bSourceMod || bTypeMod || bCommentMod)) {