Skip to content

Commit

Permalink
Add missing break
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and JakubMelka committed Jan 13, 2024
1 parent 2ed31dc commit 8c40e49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Pdf4QtLibCore/sources/pdfsecurityhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c40e49

Please sign in to comment.