From 025138f30c914c91df06703469bd15b14d520e15 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 6 Dec 2009 22:53:47 +0000 Subject: [PATCH] Minor XHTML fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32378 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 3 +++ src/Buffer.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 15c7553af2..1a416d68c0 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1417,6 +1417,9 @@ void Buffer::writeLyXHTMLSource(odocstream & os, { LaTeXFeatures features(*this, params(), runparams); validate(features); + // We are going to use some of this stuff ourselves, + // so make sure it is up to date. + updateLabels(); d->texrow.reset(); diff --git a/src/Buffer.h b/src/Buffer.h index 3e3dbe02b4..c941f06465 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -572,7 +572,7 @@ private: class Impl; /// The pointer never changes although *pimpl_'s contents may. Impl * const d; - + /// frontend::GuiBufferDelegate * gui_; /// This function is called when the buffer structure is changed.