mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d6b99e865
commit
5ba23fae32
@ -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>>
|
||||
|
@ -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)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user