diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 21:24:03 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 21:24:25 +0100 |
commit | 56f4d7dc9d0a10dbe0bc2d55fb5fa931453c91db (patch) | |
tree | 5d2a05570034d03369e60473d5fce671775c219d /rsc/source | |
parent | Renamed hard-to-remember 8-char headers in editeng. (diff) | |
download | core-56f4d7dc9d0a10dbe0bc2d55fb5fa931453c91db.tar.gz core-56f4d7dc9d0a10dbe0bc2d55fb5fa931453c91db.zip |
Some cppcheck cleaning
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/tools/rsctree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx index 339ee393bc27..f424d43d3ef8 100644 --- a/rsc/source/tools/rsctree.cxx +++ b/rsc/source/tools/rsctree.cxx @@ -67,7 +67,6 @@ void BiNode::EnumNodes( Link aLink ) const{ |* *************************************************************************/ BiNode * BiNode::ChangeDLListBTree( BiNode * pList ){ - BiNode * pRightNode; BiNode * pMiddle; BiNode * pTmp; sal_uInt32 nEle, i; @@ -89,7 +88,8 @@ BiNode * BiNode::ChangeDLListBTree( BiNode * pList ){ pTmp->pRight = (BiNode *)0; // linken Zeiger auf Null - if( NULL != (pRightNode = pMiddle->Right()) ) + BiNode * pRightNode = pMiddle->Right(); + if (pRightNode) pRightNode->pLeft = (BiNode *)0; pMiddle->pLeft = ChangeDLListBTree( pList ); |