summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 335ea8b)
raw | patch | inline | side by side (parent: 335ea8b)
author | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 Mar 2007 20:55:13 +0000 (20:55 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 Mar 2007 20:55:13 +0000 (20:55 +0000) |
src/extension/internal/odf.cpp | patch | blob | history |
index 8645205f2e388fe50df1425eeeeb980a33e6d4a5..3ce44ee84281388575e10d5f4eb47c7e247d1984 100644 (file)
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006 Bob Jamison
+ * Copyright (C) 2006, 2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
bool OdfOutput::processGradient(Writer &outs, SPItem *item,
const Glib::ustring &id, NR::Matrix &tf)
{
+ if (!item)
+ return false;
+
SPStyle *style = item->style;
+ if (!style)
+ 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)))