]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.cpp
reduce line noise
[features.git] / src / insets / InsetText.cpp
index cc33329a974fc8867ba3a6e9c267cc556a0d81f7..c43a57e3f0afc8cfaa25bf8b25cf669da1639f78 100644 (file)
 #include "ParIterator.h"
 #include "Row.h"
 #include "sgml.h"
+#include "TextClass.h"
 #include "TextMetrics.h"
 #include "TexRow.h"
 
 #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 {
@@ -228,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);
 }