Skip to content

Commit

Permalink
upgrade to core v4
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Jul 5, 2024
1 parent b428645 commit 3d9e7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDocumentReader/CoreWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ - (bool)translate:(NSString *)inputPath into:(NSString *)outputPath with:(NSStri
auto outputPathC = [outputPath cStringUsingEncoding:NSUTF8StringEncoding];
auto outputPathCpp = std::string(outputPathC);

html = odr::OpenDocumentReader::html(inputPathCpp, passwordC, outputPathCpp, config);
html = odr::OpenDocumentReader::html(inputPathCpp, [passwordC]() { return passwordC; }, outputPathCpp, config);

NSMutableArray *pageNames = [[NSMutableArray alloc] init];
NSMutableArray *pagePaths = [[NSMutableArray alloc] init];
Expand Down

0 comments on commit 3d9e7f6

Please sign in to comment.