]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.C
Move #includes out of header files.
[lyx.git] / src / ToolbarBackend.C
index 69cddfe234f567c4b80ad17af7371d744c8678f8..c605f27b8d84e0fd682778a8d7748c9e667f83e8 100644 (file)
@@ -3,14 +3,16 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author unknown
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
 #include "ToolbarBackend.h"
+#include "funcrequest.h"
 #include "LyXAction.h"
 #include "lyxlex.h"
 #include "debug.h"
@@ -24,6 +26,8 @@
 
 #include <vector>
 
+using namespace lyx::support;
+
 using std::endl;
 using std::vector;
 using std::make_pair;
@@ -236,9 +240,9 @@ string const ToolbarBackend::getIcon(int action)
                                   << fullname << '\'' << endl;
                return fullname;
        }
-       
-       lyxerr[Debug::GUI] << "Cannot find icon for command \"" 
-                          << lyxaction.getActionName(f.action) 
+
+       lyxerr[Debug::GUI] << "Cannot find icon for command \""
+                          << lyxaction.getActionName(f.action)
                           << ' ' << f.argument << '"' << endl;
        return LibFileSearch("images", "unknown", "xpm");
 }