]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
After a hiatus, I'm returning to the rewrite of InsetCommandParams, the purpose of...
[lyx.git] / src / output_latex.cpp
index 4865845b455ff465dc363271949719ad74d625c9..cdf8a5bb21b21c21f59c0ed2a8a1141fa056132c 100644 (file)
@@ -109,8 +109,7 @@ TeXEnvironment(Buffer const & buf,
        BufferParams const & bparams = buf.params();
 
        LayoutPtr const & style = pit->forceEmptyLayout() ?
-                       bparams.getTextClass().emptyLayout() :
-                       pit->layout();
+                       bparams.textClass().emptyLayout() : pit->layout();
 
        ParagraphList const & paragraphs = text.paragraphs();
 
@@ -310,8 +309,7 @@ TeXOnePar(Buffer const & buf,
        // In an inset with unlimited length (all in one row),
        // force layout to default
        LayoutPtr const style = pit->forceEmptyLayout() ?
-               bparams.getTextClass().emptyLayout() :
-               pit->layout();
+               bparams.textClass().emptyLayout() : pit->layout();
 
        OutputParams runparams = runparams_in;
        runparams.moving_arg |= style->needprotect;
@@ -479,7 +477,7 @@ TeXOnePar(Buffer const & buf,
                }
        }
 
-       bool const useSetSpace = bparams.getTextClass().provides("SetSpace");
+       bool const useSetSpace = bparams.textClass().provides("SetSpace");
        if (pit->allowParagraphCustomization()) {
                if (pit->params().startOfAppendix()) {
                        os << "\\appendix\n";
@@ -745,7 +743,7 @@ void latexParagraphs(Buffer const & buf,
        bool was_title = false;
        bool already_title = false;
        BufferParams const & bparams = buf.params();
-       TextClass const & tclass = bparams.getTextClass();
+       TextClass const & tclass = bparams.textClass();
        ParagraphList const & paragraphs = text.paragraphs();
        ParagraphList::const_iterator par = paragraphs.begin();
        ParagraphList::const_iterator endpar = paragraphs.end();