mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Fix compilation, including the missing boosts header,
avoid signed/unsigned comparison. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0cfc9133bb
commit
741948e903
@ -1,3 +1,8 @@
|
||||
2004-10-25 José Matos <jamatos@lyx.org>
|
||||
|
||||
* sgml.C (escapeString): import the require boosts header file for
|
||||
tie, and avoid a signed unsigned comparison.
|
||||
|
||||
2004-10-25 José Matos <jamatos@lyx.org>
|
||||
|
||||
* sgml.h: add #include <string>
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "support/std_ostream.h"
|
||||
#include "support/tostr.h"
|
||||
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
#include <sstream>
|
||||
|
||||
using lyx::support::subst;
|
||||
@ -100,7 +101,7 @@ string escapeString(string const & raw)
|
||||
{
|
||||
ostringstream bin;
|
||||
|
||||
for(int i=0; i < raw.size(); ++i) {
|
||||
for(unsigned int i=0; i < raw.size(); ++i) {
|
||||
bool ws;
|
||||
string str;
|
||||
boost::tie(ws, str) = sgml::escapeChar(raw[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user