xmlsecurity/source/dialogs/certificatechooser.cxx | 1 - 1 file changed, 1 deletion(-)
New commits: commit b237267685bb48a5847fbc5264bd627126bd1b2a Author: Xisco Fauli <[email protected]> AuthorDate: Sun Oct 20 20:11:50 2024 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Sun Oct 20 21:59:37 2024 +0200 tdf#163486: PVS: identical sub-expressions Since commit ad6f23d2a3842c40f7c812003af4031150ea8183 Author: TokieSan <[email protected]> Date: Tue Jul 18 21:54:31 2023 +0300 Added searching and filtering features to certificate chooser dialog V501 There are identical sub-expressions 'rCharClass.uppercase(sIssuer).indexOf(aSearchStr) < 0' to the left and to the right of the '&&' operator. Change-Id: Ifdc4b371e6d8f79ad43236e10b86e8e5b03204a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175284 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index d19a3ca62a93..163efb04e943 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -275,7 +275,6 @@ void CertificateChooser::ImplInitialize(bool mbSearch) // If we are searching and there is no match skip if (mbSearch - && rCharClass.uppercase(sIssuer).indexOf(aSearchStr) < 0 && rCharClass.uppercase(sIssuer).indexOf(aSearchStr) < 0 && !aSearchStr.isEmpty()) continue;
