void saveSelection(LCursor & cur)
{
- if (lyxerr.debugging(Debug::ACTION))
- lyxerr << BOOST_CURRENT_FUNCTION << ": `"
- << to_utf8(cur.selectionAsString(true)) << "'."
- << endl;
+ LYXERR(Debug::ACTION) << BOOST_CURRENT_FUNCTION << ": `"
+ << to_utf8(cur.selectionAsString(true)) << "'."
+ << endl;
if (cur.selection())
copySelectionToStack(cur, selectionBuffer);