summaryrefslogtreecommitdiff
path: root/rsc/source/tools/rsctree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/tools/rsctree.cxx')
-rw-r--r--rsc/source/tools/rsctree.cxx160
1 files changed, 80 insertions, 80 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx
index 5dad0d2130df..d44554393a72 100644
--- a/rsc/source/tools/rsctree.cxx
+++ b/rsc/source/tools/rsctree.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,11 +44,11 @@
/****************** B i N o d e ******************************************/
/*************************************************************************
|*
-|* BiNode::BiNode()
+|* BiNode::BiNode()
|*
-|* Beschreibung NAME.DOC
-|* Ersterstellung MM 07.02.91
-|* Letzte Aenderung MM 07.02.91
+|* Beschreibung NAME.DOC
+|* Ersterstellung MM 07.02.91
+|* Letzte Aenderung MM 07.02.91
|*
*************************************************************************/
BiNode::BiNode(){
@@ -57,11 +57,11 @@ BiNode::BiNode(){
/*************************************************************************
|*
-|* BiNode::~BiNode()
+|* BiNode::~BiNode()
|*
-|* Beschreibung
-|* Ersterstellung MM 07.02.91
-|* Letzte Aenderung MM 07.02.91
+|* Beschreibung
+|* Ersterstellung MM 07.02.91
+|* Letzte Aenderung MM 07.02.91
|*
*************************************************************************/
BiNode::~BiNode(){
@@ -69,11 +69,11 @@ BiNode::~BiNode(){
/*************************************************************************
|*
-|* BiNode::EnumNodes()
+|* BiNode::EnumNodes()
|*
-|* Beschreibung
-|* Ersterstellung MM 07.02.91
-|* Letzte Aenderung MM 07.02.91
+|* Beschreibung
+|* Ersterstellung MM 07.02.91
+|* Letzte Aenderung MM 07.02.91
|*
*************************************************************************/
void BiNode::EnumNodes( Link aLink ) const{
@@ -86,11 +86,11 @@ void BiNode::EnumNodes( Link aLink ) const{
/*************************************************************************
|*
-|* BiNode::ChangeDLListBTree()
+|* BiNode::ChangeDLListBTree()
|*
-|* Beschreibung
-|* Ersterstellung MM 11.01.91
-|* Letzte Aenderung MM 11.01.91
+|* Beschreibung
+|* Ersterstellung MM 11.01.91
+|* Letzte Aenderung MM 11.01.91
|*
*************************************************************************/
BiNode * BiNode::ChangeDLListBTree( BiNode * pList ){
@@ -112,7 +112,7 @@ BiNode * BiNode::ChangeDLListBTree( BiNode * pList ){
else
pList = (BiNode *)0;
- if( NULL != (pTmp = pMiddle->Left()) ) // rechten Zeiger auf Null
+ if( NULL != (pTmp = pMiddle->Left()) ) // rechten Zeiger auf Null
pTmp->pRight = (BiNode *)0;
// linken Zeiger auf Null
@@ -129,16 +129,16 @@ BiNode * BiNode::ChangeDLListBTree( BiNode * pList ){
/*************************************************************************
|*
-|* BiNode::ChangeBTreeDLList()
+|* BiNode::ChangeBTreeDLList()
|*
-|* Beschreibung
-|* Ersterstellung MM 11.01.91
-|* Letzte Aenderung MM 11.01.91
+|* Beschreibung
+|* Ersterstellung MM 11.01.91
+|* Letzte Aenderung MM 11.01.91
|*
*************************************************************************/
BiNode * BiNode::ChangeBTreeDLList(){
BiNode * pList;
- BiNode * pLL_RN; // linke Liste rechter Knoten
+ BiNode * pLL_RN; // linke Liste rechter Knoten
if( Right() ){
pList = Right()->ChangeBTreeDLList();
@@ -159,11 +159,11 @@ BiNode * BiNode::ChangeBTreeDLList(){
/****************** N a m e N o d e **************************************/
/*************************************************************************
|*
-|* NameNode::Remove()
+|* NameNode::Remove()
|*
-|* Beschreibung
-|* Ersterstellung MM 10.07.91
-|* Letzte Aenderung MM 10.07.91
+|* Beschreibung
+|* Ersterstellung MM 10.07.91
+|* Letzte Aenderung MM 10.07.91
|*
*************************************************************************/
NameNode * NameNode::Remove( NameNode * pRemove ){
@@ -202,11 +202,11 @@ NameNode * NameNode::Remove( NameNode * pRemove ){
/*************************************************************************
|*
-|* NameNode::Compare
+|* NameNode::Compare
|*
-|* Beschreibung
-|* Ersterstellung MM 10.07.91
-|* Letzte Aenderung MM 13.07.91
+|* Beschreibung
+|* Ersterstellung MM 10.07.91
+|* Letzte Aenderung MM 13.07.91
|*
*************************************************************************/
COMPARE NameNode::Compare( const NameNode * pCompare ) const{
@@ -229,11 +229,11 @@ COMPARE NameNode::Compare( const void * pCompare ) const{
/*************************************************************************
|*
-|* NameNode::SearchParent
+|* NameNode::SearchParent
|*
-|* Beschreibung
-|* Ersterstellung MM 10.07.91
-|* Letzte Aenderung MM 10.07.91
+|* Beschreibung
+|* Ersterstellung MM 10.07.91
+|* Letzte Aenderung MM 10.07.91
|*
*************************************************************************/
NameNode* NameNode::SearchParent( const NameNode * pSearch ) const{
@@ -261,11 +261,11 @@ NameNode* NameNode::SearchParent( const NameNode * pSearch ) const{
/*************************************************************************
|*
-|* NameNode::Search
+|* NameNode::Search
|*
-|* Beschreibung
-|* Ersterstellung MM 21.03.90
-|* Letzte Aenderung MM 27.06.90
+|* Beschreibung
+|* Ersterstellung MM 21.03.90
+|* Letzte Aenderung MM 27.06.90
|*
*************************************************************************/
NameNode* NameNode::Search( const NameNode * pSearch ) const{
@@ -310,11 +310,11 @@ NameNode* NameNode::Search( const void * pSearch ) const{
/*************************************************************************
|*
-|* NameNode::Insert()
+|* NameNode::Insert()
|*
-|* Beschreibung NAME.DOC
-|* Ersterstellung MM 11.01.91
-|* Letzte Aenderung MM 11.01.91
+|* Beschreibung NAME.DOC
+|* Ersterstellung MM 11.01.91
+|* Letzte Aenderung MM 11.01.91
|*
*************************************************************************/
BOOL NameNode::Insert( NameNode * pTN, sal_uInt32* pnDepth ){
@@ -328,7 +328,7 @@ BOOL NameNode::Insert( NameNode * pTN, sal_uInt32* pnDepth ){
*pnDepth += 1;
if( nCmp == GREATER ){
if( Left() )
- bRet = ((NameNode *)Left())->Insert( pTN, pnDepth );
+ bRet = ((NameNode *)Left())->Insert( pTN, pnDepth );
else
pLeft = pTN;
}
@@ -345,19 +345,19 @@ BOOL NameNode::Insert( NameNode * pTN, sal_uInt32* pnDepth ){
/*************************************************************************
|*
-|* NameNode::Insert()
+|* NameNode::Insert()
|*
-|* Beschreibung NAME.DOC
-|* Ersterstellung MM 21.03.90
-|* Letzte Aenderung MM 11.01.91
+|* Beschreibung NAME.DOC
+|* Ersterstellung MM 21.03.90
+|* Letzte Aenderung MM 11.01.91
|*
*************************************************************************/
BOOL NameNode::Insert( NameNode * pTN ){
// insert a node in the tree.
// if the node with the same name is in, return FALSE and no insert.
// if not return true.
- sal_uInt32 nDepth = 0;
- BOOL bRet;
+ sal_uInt32 nDepth = 0;
+ BOOL bRet;
bRet = Insert( pTN, &nDepth );
if( bRet ){
@@ -374,11 +374,11 @@ BOOL NameNode::Insert( NameNode * pTN ){
/*************************************************************************
|*
-|* NameNode::OrderTree()
+|* NameNode::OrderTree()
|*
-|* Beschreibung
-|* Ersterstellung MM 23.09.91
-|* Letzte Aenderung MM 23.09.91
+|* Beschreibung
+|* Ersterstellung MM 23.09.91
+|* Letzte Aenderung MM 23.09.91
|*
*************************************************************************/
void NameNode::OrderTree(){
@@ -405,20 +405,20 @@ void NameNode::SubOrderTree( NameNode * pOrderNode ){
/*************************************************************************
|*
-|* NameNode::IdOrderTree()
+|* NameNode::IdOrderTree()
|*
-|* Beschreibung
-|* Ersterstellung MM 15.11.91
-|* Letzte Aenderung MM 15.11.91
+|* Beschreibung
+|* Ersterstellung MM 15.11.91
+|* Letzte Aenderung MM 15.11.91
|*
*************************************************************************/
class OrderCtrl {
- BOOL bOrder;
+ BOOL bOrder;
NameNode * pName;
DECL_LINK( CallBackFunc, NameNode * );
public:
OrderCtrl() { bOrder = FALSE; pName = NULL; }
- BOOL IsOrder( const NameNode * pRoot )
+ BOOL IsOrder( const NameNode * pRoot )
{
bOrder = TRUE;
pName = NULL;
@@ -444,11 +444,11 @@ BOOL NameNode::IsOrderTree() const{
/****************** I d N o d e ******************************************/
/*************************************************************************
|*
-|* IdNode::Search()
+|* IdNode::Search()
|*
-|* Beschreibung
-|* Ersterstellung MM 06.11.91
-|* Letzte Aenderung MM 06.11.91
+|* Beschreibung
+|* Ersterstellung MM 06.11.91
+|* Letzte Aenderung MM 06.11.91
|*
*************************************************************************/
IdNode * IdNode::Search( sal_uInt32 nTypeName ) const{
@@ -457,11 +457,11 @@ IdNode * IdNode::Search( sal_uInt32 nTypeName ) const{
/*************************************************************************
|*
-|* IdNode::Compare()
+|* IdNode::Compare()
|*
-|* Beschreibung
-|* Ersterstellung MM 06.11.91
-|* Letzte Aenderung MM 06.11.91
+|* Beschreibung
+|* Ersterstellung MM 06.11.91
+|* Letzte Aenderung MM 06.11.91
|*
*************************************************************************/
COMPARE IdNode::Compare( const NameNode * pSearch ) const
@@ -487,11 +487,11 @@ COMPARE IdNode::Compare( const void * pSearch ) const{
/*************************************************************************
|*
-|* IdNode::GetId()
+|* IdNode::GetId()
|*
-|* Beschreibung
-|* Ersterstellung MM 23.09.91
-|* Letzte Aenderung MM 23.09.91
+|* Beschreibung
+|* Ersterstellung MM 23.09.91
+|* Letzte Aenderung MM 23.09.91
|*
*************************************************************************/
sal_uInt32 IdNode::GetId() const
@@ -501,11 +501,11 @@ sal_uInt32 IdNode::GetId() const
/*************************************************************************
|*
-|* StringNode::Search()
+|* StringNode::Search()
|*
-|* Beschreibung
-|* Ersterstellung MM 06.11.91
-|* Letzte Aenderung MM 06.11.91
+|* Beschreibung
+|* Ersterstellung MM 06.11.91
+|* Letzte Aenderung MM 06.11.91
|*
*************************************************************************/
StringNode * StringNode::Search( const char * pSearch ) const{
@@ -514,11 +514,11 @@ StringNode * StringNode::Search( const char * pSearch ) const{
/*************************************************************************
|*
-|* StringNode::Compare()
+|* StringNode::Compare()
|*
-|* Beschreibung
-|* Ersterstellung MM 06.11.91
-|* Letzte Aenderung MM 06.11.91
+|* Beschreibung
+|* Ersterstellung MM 06.11.91
+|* Letzte Aenderung MM 06.11.91
|*
*************************************************************************/
COMPARE StringNode::Compare( const NameNode * pSearch ) const