Browse Source

【编辑工具】合并 加密文件兼容

lizhe 1 year ago
parent
commit
e0e0dbb2fe

+ 2 - 2
PDF Office/PDF Master/Class/PDFTools/Merge/MergeNew/KMMergeWindowController.swift

@@ -167,9 +167,9 @@ extension KMMergeWindowController {
             
             var outlineArray: [PDFOutline] = []
             
-            if file.isLocked {
+//            if file.isLocked {
                 tDocument.unlock(withPassword: file.password)
-            }
+//            }
             
             if tDocument.outlineRoot != nil {
                 rootPDFOutlineArray.append((tDocument.outlineRoot)!)