]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.C
fix linking problem with boost
[lyx.git] / src / exporter.C
index 7d9c2b3f09de64253175d85e765b5bade4fd5122..49a66b2f716b2689ab55b656e09e9e899aaa05db 100644 (file)
@@ -39,7 +39,8 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        if (bv) {
                // Remove all error insets
                if (bv->removeAutoInsets()) {
-                       bv->redraw();
+#warning repaint() or update() or nothing ?
+                       bv->repaint();
                        bv->fitCursor();
                }
        }
@@ -107,6 +108,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return true;
 }
 
+
 bool Exporter::Export(Buffer * buffer, string const & format,
                      bool put_in_tempdir)
 {
@@ -114,6 +116,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return Export(buffer, format, put_in_tempdir, result_file);
 }
 
+
 bool Exporter::Preview(Buffer * buffer, string const & format)
 {
        string result_file;
@@ -162,6 +165,7 @@ string const Exporter::BufferFormat(Buffer const * buffer)
                return "latex";
 }
 
+
 vector<string> const Exporter::Backends(Buffer const * buffer)
 {
        vector<string> v;