From 8c40e49801199eaeef01b15050b4bdcdeca67f5f Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 12 Jan 2024 08:13:40 +1000 Subject: [PATCH] Add missing break --- Pdf4QtLibCore/sources/pdfsecurityhandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Pdf4QtLibCore/sources/pdfsecurityhandler.cpp b/Pdf4QtLibCore/sources/pdfsecurityhandler.cpp index 492f93b..e4a2c0f 100644 --- a/Pdf4QtLibCore/sources/pdfsecurityhandler.cpp +++ b/Pdf4QtLibCore/sources/pdfsecurityhandler.cpp @@ -1243,6 +1243,7 @@ QByteArray PDFStandardOrPublicSecurityHandler::adjustPassword(const QString& pas // We don't do other checks. We will transform password to the UTF-8 encoding // and according the PDF specification, we take only first 127 characters. result = preparedPassword.toUtf8().left(127); + break; } default: