summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-03 17:20:36 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-03 17:20:36 +0000
commit1aad26aea24f62b63c992118f36b12483f9a5414 (patch)
tree5629cd23a5343c00dae666c82dcebb6a1e7b7c6a /src/sp-switch.cpp
parentNew Class SPDocumentUndo created which takes care of c++fying some non SPDocu... (diff)
downloadinkscape-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.cpp2
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;
}