mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +00:00
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:
parent
c639bb976d
commit
35204f8f33
@ -25,6 +25,7 @@
|
|||||||
#include "support/lyxlib.h"
|
#include "support/lyxlib.h"
|
||||||
#include "support/os.h"
|
#include "support/os.h"
|
||||||
#include "support/package.h"
|
#include "support/package.h"
|
||||||
|
#include "support/unicode.h"
|
||||||
|
|
||||||
#include <boost/function.hpp>
|
#include <boost/function.hpp>
|
||||||
#include <boost/filesystem/operations.hpp>
|
#include <boost/filesystem/operations.hpp>
|
||||||
@ -66,6 +67,13 @@ using lyx::support::isFileReadable;
|
|||||||
namespace fs = boost::filesystem;
|
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
|
// Hacks to allow the thing to link in the lyxlayout stuff
|
||||||
LyXErr lyxerr(std::cerr.rdbuf());
|
LyXErr lyxerr(std::cerr.rdbuf());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user