summaryrefslogtreecommitdiffstats
path: root/src/object/sp-gradient.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-10-22 09:38:37 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-10-22 09:38:37 +0000
commit1b2add70be11025b9b26c411bc8c242c5d9f5356 (patch)
tree888f27a1a3f467eaa6d8a51ff4a63c7e408b1a41 /src/object/sp-gradient.cpp
parentAdd LibreOffice SOC to GIMP GPL palette format script (diff)
downloadinkscape-1b2add70be11025b9b26c411bc8c242c5d9f5356.tar.gz
inkscape-1b2add70be11025b9b26c411bc8c242c5d9f5356.zip
Remove 'document-private.h' where not needed plus some other header cleanup.
Diffstat (limited to 'src/object/sp-gradient.cpp')
-rw-r--r--src/object/sp-gradient.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/object/sp-gradient.cpp b/src/object/sp-gradient.cpp
index 0fe7f1943..c8e7f92b0 100644
--- a/src/object/sp-gradient.cpp
+++ b/src/object/sp-gradient.cpp
@@ -36,13 +36,11 @@
#include <sigc++/functors/ptr_fun.h>
#include <sigc++/adaptors/bind.h>
-#include "bad-uri-exception.h"
-#include "display/cairo-utils.h"
-#include "svg/svg.h"
-#include "svg/css-ostringstream.h"
#include "attributes.h"
-#include "document-private.h"
+#include "bad-uri-exception.h"
+#include "document.h"
#include "gradient-chemistry.h"
+
#include "sp-gradient-reference.h"
#include "sp-linear-gradient.h"
#include "sp-radial-gradient.h"
@@ -51,8 +49,10 @@
#include "sp-mesh-patch.h"
#include "sp-stop.h"
-/// Has to be power of 2 Seems to be unused.
-//#define NCOLORS NR_GRADIENT_VECTOR_LENGTH
+#include "display/cairo-utils.h"
+
+#include "svg/svg.h"
+#include "svg/css-ostringstream.h"
bool SPGradient::hasStops() const
{