Skip to content

Commit 91ea343

Browse files
author
Thomas Taschauer
committed
Merge branch 'development' of github.com:TomTasche/OpenDocument.ios into feature/lite-version
2 parents ec5b007 + 7e021b2 commit 91ea343

3 files changed

Lines changed: 7 additions & 4 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) {

0 commit comments

Comments
 (0)