mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4071 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
092e3ca6ec
commit
66c63a89ef
@ -40,9 +40,8 @@ MathArrayInset::MathArrayInset(string const & name, string const & str)
|
|||||||
{
|
{
|
||||||
vector< vector<string> > dat;
|
vector< vector<string> > dat;
|
||||||
istringstream is(str.c_str());
|
istringstream is(str.c_str());
|
||||||
while (is) {
|
string line;
|
||||||
string line;
|
while (getline(is, line)) {
|
||||||
getline(is, line);
|
|
||||||
istringstream ls(line.c_str());
|
istringstream ls(line.c_str());
|
||||||
typedef istream_iterator<string> iter;
|
typedef istream_iterator<string> iter;
|
||||||
vector<string> v = vector<string>(iter(ls), iter());
|
vector<string> v = vector<string>(iter(ls), iter());
|
||||||
|
Loading…
Reference in New Issue
Block a user