From 1b2add70be11025b9b26c411bc8c242c5d9f5356 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 22 Oct 2018 11:38:37 +0200 Subject: Remove 'document-private.h' where not needed plus some other header cleanup. --- src/object/sp-gradient.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/object/sp-gradient.cpp') 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 #include -#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 { -- cgit v1.2.3