[kgraphviewer-devel] [KGraphViewer] ced23df: Clean up unused boost includes in ParsingHelper

Kevin Funk krf at electrostorm.net
Fri Dec 10 18:49:04 CET 2010


commit ced23df46362dbff1f5c9b65246cbb23f99469d2
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date:   Fri Dec 10 18:48:30 2010 +0100

    Clean up unused boost includes in ParsingHelper

diff --git a/src/kgraphviz/support/dotgraphparsinghelper.cpp b/src/kgraphviz/support/dotgraphparsinghelper.cpp
index a982525..dfb4e7f 100644
--- a/src/kgraphviz/support/dotgraphparsinghelper.cpp
+++ b/src/kgraphviz/support/dotgraphparsinghelper.cpp
@@ -25,25 +25,17 @@
 #include "graphnode.h"
 #include "graphedge.h"
 
-#include <boost/throw_exception.hpp>
-#include <boost/spirit/core.hpp>
-#include <boost/spirit/utility/distinct.hpp>
-#include <boost/spirit/utility/loops.hpp>
-#include <boost/spirit/utility/confix.hpp>
-
-#include <iostream>
+#include <limits>
 
 #include <kdebug.h>
 
-#include <QFile>
 #include <QUuid>
 
-using namespace std;
-
 extern KGraphViewer::DotGraphParsingHelper* phelper;
 
 namespace KGraphViewer
 {
+
 #define KGV_MAX_ITEMS_TO_LOAD std::numeric_limits<int>::max()
 
 DotGraphParsingHelper::DotGraphParsingHelper():
diff --git a/src/kgraphviz/support/dotgraphparsinghelper.h b/src/kgraphviz/support/dotgraphparsinghelper.h
index 465bcf1..6c1904f 100644
--- a/src/kgraphviz/support/dotgraphparsinghelper.h
+++ b/src/kgraphviz/support/dotgraphparsinghelper.h
@@ -25,6 +25,7 @@
 
 namespace KGraphViewer
 {
+
 class DotGraph;
 class GraphSubgraph;
 class GraphNode;


More information about the kgraphviewer-devel mailing list