]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
Fix broken layout file syntax
[lyx.git] / src / output_plaintext.cpp
index 2b6af82a4354a133ddd7fb0bc50794660ec25247..f0a383df4c02591c6afb0851f0cfc8873d1021ff 100644 (file)
@@ -40,7 +40,7 @@ void writePlaintextFile(Buffer const & buf, FileName const & fname,
 
        // make sure we are ready to export
        buf.updateBuffer();
-       buf.updateMacroInstances();
+       buf.updateMacroInstances(OutputUpdate);
 
        writePlaintextFile(buf, ofs, runparams);
 }
@@ -71,6 +71,7 @@ static pair<int, docstring> addDepth(int depth, int ldepth)
        return make_pair(d, docstring(d, ' '));
 }
 
+
 void writePlaintextParagraph(Buffer const & buf,
                    Paragraph const & par,
                    odocstream & os,