]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.h
Fix typo.
[lyx.git] / src / BiblioInfo.h
index 31c2b54b0f0824c7f8b8c713e9849e8c127d2acd..43b949a6e45dc3e3b8939b2e44908e0285a16502 100644 (file)
@@ -52,10 +52,10 @@ public:
        /// constructor that sets the entryType
        BibTeXInfo(docstring const & key, docstring const & type);
        /// \return the short form of an authorlist, used for sorting
-       docstring const getAbbreviatedAuthor(bool jurabib_style = false) const;
-       /// \return the short form of an authorlist, translated to the
-       /// buffer language.
-       docstring const getAbbreviatedAuthor(Buffer const & buf, bool jurabib_style = false) const;
+       /// this will be translated to the UI language if buf is null
+       /// otherwise, it will be translated to the buffer language.
+       docstring const getAbbreviatedAuthor(
+           Buffer const * buf = 0, bool jurabib_style = false) const;
        ///
        docstring const getYear() const;
        ///
@@ -217,8 +217,6 @@ public:
                std::vector<CitationStyle> const & styles, Buffer const & buf,
                docstring const & before, docstring const & after, docstring const & dialog,
          size_t max_size) const;
-       /// Collects the cited entries from buf.
-       void collectCitedEntries(Buffer const & buf);
        /// A list of BibTeX keys cited in the current document, sorted by
        /// the last name of the author.
        /// Make sure you have called collectCitedEntries() before you try to
@@ -246,6 +244,8 @@ public:
        ///
        void addEntryType(docstring const & f) { entry_types_.insert(f); }
 private:
+       /// Collects the cited entries from buf.
+       void collectCitedEntries(Buffer const & buf);
        ///
        std::set<docstring> field_names_;
        ///