]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Simplify redoParagraph by merging duplicate code
[lyx.git] / src / Paragraph.h
index 73de6c173b6112d08bca2c9d4e8a9b19384d7c23..50516d77ae9f75eeba4aff6800a04a5a86b949dd 100644 (file)
@@ -39,12 +39,10 @@ class DocumentClass;
 class Inset;
 class InsetBibitem;
 class LaTeXFeatures;
-class Inset_code;
 class InsetList;
 class Language;
 class Layout;
 class Font;
-class Font_size;
 class MetricsInfo;
 class OutputParams;
 class PainterInfo;
@@ -153,6 +151,10 @@ public:
        ///
        void addChangesToToc(DocIterator const & cdit, Buffer const & buf,
                bool output_active) const;
+       /// set the buffer flag if there are changes in the paragraph
+       void addChangesToBuffer(Buffer const & buf) const;
+       ///
+       bool isChangeUpdateRequired() const;
        ///
        Language const * getParLanguage(BufferParams const &) const;
        ///