]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/biblio.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / biblio.h
index cc39875b4df9834de5d0f4ee44aa5860b09bed20..6da958af11c714d497dfdf54fde336043ec8a322 100644 (file)
@@ -19,6 +19,7 @@
 class Buffer;
 
 /** Functions of use to citation and bibtex GUI controllers and views */
+namespace lyx {
 namespace biblio {
 
 class CiteEngine_enum;
@@ -102,7 +103,8 @@ searchKeys(InfoMap const & map,
           bool caseSensitive=false);
 
 
-struct CitationStyle {
+class CitationStyle {
+public:
        ///
        CitationStyle(CiteStyle s = CITE, bool f = false, bool force = false)
                : style(s), full(f), forceUCase(force) {}
@@ -156,6 +158,8 @@ std::vector<std::string> const
 getAuthorYearStrings(std::string const & key,
                     InfoMap const & map,
                     std::vector<CiteStyle> const & styles);
+
 } // namespace biblio
+} // namespace lyx
 
 #endif // BIBLIOHELPERS_H