diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-09-10 06:33:47 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-09-10 06:33:47 +0000 |
| commit | 16888ce63e21b83d94595055150072ef3037ca1d (patch) | |
| tree | 649a9f640d4f0354e59196404833e6d1ae9833cb /src/extension/internal/odf.cpp | |
| parent | rearrange, disable fidelity for color modes (diff) | |
| download | inkscape-16888ce63e21b83d94595055150072ef3037ca1d.tar.gz inkscape-16888ce63e21b83d94595055150072ef3037ca1d.zip | |
Purged fill type enum
(bzr r3706)
Diffstat (limited to 'src/extension/internal/odf.cpp')
| -rw-r--r-- | src/extension/internal/odf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index f67800ca5..61e3e593e 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -1557,7 +1557,7 @@ bool OdfOutput::processStyle(Writer &outs, SPItem *item, StyleInfo si; //## FILL - if (style->fill.type == SP_PAINT_TYPE_COLOR) + if (style->fill.isColor()) { guint32 fillCol = sp_color_get_rgba32_ualpha(&style->fill.value.color, 0); @@ -1576,7 +1576,7 @@ bool OdfOutput::processStyle(Writer &outs, SPItem *item, } //## STROKE - if (style->stroke.type == SP_PAINT_TYPE_COLOR) + if (style->stroke.isColor()) { guint32 strokeCol = sp_color_get_rgba32_ualpha(&style->stroke.value.color, 0); @@ -1658,7 +1658,7 @@ bool OdfOutput::processGradient(Writer &outs, SPItem *item, if (!style) return false; - if (style->fill.type != SP_PAINT_TYPE_PAINTSERVER) + if (!style->fill.isPaintserver()) return false; //## Gradient. Look in writeStyle() below to see what info |
