]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.C
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
[lyx.git] / src / rowpainter.C
index 9e267b798d149fef9cb179d3896f7d014bad4135..ca35c85e319d70f3842f45f9b6241390f0b68ab4 100644 (file)
@@ -955,9 +955,9 @@ void paintPar
                        // 12 lines lower):
                        if (lyxerr.debugging(Debug::PAINTING)) {
                                if (text.isMainText(*pi.base.bv->buffer()))
-                                       lyxerr[Debug::PAINTING] << "#";
+                                       LYXERR(Debug::PAINTING) << "#";
                                else
-                                       lyxerr[Debug::PAINTING] << "[" <<
+                                       LYXERR(Debug::PAINTING) << "[" <<
                                                repaintAll << row_has_changed <<
                                                cursor_on_row << "]";
                        }
@@ -978,7 +978,7 @@ void paintPar
        pi.pain.setDrawingEnabled(true);
 
        if (lyxerr.debugging(Debug::PAINTING)) {
-               lyxerr[Debug::PAINTING] << "." << endl;
+               LYXERR(Debug::PAINTING) << "." << endl;
        }
 }