mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21873 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6cfb3e1344
commit
334a76e1d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user