From 70f8f07d1f2e5c6501e78209e4bd6e09207195d1 Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 2 May 2005 23:00:22 +0000 Subject: [PATCH] fixed a Tiger warning git-svn-id: http://svn.opengroupware.org/SOPE/trunk@785 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-xml/DOM/ChangeLog | 2 ++ sope-xml/DOM/DOMTreeWalker.m | 8 ++++---- sope-xml/DOM/Version | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sope-xml/DOM/ChangeLog b/sope-xml/DOM/ChangeLog index 3dc74c92..ba193a47 100644 --- a/sope-xml/DOM/ChangeLog +++ b/sope-xml/DOM/ChangeLog @@ -1,5 +1,7 @@ 2005-05-03 Helge Hess + * 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 ;-) diff --git a/sope-xml/DOM/DOMTreeWalker.m b/sope-xml/DOM/DOMTreeWalker.m index eb305a2d..eb6727cf 100644 --- a/sope-xml/DOM/DOMTreeWalker.m +++ b/sope-xml/DOM/DOMTreeWalker.m @@ -205,8 +205,8 @@ - (id)_nextVisibleSibling { id node; - for (node = [[self currentNode] nextSibling]; - node; + for (node = [(id)[self currentNode] nextSibling]; + node != nil; node = [node nextSibling]) { if ([self _isVisibleNode:node]) return node; @@ -216,8 +216,8 @@ - (id)_previousVisibleSibling { id node; - for (node = [[self currentNode] previousSibling]; - node; + for (node = [(id)[self currentNode] previousSibling]; + node != nil; node = [node previousSibling]) { if ([self _isVisibleNode:node]) return node; diff --git a/sope-xml/DOM/Version b/sope-xml/DOM/Version index cabd6ef3..0a8bca08 100644 --- a/sope-xml/DOM/Version +++ b/sope-xml/DOM/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=15 +SUBMINOR_VERSION:=16 -- 2.39.5