From 79ca6fbe6dd0f047348e82740eb2f19834c72506 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 28 Jun 2002 05:49:35 +0000 Subject: [PATCH] fix compilation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4500 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/formula.C | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mathed/formula.C b/src/mathed/formula.C index 9dc7b582c3..d66adac7d3 100644 --- a/src/mathed/formula.C +++ b/src/mathed/formula.C @@ -44,7 +44,6 @@ #include "math_support.h" #include "math_mathmlstream.h" #include "textpainter.h" -#include "preview.h" #include #include @@ -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)); -- 2.39.2