diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-29 08:11:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-29 10:35:13 +0000 |
commit | 829ebac9b4c1aa3dc32e7513d9d0bab28a2fce62 (patch) | |
tree | 517ccce90293b7416343786438605c6c57f57283 /rsc | |
parent | 34a9faf23c3d84b88a1610481266812bed3b71e8 (diff) |
no need for OrderCtrl anymore
Diffstat (limited to 'rsc')
-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 ******************************************/ /************************************************************************* |* |