Date: Saturday, January 19, 2019 @ 13:23:41 Author: arojas Revision: 424617
Fix patch whitespace Modified: gambas3/trunk/gambas-poppler-0.73.patch ---------------------------+ gambas-poppler-0.73.patch | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: gambas-poppler-0.73.patch =================================================================== --- gambas-poppler-0.73.patch 2019-01-19 13:16:57 UTC (rev 424616) +++ gambas-poppler-0.73.patch 2019-01-19 13:23:41 UTC (rev 424617) @@ -3,16 +3,15 @@ --- a/gb.pdf/src/CPdfDocument.cpp +++ b/gb.pdf/src/CPdfDocument.cpp @@ -457,10 +457,10 @@ int32_t open_document (void *_object, char *sfile, int32_t lfile) - if ( GB.LoadFile(sfile,lfile,&buf,&len) ) return -1; + if ( GB.LoadFile(sfile,lfile,&buf,&len) ) return -1; - #if POPPLER_VERSION_0_58 -- stream=new MemStream(buf,0,(Guint)len,std::move(obj)); -+ stream=new MemStream(buf,0,(unsigned int)len,std::move(obj)); - #else - obj.initNull(); -- stream=new MemStream(buf,0,(Guint)len,&obj); -+ stream=new MemStream(buf,0,(unsigned int)len,&obj); - #endif - test=new PDFDoc (stream,0,0); + #if POPPLER_VERSION_0_58 +- stream=new MemStream(buf,0,(Guint)len,std::move(obj)); ++ stream=new MemStream(buf,0,(unsigned int)len,std::move(obj)); + #else + obj.initNull(); +- stream=new MemStream(buf,0,(Guint)len,&obj); ++ stream=new MemStream(buf,0,(unsigned int)len,&obj); + #endif + test=new PDFDoc (stream,0,0); -
