Skip to content

Commit 7e021b2

Browse files
author
Thomas Taschauer
committed
update core
1 parent ef93111 commit 7e021b2

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ cmake_minimum_required(VERSION 3.12.4)
33
option (ODR_TEST "" OFF)
44
set(ODR_TEST OFF)
55

6+
option (ODR_INSTALL "" OFF)
7+
set(ODR_INSTALL OFF)
8+
69
add_subdirectory(OpenDocument.core)

OpenDocument.core

OpenDocumentReader/CoreWrapper.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
#import "CoreWrapper.h"
1212

13-
#include "odr/OpenDocumentReader.h"
13+
#include "odr/Reader.h"
1414
#include "odr/Config.h"
1515
#include "odr/Meta.h"
1616

1717
@implementation CoreWrapper {
18-
odr::OpenDocumentReader translator;
18+
odr::Reader translator;
1919
bool initialized;
2020
}
2121

@@ -31,7 +31,7 @@ - (bool)translate:(NSString *)inputPath into:(NSString *)outputPath at:(NSNumber
3131
return false;
3232
}
3333

34-
const auto meta = translator.getMeta();
34+
const auto meta = translator.meta();
3535

3636
bool decrypted = !meta.encrypted;
3737
if (password != nil) {

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ SPEC CHECKSUMS:
138138

139139
PODFILE CHECKSUM: 7a4ed31baede41e03a49f8b5f40c0b4f91e30a39
140140

141-
COCOAPODS: 1.8.3
141+
COCOAPODS: 1.9.1

0 commit comments

Comments
 (0)