Skip to content

Commit 0ef0a5d

Browse files
committed
fix
1 parent dc96bc9 commit 0ef0a5d

7 files changed

Lines changed: 22 additions & 25 deletions

File tree

src/odr/internal/html/document.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,9 @@ class PageHtmlFragment final : public HtmlFragmentBase {
412412

413413
namespace odr::internal {
414414

415-
HtmlService html::create_document_service(const Document &document,
416-
const std::string & /*cache_path*/,
417-
HtmlConfig config,
418-
std::shared_ptr<Logger> logger) {
415+
odr::HtmlService html::create_document_service(
416+
const Document &document, const std::string & /*cache_path*/,
417+
HtmlConfig config, std::shared_ptr<Logger> logger) {
419418
std::vector<std::shared_ptr<HtmlFragmentBase>> fragments;
420419

421420
if (document.document_type() == DocumentType::text) {

src/odr/internal/html/filesystem.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,9 @@ class HtmlServiceImpl final : public HtmlService {
148148

149149
namespace odr::internal {
150150

151-
HtmlService html::create_filesystem_service(const Filesystem &filesystem,
152-
const std::string & /*cache_path*/,
153-
HtmlConfig config,
154-
std::shared_ptr<Logger> logger) {
151+
odr::HtmlService html::create_filesystem_service(
152+
const Filesystem &filesystem, const std::string & /*cache_path*/,
153+
HtmlConfig config, std::shared_ptr<Logger> logger) {
155154
return odr::HtmlService(std::make_unique<HtmlServiceImpl>(
156155
filesystem, std::move(config), std::move(logger)));
157156
}

src/odr/internal/html/image_file.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ void html::translate_image_src(const ImageFile &image_file, std::ostream &out,
141141
}
142142
}
143143

144-
HtmlService html::create_image_service(const ImageFile &image_file,
145-
const std::string & /*cache_path*/,
146-
HtmlConfig config,
147-
std::shared_ptr<Logger> logger) {
144+
odr::HtmlService html::create_image_service(const ImageFile &image_file,
145+
const std::string & /*cache_path*/,
146+
HtmlConfig config,
147+
std::shared_ptr<Logger> logger) {
148148
return odr::HtmlService(std::make_unique<HtmlServiceImpl>(
149149
image_file, std::move(config), std::move(logger)));
150150
}

src/odr/internal/html/pdf2htmlex_wrapper.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,9 @@ class HtmlServiceImpl final : public HtmlService {
297297

298298
namespace odr::internal {
299299

300-
HtmlService html::create_poppler_pdf_service(const PopplerPdfFile &pdf_file,
301-
const std::string &cache_path,
302-
HtmlConfig config,
303-
std::shared_ptr<Logger> logger) {
300+
odr::HtmlService html::create_poppler_pdf_service(
301+
const PopplerPdfFile &pdf_file, const std::string &cache_path,
302+
HtmlConfig config, std::shared_ptr<Logger> logger) {
304303
PDFDoc &pdf_doc = pdf_file.pdf_doc();
305304

306305
auto html_renderer_param = std::make_shared<pdf2htmlEX::Param>(

src/odr/internal/html/pdf_file.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ class HtmlServiceImpl final : public HtmlService {
209209

210210
namespace odr::internal {
211211

212-
HtmlService html::create_pdf_service(const PdfFile &pdf_file,
213-
const std::string & /*cache_path*/,
214-
HtmlConfig config,
215-
std::shared_ptr<Logger> logger) {
212+
odr::HtmlService html::create_pdf_service(const PdfFile &pdf_file,
213+
const std::string & /*cache_path*/,
214+
HtmlConfig config,
215+
std::shared_ptr<Logger> logger) {
216216
return odr::HtmlService(std::make_unique<HtmlServiceImpl>(
217217
pdf_file, std::move(config), std::move(logger)));
218218
}

src/odr/internal/html/text_file.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ class HtmlServiceImpl final : public HtmlService {
130130

131131
namespace odr::internal {
132132

133-
HtmlService html::create_text_service(const TextFile &text_file,
134-
const std::string &cache_path,
135-
HtmlConfig config,
136-
std::shared_ptr<Logger> logger) {
133+
odr::HtmlService html::create_text_service(const TextFile &text_file,
134+
const std::string &cache_path,
135+
HtmlConfig config,
136+
std::shared_ptr<Logger> logger) {
137137
(void)cache_path;
138138

139139
return odr::HtmlService(std::make_unique<HtmlServiceImpl>(

src/odr/internal/html/wvware_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ class HtmlServiceImpl final : public HtmlService {
973973

974974
namespace odr::internal {
975975

976-
HtmlService html::create_wvware_oldms_service(
976+
odr::HtmlService html::create_wvware_oldms_service(
977977
const WvWareLegacyMicrosoftFile &oldms_file, const std::string &cache_path,
978978
HtmlConfig config, std::shared_ptr<Logger> logger) {
979979
return odr::HtmlService(std::make_unique<HtmlServiceImpl>(

0 commit comments

Comments
 (0)