X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer.h;h=ba3ec7c40c752569b620f5aad9b9cc11a6bd8aa4;hb=e2cd4d4c44f7c604a45dd9de9c9ade0d7c09eefc;hp=f181ded04bd897df4b3124d883ba326970083c2a;hpb=a685a01ef72203f75cef81a7fe5f0f0ab7ba332d;p=lyx.git diff --git a/src/buffer.h b/src/buffer.h index f181ded04b..ba3ec7c40c 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -93,8 +93,6 @@ public: /// load a new file bool readFile(std::string const & filename); - bool readFile(std::string const & filename, lyx::pit_type pit); - /// read the header, returns number of unknown tokens int readHeader(LyXLex & lex); @@ -333,14 +331,14 @@ public: StableDocIterator getCursor() const { return cursor_; } /// StableDocIterator getAnchor() const { return anchor_; } + /// + void changeRefsIfUnique(std::string const & from, std::string const & to); private: /** Inserts a file into a document - \param par if != 0 insert the file. \return \c false if method fails. */ - bool readFile(LyXLex &, std::string const & filename, - lyx::pit_type pit); + bool readFile(LyXLex &, std::string const & filename); bool do_writeFile(std::ostream & ofs) const;