hopefully fix tex2lyx linking.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15972 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-18 21:08:16 +00:00
parent c639bb976d
commit 35204f8f33

View File

@ -25,6 +25,7 @@
#include "support/lyxlib.h"
#include "support/os.h"
#include "support/package.h"
#include "support/unicode.h"
#include <boost/function.hpp>
#include <boost/filesystem/operations.hpp>
@ -66,6 +67,13 @@ using lyx::support::isFileReadable;
namespace fs = boost::filesystem;
IconvProcessor & utf8ToUcs4()
{
static IconvProcessor iconv(ucs4_codeset, "UTF-8");
return iconv;
}
// Hacks to allow the thing to link in the lyxlayout stuff
LyXErr lyxerr(std::cerr.rdbuf());