diff options
| author | Ted Gould <ted@gould.cx> | 2006-05-06 16:03:52 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-05-06 16:03:52 +0000 |
| commit | 6493e2c88cc589d14848c0ce9e65656fd3214292 (patch) | |
| tree | b1bcc901889db80bd15fb50f6e8dbbae1124b4cf /src/extension/patheffect.cpp | |
| parent | r11760@tres: ted | 2006-05-06 08:58:55 -0700 (diff) | |
| download | inkscape-6493e2c88cc589d14848c0ce9e65656fd3214292.tar.gz inkscape-6493e2c88cc589d14848c0ce9e65656fd3214292.zip | |
r11761@tres: ted | 2006-05-06 08:59:32 -0700
Fixing and uninitialized warning.
(bzr r752)
Diffstat (limited to '')
| -rw-r--r-- | src/extension/patheffect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extension/patheffect.cpp b/src/extension/patheffect.cpp index f6ff273fa..e45d0b255 100644 --- a/src/extension/patheffect.cpp +++ b/src/extension/patheffect.cpp @@ -7,6 +7,9 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include "document-private.h" +#include "sp-object.h" + #include "patheffect.h" #include "db.h" @@ -39,7 +42,7 @@ PathEffect::processPathEffects (SPDocument * doc, Inkscape::XML::Node * path) return; gchar ** patheffects = g_strsplit(patheffectlist, ";", 128); - Inkscape::XML::Node * defs; + Inkscape::XML::Node * defs = SP_OBJECT_REPR(SP_DOCUMENT_DEFS(doc)); for (int i = 0; patheffects[i] != NULL && i < 128; i++) { gchar * patheffect = patheffects[i]; |
