Compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-05-02 08:45:22 +00:00
parent 4d6b99e865
commit 5ba23fae32
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-05-02 Herbert Voss <voss@perce.de>
* filetools.C: getline -> std::getline.
2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxstring.C (operator>>): try a new version of the operator>>

View File

@ -1043,7 +1043,7 @@ string const getExtFromContents(string const & filename)
break;
}
getline(ifs, str);
std::getline(ifs, str);
lyxerr[Debug::GRAPHICS] << "Scanstring: " << str << endl;
string const stamp = str.substr(0,2);
@ -1371,7 +1371,7 @@ string const readBB_from_PSFile(string const & file)
std::ifstream is(file_.c_str());
while (is) {
string s;
getline(is,s);
std::getline(is,s);
if (contains(s,"%%BoundingBox:") && !contains(s,"atend"))
return (frontStrip(s.substr(14)));
}