Back to index

scribus-ng  1.3.4.dfsg+svn20071115
cmserrorhandling.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 
00008 #include "cmserrorhandling.h"
00009 #include <iostream>
00010 
00011 jmp_buf cmsJumpBuffer;
00012 
00013 int cmsErrorHandler(int /*ErrorCode*/, const char *ErrorText)
00014 {
00015        std::cerr << "Littlecms : " << ErrorText << std::endl;
00016        longjmp(cmsJumpBuffer, 1);
00017        return 1;
00018 }
00019