diff options
-rw-r--r-- | rsc/source/tools/rsctree.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx index 3c9846d09a8a..75315369c12b 100644 --- a/rsc/source/tools/rsctree.cxx +++ b/rsc/source/tools/rsctree.cxx @@ -353,34 +353,6 @@ void NameNode::SubOrderTree( NameNode * pOrderNode ){ } } -/************************************************************************* -|* -|* NameNode::IdOrderTree() -|* -*************************************************************************/ -class OrderCtrl { - sal_Bool bOrder; - NameNode * pName; - DECL_LINK( CallBackFunc, NameNode * ); -public: - OrderCtrl() { bOrder = sal_False; pName = NULL; } - sal_Bool IsOrder( const NameNode * pRoot ) - { - bOrder = sal_True; - pName = NULL; - pRoot->EnumNodes( LINK( this, OrderCtrl, CallBackFunc ) ); - return bOrder; - }; -}; -IMPL_LINK_INLINE_START( OrderCtrl, CallBackFunc, NameNode *, pNext ) -{ - if( pName && pName->Compare( pNext ) != LESS ) - bOrder = sal_False; - pName = pNext; - return 0; -} -IMPL_LINK_INLINE_END( OrderCtrl, CallBackFunc, NameNode *, pNext ) - /****************** I d N o d e ******************************************/ /************************************************************************* |* |