From 983617470fa8f5eb160b368c2439709dab253643 Mon Sep 17 00:00:00 2001 From: theadib Date: Tue, 11 Sep 2007 15:37:58 +0000 Subject: [PATCH] Purged fill type, stroke type enum --- src/extension/internal/emf-win32-print.cpp | 4 ++-- 1 file 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); -- 2.30.2