]> git.lyx.org Git - features.git/blobdiff - src/Converter.cpp
When converting, indicate clearly when buffer should exist
[features.git] / src / Converter.cpp
index f58a188a606a1833db2d09debb6b1f34c53d0d86..104ad0a42c49eea8281ea69da72c5c80ae7d5b33 100644 (file)
@@ -463,6 +463,7 @@ bool Converters::convert(Buffer const * buffer,
                        return false;
 
                if (conv.latex()) {
+                       // We are not importing, we have a buffer
                        LATTEST(buffer);
                        run_latex = true;
                        string command = conv.command();
@@ -474,6 +475,8 @@ bool Converters::convert(Buffer const * buffer,
                                return false;
                } else {
                        if (conv.need_aux() && !run_latex) {
+                               // We are not importing, we have a buffer
+                               LATTEST(buffer);
                                string command;
                                switch (runparams.flavor) {
                                case OutputParams::DVILUATEX: