X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer.h;h=018ee81457dc354ad7b4894870abd2c4f962c21a;hb=f8f59e97fb06149528a180c5964c9abb27e079a1;hp=f37336790b9727b214755353b089e70a69afc556;hpb=9eab5fa88a3081ef02aa0effb6117af9715908fa;p=lyx.git diff --git a/src/buffer.h b/src/buffer.h index f37336790b..018ee81457 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -99,7 +99,7 @@ public: void loadAutoSaveFile(); /// load a new file - bool readFile(std::string const & filename); + bool readFile(support::FileName const & filename); /// read the header, returns number of unknown tokens int readHeader(LyXLex & lex); @@ -255,7 +255,7 @@ public: void validate(LaTeXFeatures &) const; /// return all bibkeys from buffer and its childs - void fillWithBibKeys(std::vector > & keys) const; + void fillWithBibKeys(std::vector > & keys) const; /// Update the cache with all bibfiles in use (including bibfiles /// of loaded child documents). void updateBibfilesCache(); @@ -367,7 +367,7 @@ private: /** Inserts a file into a document \return \c false if method fails. */ - bool readFile(LyXLex &, std::string const & filename); + bool readFile(LyXLex &, support::FileName const & filename); bool do_writeFile(std::ostream & ofs) const;