summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdib Taraben <theadib@gmail.com>2007-09-11 15:37:58 +0000
committertheadib <theadib@users.sourceforge.net>2007-09-11 15:37:58 +0000
commitf464792d75a18b3ed464591ae4aa4062715e84d0 (patch)
tree0a64bfe03c39590cad3e59c5f42a8c9e00fbf4d8
parentUse angle step from prefs for rotation of PLs; Alt+parentheses rotate PLs by ... (diff)
downloadinkscape-f464792d75a18b3ed464591ae4aa4062715e84d0.tar.gz
inkscape-f464792d75a18b3ed464591ae4aa4062715e84d0.zip
Purged fill type, stroke type enum
(bzr r3721)
-rw-r--r--src/extension/internal/emf-win32-print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/emf-win32-print.cpp b/src/extension/internal/emf-win32-print.cpp
index 9b1b77f16..9e76ce457 100644
--- a/src/extension/internal/emf-win32-print.cpp
+++ b/src/extension/internal/emf-win32-print.cpp
@@ -455,7 +455,7 @@ PrintEmfWin32::fill(Inkscape::Extension::Print *mod,
flush_fill(); // flush any pending fills
- if (style->fill.type == SP_PAINT_TYPE_COLOR) {
+ if (style->fill.isColor()) {
create_brush(style);
} else {
// create_brush(NULL);
@@ -485,7 +485,7 @@ PrintEmfWin32::stroke (Inkscape::Extension::Print *mod,
flush_fill(); // flush any pending fills
}
- if (style->stroke.type == SP_PAINT_TYPE_COLOR) {
+ if (style->stroke.isColor()) {
create_pen(style);
} else {
// create_pen(NULL);