Update ooo320-m1
[ooovba.git] / applied_patches / 0622-pdfimport-lax-restrictions.diff
blob5b2f48f9aba0d613054649714ce5317c9e35f0f9
1 diff --git filter/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx filter/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
2 index f597fc6..6b87e7c 100644
3 --- sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
4 +++ sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
5 @@ -146,11 +146,7 @@ int main(int argc, char **argv)
8 // Check various permissions.
9 - if ( !aDoc.isOk()||
10 - !aDoc.okToPrint() ||
11 - !aDoc.okToChange()||
12 - !aDoc.okToCopy()||
13 - !aDoc.okToAddNotes() )
14 + if ( !aDoc.isOk() )
16 pdfi::PDFOutDev* pOutDev( new pdfi::PDFOutDev(&aErrDoc) );