- /// \return the child buffer if the file is a LyX doc and is loaded
- Buffer * getChildBuffer(Buffer const & buffer) const;
- /// \return loaded Buffer or zero if the file loading did not proceed.
- Buffer * loadIfNeeded(Buffer const & parent) const;
+ /// \return the child buffer if the file is a LyX doc and could be loaded
+ Buffer * getChildBuffer() const;