1 |
--- src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp.libpng 2011-11-25 16:23:42.374652677 +0800 |
2 |
+++ src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp 2011-11-25 16:24:44.556061151 +0800 |
3 |
@@ -185,7 +185,7 @@ |
4 |
/** needed for the stejmp context */ |
5 |
UT_Error IE_ImpGraphic_GdkPixbuf::_png_write(GdkPixbuf * pixbuf) |
6 |
{ |
7 |
- if (setjmp(m_pPNG->jmpbuf)) |
8 |
+ if (setjmp(png_jmpbuf(m_pPNG))) |
9 |
{ |
10 |
DELETEP(m_pPngBB); |
11 |
png_destroy_write_struct(&m_pPNG, &m_pPNGInfo); |
12 |
@@ -446,7 +446,7 @@ |
13 |
* the normal method of doing things with libpng). REQUIRED unless you |
14 |
* set up your own error handlers in the png_create_read_struct() earlier. |
15 |
*/ |
16 |
- if (setjmp(m_pPNG->jmpbuf)) |
17 |
+ if (setjmp(png_jmpbuf(m_pPNG))) |
18 |
{ |
19 |
/* Free all of the memory associated with the png_ptr and info_ptr */ |
20 |
png_destroy_write_struct(&m_pPNG, &m_pPNGInfo); |