From e5315c1dad7213c83ef9acbac1b5fa300661a56f Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 16 Mar 2007 20:56:59 +0000 Subject: [PATCH] fix 1679477 --- src/extension/internal/odf.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index 3ce44ee84..a19d03a31 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -1658,6 +1658,9 @@ bool OdfOutput::processGradient(Writer &outs, SPItem *item, if (!style) return false; + if (style->fill.type != SP_PAINT_TYPE_PAINTSERVER) + return false; + //## Gradient. Look in writeStyle() below to see what info // we need to read into GradientInfo. if (!SP_IS_GRADIENT(SP_STYLE_FILL_SERVER(style))) -- 2.30.2