summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-15 15:58:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-15 15:58:57 +0100
commit2b1f0380bee7b5ec50ad90cf24be0b87a3e78c2e (patch)
treee903a56996f0728dbe4ef2ebdcba5279ace5f3e9
parent2f5682dbc26067f3fe050889e96ebc70716abd90 (diff)
Actually output the error message
Change-Id: I09e23a4828f5c251687b35fa0b7c70c1018422c0
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index 1dbf2f8fb92b..1eb290f3d2ff 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,