]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.cpp
At least for now, this has to be done differently.
[lyx.git] / src / output_docbook.cpp
index a9727da2ad7c601184d59b944ee78b27948c8a27..59412b9adae333c32f9f3c23ac4e2d56ed59c06d 100644 (file)
@@ -3,8 +3,8 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
- * \author José Matos
+ * \author Lars Gullik Bjønnes
+ * \author José Matos
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -27,7 +27,6 @@
 #include "TextClass.h"
 
 #include "support/lassert.h"
-#include "support/convert.h"
 #include "support/debug.h"
 #include "support/lstrings.h"
 
@@ -157,7 +156,7 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
                        if (!bstyle.labeltag().empty()) {
                                sgml::openTag(os, bstyle.innertag(), id);
                                sgml::openTag(os, bstyle.labeltag());
-                               sep = par->firstWord(os, runparams) + 1;
+                               sep = par->firstWordDocBook(os, runparams) + 1;
                                sgml::closeTag(os, bstyle.labeltag());
                        }
                        wrapper = defaultstyle.latexname();