]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.cpp
last commit was incomplete... not sure how I managed this..
[lyx.git] / src / buffer_funcs.cpp
index ee2a68a37911bd9d7e71d6b2cbddb756024ec885..66ba0dc797a6ea75700de8a74735fa8cd9bc9fab 100644 (file)
@@ -26,7 +26,9 @@
 #include "InsetIterator.h"
 #include "Language.h"
 #include "LaTeX.h"
+#include "Layout.h"
 #include "LyX.h"
+#include "lyxlayout_ptr_fwd.h"
 #include "TextClass.h"
 #include "TextClassList.h"
 #include "Paragraph.h"
@@ -346,7 +348,7 @@ depth_type getDepth(DocIterator const & it)
 depth_type getItemDepth(ParIterator const & it)
 {
        Paragraph const & par = *it;
-       LYX_LABEL_TYPES const labeltype = par.layout()->labeltype;
+       LabelType const labeltype = par.layout()->labeltype;
 
        if (labeltype != LABEL_ENUMERATE && labeltype != LABEL_ITEMIZE)
                return 0;
@@ -624,8 +626,8 @@ void updateLabels(Buffer const & buf, bool childonly)
        // FIXME
        // the embedding signal is emitted with structureChanged signal
        // this is inaccurate so these two will be separated later.
-       cbuf.embeddedFiles().update();
-       cbuf.embeddingChanged();
+       //cbuf.embeddedFiles().update();
+       //cbuf.embeddingChanged();
 }