]> git.lyx.org Git - lyx.git/blobdiff - src/TextCache.C
LyX Drinkers United: patch 2
[lyx.git] / src / TextCache.C
index 28f956499bcf3b40c707aff65b12e3e9a39e628b..f7133d60302feff5171c6861452159353fc453ac 100644 (file)
@@ -99,13 +99,13 @@ void TextCache::show(ostream & os, TextCache::value_type const & vt)
 
 void TextCache::add(Buffer * buf, int workwidth, LyXText * text)
 {
-       lyxerr.debug() << "TextCache::add " << text;
+       lyxerr[Debug::INFO] << "TextCache::add " << text;
        if (bufferlist.isLoaded(buf)) {
                cache[buf] = make_pair(workwidth, text);
-               lyxerr.debug() << " added" << endl;
+               lyxerr[Debug::INFO] << " added" << endl;
        } else {
                delete text;
-               lyxerr.debug() << " deleted" << endl;
+               lyxerr[Debug::INFO] << " deleted" << endl;
        }
 }