[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 15 14:59:22 UTC 2017
vcl/source/filter/jpeg/jpegc.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2b1f0380bee7b5ec50ad90cf24be0b87a3e78c2e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 15 15:58:57 2017 +0100
Actually output the error message
Change-Id: I09e23a4828f5c251687b35fa0b7c70c1018422c0
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index 1dbf2f8..1eb290f 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -64,6 +64,7 @@ extern "C" void outputMessage (j_common_ptr cinfo)
{
char buffer[JMSG_LENGTH_MAX];
(*cinfo->err->format_message) (cinfo, buffer);
+ SAL_WARN("vcl.filter", "failure reading JPEG: " << buffer);
}
void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines,
More information about the Libreoffice-commits
mailing list