Skip to content

Commit b722ecb

Browse files
committed
tmp
1 parent b3046a5 commit b722ecb

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/conanfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[requires]
2-
odrcore/5.0.4
2+
odrcore/5.0.3
33

44
[generators]
55
CMakeToolchain

app/src/main/cpp/CoreWrapper.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ std::optional<odr::Document> s_document;
8080
JNIEXPORT void JNICALL
8181
Java_at_tomtasche_reader_background_CoreWrapper_setGlobalParams(JNIEnv *env, jclass clazz,
8282
jobject params) {
83-
jboolean isCopy;
84-
8583
jclass paramsClass = env->GetObjectClass(params);
8684

8785
std::string odrCoreDataPath = getStringField(env, paramsClass, params, "coreDataPath");
@@ -94,6 +92,7 @@ Java_at_tomtasche_reader_background_CoreWrapper_setGlobalParams(JNIEnv *env, jcl
9492
odr::GlobalParams::set_fontconfig_data_path(fontconfigDataPath);
9593
odr::GlobalParams::set_poppler_data_path(popplerDataPath);
9694
odr::GlobalParams::set_pdf2htmlex_data_path(pdf2htmlexDataPath);
95+
odr::GlobalParams::set_custom_tmpfile_path(customTmpfilePath);
9796

9897
setenv("TMPDIR", customTmpfilePath.c_str(), 1);
9998
}

0 commit comments

Comments
 (0)