]> git.lyx.org Git - lyx.git/blobdiff - src/sgml.cpp
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / sgml.cpp
index 329a6b3c381d0ada3d32fd894e3c25e68034b4e3..68a96a3717f9011fa07332489dc4ad36c9ddccf1 100644 (file)
@@ -16,7 +16,7 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "Counters.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "OutputParams.h"
 #include "Paragraph.h"
 
@@ -181,7 +181,7 @@ docstring sgml::cleanID(Buffer const & buf, OutputParams const & runparams,
 
 void sgml::openTag(odocstream & os, string const & name, string const & attribute)
 {
-        // FIXME UNICODE
+       // FIXME UNICODE
        // This should be fixed in layout files later.
        string param = subst(attribute, "<", "\"");
        param = subst(param, ">", "\"");
@@ -205,7 +205,7 @@ void sgml::closeTag(odocstream & os, string const & name)
 void sgml::openTag(Buffer const & buf, odocstream & os,
        OutputParams const & runparams, Paragraph const & par)
 {
-       Layout_ptr const & style = par.layout();
+       LayoutPtr const & style = par.layout();
        string const & name = style->latexname();
        string param = style->latexparam();
        Counters & counters = buf.params().getTextClass().counters();
@@ -240,7 +240,7 @@ void sgml::openTag(Buffer const & buf, odocstream & os,
 
 void sgml::closeTag(odocstream & os, Paragraph const & par)
 {
-       Layout_ptr const & style = par.layout();
+       LayoutPtr const & style = par.layout();
        closeTag(os, style->latexname());
 }