2005-05-03 Helge Hess <helge.hess@opengroupware.org>
+ * DOMTreeWalker.m: fixed a MacOSX 10.4 warning (v4.5.16)
+
* renamed most implementations from DOMxx to NGDOMxx to avoid linking
issues with Tiger WebKit (still incomplete). Note that protocols are
still the same, so 'real' DOM apps will continue to work ;-)
- (id<NSObject,DOMNode>)_nextVisibleSibling {
id<NSObject,DOMNode> node;
- for (node = [[self currentNode] nextSibling];
- node;
+ for (node = [(id<NSObject,DOMNode>)[self currentNode] nextSibling];
+ node != nil;
node = [node nextSibling]) {
if ([self _isVisibleNode:node])
return node;
- (id<NSObject,DOMNode>)_previousVisibleSibling {
id<NSObject,DOMNode> node;
- for (node = [[self currentNode] previousSibling];
- node;
+ for (node = [(id<NSObject,DOMNode>)[self currentNode] previousSibling];
+ node != nil;
node = [node previousSibling]) {
if ([self _isVisibleNode:node])
return node;