]> git.lyx.org Git - features.git/commitdiff
compile fix.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 30 Nov 2007 08:35:54 +0000 (08:35 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 30 Nov 2007 08:35:54 +0000 (08:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21873 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 1257d3da3ca427eaf6d2d8a156db782257a077d0..5754d6ed29e70f7acd51020a1ee17aed2d7130bf 100644 (file)
@@ -861,12 +861,10 @@ FuncStatus BufferView::getStatus(FuncRequest const & cmd)
 
 Update::flags BufferView::dispatch(FuncRequest const & cmd)
 {
-       //lyxerr << BOOST_CURRENT_FUNCTION
-       //       << [ cmd = " << cmd << "]" << endl;
+       //lyxerr << [ cmd = " << cmd << "]" << endl;
 
        // Make sure that the cached BufferView is correct.
-       LYXERR(Debug::ACTION, BOOST_CURRENT_FUNCTION
-               << " action[" << cmd.action << ']'
+       LYXERR(Debug::ACTION, " action[" << cmd.action << ']'
                << " arg[" << to_utf8(cmd.argument()) << ']'
                << " x[" << cmd.x << ']'
                << " y[" << cmd.y << ']'
@@ -1306,7 +1304,7 @@ Inset const * BufferView::getCoveringInset(Text const & text, int x, int y)
 
 void BufferView::mouseEventDispatch(FuncRequest const & cmd0)
 {
-       //lyxerr << BOOST_CURRENT_FUNCTION << "[ cmd0 " << cmd0 << "]" << endl;
+       //lyxerr << "[ cmd0 " << cmd0 << "]" << endl;
 
        // This is only called for mouse related events including
        // LFUN_FILE_OPEN generated by drag-and-drop.
@@ -1646,8 +1644,7 @@ bool BufferView::singleParUpdate()
 
        d->update_strategy_ = SingleParUpdate;
 
-       LYXERR(Debug::PAINTING, BOOST_CURRENT_FUNCTION
-               << "\ny1: " << pm.position() - pm.ascent()
+       LYXERR(Debug::PAINTING, "\ny1: " << pm.position() - pm.ascent()
                << " y2: " << pm.position() + pm.descent()
                << " pit: " << bottom_pit
                << " singlepar: 1");
@@ -1722,8 +1719,7 @@ void BufferView::updateMetrics()
        // Take care of descent of last line
        y2 += tm.parMetrics(pit2).descent();
 
-       LYXERR(Debug::PAINTING, BOOST_CURRENT_FUNCTION
-               << "\n y1: " << y1
+       LYXERR(Debug::PAINTING, "\n y1: " << y1
                << " y2: " << y2
                << " pit1: " << pit1
                << " pit2: " << pit2