Skip to content

Commit 786c229

Browse files
authored
Update core to 4.1.0 (#83)
1 parent 64f460a commit 786c229

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OpenDocumentReader/CoreWrapper.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ - (bool)translate:(NSString *)inputPath into:(NSString *)outputPath with:(NSStri
5151
auto outputPathC = [outputPath cStringUsingEncoding:NSUTF8StringEncoding];
5252
auto outputPathCpp = std::string(outputPathC);
5353

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

5656
NSMutableArray *pageNames = [[NSMutableArray alloc] init];
5757
NSMutableArray *pagePaths = [[NSMutableArray alloc] init];

conan/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Pkg(ConanFile):
55
settings = "os", "compiler", "arch", "build_type"
66
options = {"configuration": ["Debug", "Debug Lite", "Release", "Release Lite"]}
77
default_options = {"configuration": "Debug"}
8-
requires = "odrcore/3.0.0"
8+
requires = "odrcore/4.1.0"
99

1010
def generate(self):
1111
xcode = XcodeDeps(self)

0 commit comments

Comments
 (0)