]> git.lyx.org Git - lyx.git/commitdiff
fix compilation
authorAndré Pönitz <poenitz@gmx.net>
Fri, 28 Jun 2002 05:49:35 +0000 (05:49 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 28 Jun 2002 05:49:35 +0000 (05:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4500 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/formula.C

index 9dc7b582c3261e18616f8da691127642cdee2570..d66adac7d3579fd1d950939c4a4d56f397db2ded 100644 (file)
@@ -44,7 +44,6 @@
 #include "math_support.h"
 #include "math_mathmlstream.h"
 #include "textpainter.h"
-#include "preview.h"
 
 #include <fstream>
 #include <boost/bind.hpp>
@@ -468,7 +467,7 @@ void InsetFormula::updatePreview()
        // is this old data?
        if (it != theCache.end()) {
                // we have already a loader, connect to it anyway
-               lyxerr << "### updatePreview(), old loader: " << loader_ << "\n";
+               //lyxerr << "### updatePreview(), old loader: " << loader_ << "\n";
                loader_ = it->second.get();
                loader_->statusChanged.connect
                        (boost::bind(&InsetFormula::statusChanged, this));
@@ -482,7 +481,7 @@ void InsetFormula::updatePreview()
        string file = os.str();
 
        // the real work starts
-       lyxerr << "### updatePreview(), new file " << file << "\n";
+       //lyxerr << "### updatePreview(), new file " << file << "\n";
        std::ofstream of(file.c_str());
        of << "\\batchmode"
                 << "\\documentclass{article}"
@@ -496,8 +495,8 @@ void InsetFormula::updatePreview()
 
        // now we are done, start actual loading we will get called back via
        // InsetFormula::statusChanged() if this is finished
-       lyxerr << "### updatePreview(), new loader: " << loader_ << "\n";
        theCache[data].reset(new grfx::Loader(file));
+       //lyxerr << "### updatePreview(), new loader: " << loader_ << "\n";
        loader_ = theCache.find(data)->second.get();
        loader_->startLoading();
        loader_->statusChanged.connect(boost::bind(&InsetFormula::statusChanged, this));