X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer_funcs.cpp;h=66ba0dc797a6ea75700de8a74735fa8cd9bc9fab;hb=58ab972f714309aa87e7d956ceda00e18337875f;hp=ee2a68a37911bd9d7e71d6b2cbddb756024ec885;hpb=3611b0ff3380fd0b18bdc35dd07e7c41423dc19a;p=lyx.git diff --git a/src/buffer_funcs.cpp b/src/buffer_funcs.cpp index ee2a68a379..66ba0dc797 100644 --- a/src/buffer_funcs.cpp +++ b/src/buffer_funcs.cpp @@ -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(); }