diff options
| author | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 10:06:06 +0000 |
|---|---|---|
| committer | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 10:06:06 +0000 |
| commit | f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1 (patch) | |
| tree | 236cb1804e25c3962677d974324095a2195d34df /src/xml | |
| parent | CMake on Windows produces same output as btool. (diff) | |
| download | inkscape-f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1.tar.gz inkscape-f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1.zip | |
Removed unused includes, decrease compilation time
(bzr r15025)
Diffstat (limited to 'src/xml')
| -rw-r--r-- | src/xml/node-fns.cpp | 1 | ||||
| -rw-r--r-- | src/xml/rebase-hrefs.cpp | 3 | ||||
| -rw-r--r-- | src/xml/repr-css.cpp | 2 | ||||
| -rw-r--r-- | src/xml/repr-io.cpp | 3 | ||||
| -rw-r--r-- | src/xml/repr-util.cpp | 2 | ||||
| -rw-r--r-- | src/xml/repr.cpp | 2 | ||||
| -rw-r--r-- | src/xml/simple-node.cpp | 4 | ||||
| -rw-r--r-- | src/xml/simple-node.h | 1 |
8 files changed, 3 insertions, 15 deletions
diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index eb3870978..e1506e3f2 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -1,5 +1,4 @@ #ifdef HAVE_CONFIG_H -# include "config.h" #endif #include <map> diff --git a/src/xml/rebase-hrefs.cpp b/src/xml/rebase-hrefs.cpp index a8ac3b4cc..7e3d4fa7e 100644 --- a/src/xml/rebase-hrefs.cpp +++ b/src/xml/rebase-hrefs.cpp @@ -4,10 +4,7 @@ #include "io/sys.h" #include "sp-object.h" #include "streq.h" -#include "util/share.h" -#include "xml/attribute-record.h" #include "xml/node.h" -#include <glib.h> #include <glibmm/miscutils.h> #include <glibmm/convert.h> #include <glibmm/uriutils.h> diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index c043904a7..9590fa97f 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -26,10 +26,8 @@ #include "xml/repr.h" #include "xml/simple-document.h" -#include "xml/simple-node.h" #include "xml/sp-css-attr.h" #include "style.h" -#include "libcroco/cr-sel-eng.h" using Inkscape::Util::List; using Inkscape::XML::AttributeRecord; diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 6977bc1e2..5f576d00f 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H -# include <config.h> +#include <config.h> #endif #include <cstring> @@ -39,7 +39,6 @@ #include "preferences.h" #include <glibmm/miscutils.h> -#include <map> using Inkscape::IO::Writer; using Inkscape::Util::List; diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index ce93bccab..4d093a4ea 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -17,8 +17,6 @@ #include "config.h" -#include <math.h> - #if HAVE_STRING_H # include <cstring> #endif diff --git a/src/xml/repr.cpp b/src/xml/repr.cpp index 0a384c9c1..8ad1ac06b 100644 --- a/src/xml/repr.cpp +++ b/src/xml/repr.cpp @@ -17,7 +17,7 @@ #define noREPR_VERBOSE #ifdef HAVE_CONFIG_H -# include "config.h" +#include <config.h> #endif #include <cstring> diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index 3cbedc80b..49057a54b 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -16,19 +16,17 @@ #include <cstring> #include <string> +#include <iostream> #include <glib.h> #include "preferences.h" -#include "xml/node.h" #include "xml/simple-node.h" #include "xml/node-event-vector.h" #include "xml/node-fns.h" -#include "xml/repr.h" #include "debug/event-tracker.h" #include "debug/simple-event.h" -#include "util/share.h" #include "util/format.h" #include "attribute-rel-util.h" diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h index d09392249..2aecdffda 100644 --- a/src/xml/simple-node.h +++ b/src/xml/simple-node.h @@ -19,7 +19,6 @@ #define SEEN_INKSCAPE_XML_SIMPLE_NODE_H #include <cassert> -#include <iostream> #include "xml/node.h" #include "xml/attribute-record.h" |
