summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-07-07 07:41:42 +0000
committerJon A. Cruz <jon@joncruz.org>2010-07-07 07:41:42 +0000
commit9562e69ff5bc24fdaed1bbbbf5691054a0b297e2 (patch)
tree8fc8091cea1016c74ea8d14bc83da9472b8927fe /src/style.cpp
parentTuning fill-n-stroke to support non-solid swatches. (diff)
downloadinkscape-9562e69ff5bc24fdaed1bbbbf5691054a0b297e2.tar.gz
inkscape-9562e69ff5bc24fdaed1bbbbf5691054a0b297e2.zip
Revert device-color for now.
"commit the awesomesauce" (bzr r9587)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 2b5804671..ffc1fb0ae 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -28,7 +28,6 @@
#include "svg/svg.h"
#include "svg/svg-color.h"
#include "svg/svg-icc-color.h"
-#include "svg/svg-device-color.h"
#include "display/canvas-bpath.h"
#include "attributes.h"
@@ -3259,17 +3258,6 @@ sp_style_read_ipaint(SPIPaint *paint, gchar const *str, SPStyle *style, SPDocume
}
paint->value.color.icc = tmp;
}
- if (strneq(str, "device-gray(", 12) ||
- strneq(str, "device-rgb(", 11) ||
- strneq(str, "device-cmyk(", 12) ||
- strneq(str, "device-nchannel(", 16)) {
- SVGDeviceColor* tmp = new SVGDeviceColor();
- if ( ! sp_svg_read_device_color( str, &str, tmp ) ) {
- delete tmp;
- tmp = 0;
- }
- paint->value.color.device = tmp;
- }
}
}
}