From 4b392c8ff9ba97ba59bfb247467e88398b6c1039 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Thu, 2 May 2002 10:46:51 +0000 Subject: [PATCH] using std::getline git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4113 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/support/filetools.C b/src/support/filetools.C index 09e5c2bf0b..fd72e7450f 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -67,6 +67,7 @@ using std::pair; using std::endl; using std::ifstream; using std::vector; +using std::getline; extern string system_lyxdir; extern string build_lyxdir; @@ -1043,7 +1044,7 @@ string const getExtFromContents(string const & filename) break; } - std::getline(ifs, str); + getline(ifs, str); lyxerr[Debug::GRAPHICS] << "Scanstring: " << str << endl; string const stamp = str.substr(0,2); @@ -1371,7 +1372,7 @@ string const readBB_from_PSFile(string const & file) std::ifstream is(file_.c_str()); while (is) { string s; - std::getline(is,s); + getline(is,s); if (contains(s,"%%BoundingBox:") && !contains(s,"atend")) return (frontStrip(s.substr(14))); } -- 2.39.2