From: Richard Kimberly Heck Date: Wed, 11 Nov 2020 16:57:05 +0000 (-0500) Subject: Renaming X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=27a4f5a486032e4e53dfa4df86e7fa5ccfdcce28;p=features.git Renaming --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index cf341d58da..e6d1c9158c 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1971,7 +1971,7 @@ Buffer::ExportStatus Buffer::writeLaTeXSource(otexstream & os, // get parent macros (if this buffer has a parent) which will be // written at the document begin further down. - MacroSet parentMacros; + MacroDataSet parentMacros; listParentMacros(parentMacros, features); // Write the preamble @@ -3938,7 +3938,7 @@ void Buffer::listMacroNames(MacroNameSet & macros) const } -void Buffer::listParentMacros(MacroSet & macros, LaTeXFeatures & features) const +void Buffer::listParentMacros(MacroDataSet & macros, LaTeXFeatures & features) const { Buffer const * const pbuf = d->parent(); if (!pbuf) diff --git a/src/Buffer.h b/src/Buffer.h index 2dbc16ca4f..c8946d625c 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -45,7 +45,7 @@ class LaTeXFeatures; class Language; class MacroData; class MacroNameSet; -class MacroSet; +class MacroDataSet; class OutputParams; class otexstream; class ParagraphList; @@ -605,7 +605,7 @@ public: /// List macro names of this buffer, the parent and the children void listMacroNames(MacroNameSet & macros) const; /// Collect macros of the parent and its children in front of this buffer. - void listParentMacros(MacroSet & macros, LaTeXFeatures & features) const; + void listParentMacros(MacroDataSet & macros, LaTeXFeatures & features) const; /// Return macro defined before pos (or in the master buffer) MacroData const * getMacro(docstring const & name, DocIterator const & pos, bool global = true) const; diff --git a/src/mathed/MacroTable.h b/src/mathed/MacroTable.h index 0d5e4a241b..c0e3aa618b 100644 --- a/src/mathed/MacroTable.h +++ b/src/mathed/MacroTable.h @@ -158,7 +158,7 @@ private: /// class MacroNameSet : public std::set {}; /// -class MacroSet : public std::set {}; +class MacroDataSet : public std::set {}; /// A lookup table of macro definitions.