summaryrefslogtreecommitdiff
path: root/src/generic
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-06-15 15:44:13 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-06-15 15:46:00 +0200
commit2001907bfd75981685837077b96a836be182f107 (patch)
treea188e27ad63bb05fea3860493281fb94ac57bc1b /src/generic
parentc0a88e5e97327cfa363e8d06f5c85d95306cdca8 (diff)
poppler: remove enum name
otherwise errors like T3896 will happen. This fixes T3896.
Diffstat (limited to 'src/generic')
-rw-r--r--src/generic/evas/pdf/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generic/evas/pdf/main.cpp b/src/generic/evas/pdf/main.cpp
index 426e97c..85edf49 100644
--- a/src/generic/evas/pdf/main.cpp
+++ b/src/generic/evas/pdf/main.cpp
@@ -71,8 +71,8 @@ Eina_Bool poppler_init(const char *file, int page_nbr, int size_w, int size_h)
71 if (!doc_page) 71 if (!doc_page)
72 goto del_pdfdoc; 72 goto del_pdfdoc;
73 73
74 w = doc_page->page_rect(page_box_enum::media_box).width(); 74 w = doc_page->page_rect(media_box).width();
75 h = doc_page->page_rect(page_box_enum::media_box).height(); 75 h = doc_page->page_rect(media_box).height();
76 cw = doc_page->page_rect().width(); 76 cw = doc_page->page_rect().width();
77 ch = doc_page->page_rect().height(); 77 ch = doc_page->page_rect().height();
78 78
@@ -133,8 +133,8 @@ void poppler_load_image(int size_w EINA_UNUSED, int size_h EINA_UNUSED)
133 133
134 renderer = new page_renderer(); 134 renderer = new page_renderer();
135 135
136 renderer->set_render_hint(page_renderer::render_hint::text_antialiasing, 1); 136 renderer->set_render_hint(page_renderer::text_antialiasing, 1);
137 renderer->set_render_hint(page_renderer::render_hint::antialiasing, 1); 137 renderer->set_render_hint(page_renderer::antialiasing, 1);
138 138
139 out = renderer->render_page(doc_page, dpi, dpi, 139 out = renderer->render_page(doc_page, dpi, dpi,
140 0, 0, width, height, 140 0, 0, width, height,