]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.cpp
reduce line noise
[features.git] / src / insets / InsetText.cpp
index d8cbd8eeb48100fe739449dccc60bc5d4e07c0b1..c43a57e3f0afc8cfaa25bf8b25cf669da1639f78 100644 (file)
 #include "frontends/alert.h"
 #include "frontends/Painter.h"
 
-#include "support/lyxalgo.h" // count
+#include "support/lstrings.h"
 
 #include <boost/bind.hpp>
-#include <boost/current_function.hpp>
-#include <boost/signal.hpp>
-
-#include <sstream>
+#include <boost/assert.hpp>
 
 
 namespace lyx {
@@ -229,9 +226,8 @@ Inset * InsetText::editXY(Cursor & cur, int x, int y)
 
 void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
-       LYXERR(Debug::ACTION) << BOOST_CURRENT_FUNCTION
-                            << " [ cmd.action = "
-                            << cmd.action << ']' << endl;
+       LYXERR(Debug::ACTION, "InsetText::doDispatch()"
+               << " [ cmd.action = " << cmd.action << ']');
        text_.dispatch(cur, cmd);
 }