Changeset 286 for trunk/src/PDFDocument.cxx
- Timestamp:
- 10/08/07 07:52:56 (14 months ago)
- Files:
-
- 1 modified
-
trunk/src/PDFDocument.cxx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PDFDocument.cxx
r279 r286 686 686 repairEmpty(textRect); 687 687 688 #if defined (HAVE_POPPLER_0_6_0) 689 gchar *text = poppler_page_get_text(page, POPPLER_SELECTION_GLYPH, 690 &textRect); 691 #else // !HAVE_POPPLER_0_6_0 688 692 gchar *text = poppler_page_get_text(page, &textRect); 693 #endif // HAVE_POPPLER_0_6_0 689 694 if(!text) 690 695 goto cleanup; … … 722 727 723 728 //calc selection size 729 #if defined (HAVE_POPPLER_0_6_0) 730 res = poppler_page_get_selection_region(page, getZoom(), 731 POPPLER_SELECTION_GLYPH, &rect); 732 #else // !HAVE_POPPLER_0_6_0 724 733 res = poppler_page_get_selection_region(page, getZoom(), &rect); 734 #endif // HAVE_POPPLER_0_6_0 725 735 726 736 //free some local data
