]> git.lyx.org Git - features.git/commitdiff
compilation fix
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 15 Aug 2007 13:47:32 +0000 (13:47 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 15 Aug 2007 13:47:32 +0000 (13:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19590 a592a061-630c-0410-9148-cb99ea01b6c8

src/buffer_funcs.cpp

index 85044361a79141df1c57f597808ce4dd6bf7ddd8..e7bd3949eacb5cf4e0e6e3ce4546d5097a22c2e7 100644 (file)
@@ -35,6 +35,7 @@
 #include "ParIterator.h"
 #include "LyXVC.h"
 #include "TexRow.h"
+#include "Text.h"
 #include "TocBackend.h"
 #include "VCBackend.h"
 
@@ -600,9 +601,10 @@ void updateLabels(Buffer const & buf, bool childonly)
        Buffer & cbuf = const_cast<Buffer &>(buf);
 
        if (buf.text().empty()) {
-               // FIXME: we don't call continue with updateLabels() here because
-               // it crashes on newly created documents. But the TocBackend needs to
-               // be initialised nonetheless so we update the tocBackend manually.
+               // FIXME: we don't call continue with updateLabels()
+               // here because it crashes on newly created documents.
+               // But the TocBackend needs to be initialised
+               // nonetheless so we update the tocBackend manually.
                cbuf.tocBackend().update();
                return;
        }