Kaydet (Commit) 8ecf0d45 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Add jpegint.h to jpeg module. Fix warning in Exif.

Change-Id: I098ad140d013f1bda057416b2e0622bc038d2a30
üst 2fa3cde1
......@@ -13,6 +13,7 @@ $(eval $(call gb_ExternalPackage_add_unpacked_files,jpeg_inc,inc/external/jpeg,\
jconfig.h \
jerror.h \
jmorecfg.h \
jpegint.h \
jpeglib.h \
))
......
......@@ -62,7 +62,7 @@ sal_Int32 Exif::getRotation()
case LEFT_BOTTOM:
return 900;
default:
return 0;
break;
}
return 0;
}
......@@ -93,7 +93,6 @@ bool Exif::write(SvStream& rStream)
bool Exif::processJpeg(SvStream& rStream, bool bSetValue)
{
sal_uInt16 aMagic16;
sal_uInt8 aMarker;
sal_uInt16 aLength;
rStream.Seek(STREAM_SEEK_TO_END);
......@@ -113,7 +112,9 @@ bool Exif::processJpeg(SvStream& rStream, bool bSetValue)
while(true)
{
sal_uInt8 aMarker = 0xD9;
sal_Int32 aCount;
for (aCount = 0; aCount < 7; aCount++)
{
rStream >> aMarker;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment