Hello Francesco, hello all,
> On 22 February 2018 at 12:20 Francesco Pretto <cez...@gmail.com> wrote:
> 
> 
> ---
>   src/doc/PdfAnnotation.cpp | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/src/doc/PdfAnnotation.cpp b/src/doc/PdfAnnotation.cpp
> index a02f05d..f95e82c 100644
> --- a/src/doc/PdfAnnotation.cpp
> +++ b/src/doc/PdfAnnotation.cpp
> @@ -92,10 +92,6 @@ PdfAnnotation::PdfAnnotation( PdfPage* pPage, 
> EPdfAnnotation eAnnot, const PdfRe
>           PODOFO_RAISE_ERROR( ePdfError_InvalidHandle );
>       }
>   
> -    rRect.ToVariant( rect );
> -
> -    this->GetObject()->GetDictionary().AddKey( PdfName::KeyRect, rect );
> -
>       rRect.ToVariant( rect );
>       date.ToString( sDate );
>       
> -- 
> 2.16.1.windows.1
> 

this patch looks good, builds without warnings (Debian sid chroot, GCC 7.3)
and tests out OK with test/unit/podofo-test (no specific test in it ;-(
only in ElementTest there are some similarly-named tests). Therefore:
Thanks for the patch, I accepted and committed it in svn r1894:
https://sourceforge.net/p/podofo/code/1894/

Further patch reviewing/testing will be done by me tomorrow, I need (some
more) sleep very soon.

Best regards, mabri

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to