diff options
| author | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-03 17:20:36 +0000 |
|---|---|---|
| committer | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-03 17:20:36 +0000 |
| commit | 1aad26aea24f62b63c992118f36b12483f9a5414 (patch) | |
| tree | 5629cd23a5343c00dae666c82dcebb6a1e7b7c6a /src/sp-switch.cpp | |
| parent | New Class SPDocumentUndo created which takes care of c++fying some non SPDocu... (diff) | |
| download | inkscape-1aad26aea24f62b63c992118f36b12483f9a5414.tar.gz inkscape-1aad26aea24f62b63c992118f36b12483f9a5414.zip | |
another c++ification for sp-object.h/cpp and still in progress...
(bzr r9546.1.4)
Diffstat (limited to 'src/sp-switch.cpp')
| -rw-r--r-- | src/sp-switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index 07575c4f0..2d67b8637 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -72,7 +72,7 @@ CSwitch::~CSwitch() { } SPObject *CSwitch::_evaluateFirst() { - for (SPObject *child = sp_object_first_child(_group) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) { + for (SPObject *child = _group->first_child() ; child != NULL ; child = SP_OBJECT_NEXT(child) ) { if (SP_IS_ITEM(child) && sp_item_evaluate(SP_ITEM(child))) return child; } |
