diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-15 01:50:06 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-15 01:50:06 +0000 |
| commit | 6f508cfcaa161695711309d3413b90d2b3f44ea0 (patch) | |
| tree | 32ca88b4cce16f97d72e8994497006720ee60dea /src/sp-lpe-item.cpp | |
| parent | Update to trunk (checking build failure on Windows) (diff) | |
| download | inkscape-6f508cfcaa161695711309d3413b90d2b3f44ea0.tar.gz inkscape-6f508cfcaa161695711309d3413b90d2b3f44ea0.zip | |
Minor things
(bzr r13090.1.58)
Diffstat (limited to 'src/sp-lpe-item.cpp')
| -rw-r--r-- | src/sp-lpe-item.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index 07fa6147b..ae5763e67 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -689,12 +689,20 @@ static std::string hreflist_write_svg(HRefList const & list) // Return a copy of the effect list PathEffectList SPLPEItem::getEffectList() { + if (!path_effect_list) { + g_critical("Broken path effect list in %s\n", __FILE__); + return PathEffectList(); + } return *path_effect_list; } // Return a copy of the effect list PathEffectList const SPLPEItem::getEffectList() const { + if (!path_effect_list) { + g_critical("Broken path effect list in %s\n", __FILE__); + return PathEffectList(); + } return *path_effect_list; } |
