]> www.fi.muni.cz Git - evince.git/commit
Use poppler_document_save_a_copy(), which never saves the document
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 22 Feb 2009 16:38:34 +0000 (16:38 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 22 Feb 2009 16:38:34 +0000 (16:38 +0000)
commit287b48d13249bb7a06f143b869668bfe293f0a7c
treeb07fc8787c0ed513b19d5151169bfc79641a041f
parent12ed90dfceb09e75f8e739ee7e57fa981ed34a15
Use poppler_document_save_a_copy(), which never saves the document

2009-02-22  Carlos Garcia Campos  <carlosgc@gnome.org>

* backend/pdf/ev-poppler.cc: (pdf_document_save),
(pdf_document_forms_form_field_text_set_text),
(pdf_document_forms_form_field_button_set_state),
(pdf_document_forms_form_field_choice_select_item),
(pdf_document_forms_form_field_choice_toggle_item),
(pdf_document_forms_form_field_choice_unselect_all),
(pdf_document_forms_form_field_choice_set_text):

Use poppler_document_save_a_copy(), which never saves the document
modifications, when saving an unmodified document. It makes saving
a copy of encrypted PDFs work again. Fixes bug #566791.

svn path=/trunk/; revision=3493
ChangeLog
backend/pdf/ev-poppler.cc