[Libreoffice-commits] core.git: vcl/source

Michael Stahl mstahl at redhat.com
Mon Apr 22 03:58:54 PDT 2013


 vcl/source/filter/jpeg/transupp.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 76a2e7faf00bff6294844e0b43d9fa17f4a78cee
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Apr 22 12:56:03 2013 +0200

    adjust_exif_parameters defined but not used [-Werror=unused-function]
    
    Change-Id: I2bb49bd85844d35301372b4f9d06f11db27fe9ea

diff --git a/vcl/source/filter/jpeg/transupp.c b/vcl/source/filter/jpeg/transupp.c
index 54472ff..33da623 100644
--- a/vcl/source/filter/jpeg/transupp.c
+++ b/vcl/source/filter/jpeg/transupp.c
@@ -1198,6 +1198,7 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
  * We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
  */
 
+#if JPEG_LIB_VERSION >= 70
 LOCAL(void)
 adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
             JDIMENSION new_width, JDIMENSION new_height)
@@ -1347,6 +1348,7 @@ adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
     offset += 12;
   } while (--number_of_tags);
 }
+#endif
 
 
 /* Adjust output image parameters as needed.


More information about the Libreoffice-commits mailing list