Skip to content

Commit

Permalink
Move wvWare.c to wvWare conan package
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 26, 2024
1 parent 19f2a64 commit ae8acdc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1,932 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ endif(WITH_PDF2HTMLEX)
if(WITH_WVWARE)
LIST(APPEND ODR_SOURCE_FILES
"src/odr/internal/html/wvWare_wrapper.cpp"
"src/wvWare.c"
)
endif(WITH_WVWARE)

Expand Down
4 changes: 1 addition & 3 deletions src/odr/internal/html/wvWare_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ Html wvWare_wrapper(const std::string &input_path,

g_htmlOutputFileHandle = fopen(output_file_path.c_str(), "w");

documentId++;

std::string password_value;
if (password.has_value()) {
password_value = password.value();
}
int retVal = convert(input_file_path, output_dir, password_value.c_str());
int retVal = wvHtml_convert(input_file_path, output_dir, password_value.c_str());
free(output_dir);
free(input_file_path);
fclose(g_htmlOutputFileHandle);
Expand Down
Loading

0 comments on commit ae8acdc

Please sign in to comment.