diff options
Diffstat (limited to 'autodoc/source/parser/tokens')
-rw-r--r-- | autodoc/source/parser/tokens/stmstarr.cxx | 18 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/stmstate.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/stmstfin.cxx | 10 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/tkp.cxx | 4 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/tkpcontx.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/tkpstama.cxx | 32 | ||||
-rw-r--r-- | autodoc/source/parser/tokens/tokdeal.cxx | 4 |
7 files changed, 36 insertions, 36 deletions
diff --git a/autodoc/source/parser/tokens/stmstarr.cxx b/autodoc/source/parser/tokens/stmstarr.cxx index 8070fae3a450..1d86c0ef9aec 100644 --- a/autodoc/source/parser/tokens/stmstarr.cxx +++ b/autodoc/source/parser/tokens/stmstarr.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 @@ -35,11 +35,11 @@ -StmArrayStatus::StmArrayStatus( intt i_nStatusSize, - const INT16 * in_aArrayModel, - F_CRTOK i_fTokenCreateFunction, - bool in_bIsDefault ) - : dpBranches(new StmStatus::Branch[i_nStatusSize]), +StmArrayStatus::StmArrayStatus( intt i_nStatusSize, + const INT16 * in_aArrayModel, + F_CRTOK i_fTokenCreateFunction, + bool in_bIsDefault ) + : dpBranches(new StmStatus::Branch[i_nStatusSize]), nNrOfBranches(i_nStatusSize), fTokenCreateFunction(i_fTokenCreateFunction), bIsADefault(in_bIsDefault) @@ -62,7 +62,7 @@ StmArrayStatus::~StmArrayStatus() } bool -StmArrayStatus::SetBranch( intt in_nBranchIx, +StmArrayStatus::SetBranch( intt in_nBranchIx, StmStatus::Branch in_nBranch ) { if ( csv::in_range(intt(0), in_nBranchIx, intt(nNrOfBranches) ) ) @@ -81,7 +81,7 @@ StmArrayStatus::NextBy(intt in_nIndex) const throw X_Parser(X_Parser::x_InvalidChar, "", String::Null_(), 0); return in_nIndex < nNrOfBranches - ? dpBranches[in_nIndex] + ? dpBranches[in_nIndex] : dpBranches[nNrOfBranches - 1]; } @@ -93,7 +93,7 @@ StmArrayStatus::IsADefault() const } StmArrayStatus * -StmArrayStatus::AsArray() +StmArrayStatus::AsArray() { return this; } diff --git a/autodoc/source/parser/tokens/stmstate.cxx b/autodoc/source/parser/tokens/stmstate.cxx index 6530ebbbe838..2752a79a9563 100644 --- a/autodoc/source/parser/tokens/stmstate.cxx +++ b/autodoc/source/parser/tokens/stmstate.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 diff --git a/autodoc/source/parser/tokens/stmstfin.cxx b/autodoc/source/parser/tokens/stmstfin.cxx index 84b7a9cf39e9..f84d7849e938 100644 --- a/autodoc/source/parser/tokens/stmstfin.cxx +++ b/autodoc/source/parser/tokens/stmstfin.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 @@ -36,10 +36,10 @@ StmBoundsStatus::StmBoundsStatus( StateMachineContext & o_rOwner, - TkpContext & i_rFollowUpContext, - uintt i_nStatusFunctionNr, - bool i_bIsDefault ) - : pOwner(&o_rOwner), + TkpContext & i_rFollowUpContext, + uintt i_nStatusFunctionNr, + bool i_bIsDefault ) + : pOwner(&o_rOwner), pFollowUpContext(&i_rFollowUpContext), nStatusFunctionNr(i_nStatusFunctionNr), bIsDefault(i_bIsDefault) diff --git a/autodoc/source/parser/tokens/tkp.cxx b/autodoc/source/parser/tokens/tkp.cxx index 7be7bcb55842..64922f0cb2e1 100644 --- a/autodoc/source/parser/tokens/tkp.cxx +++ b/autodoc/source/parser/tokens/tkp.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 @@ -36,7 +36,7 @@ TokenParser::TokenParser() - : pChars(0), + : pChars(0), bHasMore(false) { } diff --git a/autodoc/source/parser/tokens/tkpcontx.cxx b/autodoc/source/parser/tokens/tkpcontx.cxx index c1979bfe6c44..8c129ea41d27 100644 --- a/autodoc/source/parser/tokens/tkpcontx.cxx +++ b/autodoc/source/parser/tokens/tkpcontx.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 diff --git a/autodoc/source/parser/tokens/tkpstama.cxx b/autodoc/source/parser/tokens/tkpstama.cxx index bf27299ef63c..52e0ba66a392 100644 --- a/autodoc/source/parser/tokens/tkpstama.cxx +++ b/autodoc/source/parser/tokens/tkpstama.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 @@ -36,12 +36,12 @@ #include <tools/tkpchars.hxx> -const intt C_nStatuslistResizeValue = 32; -const intt C_nTopStatus = 0; +const intt C_nStatuslistResizeValue = 32; +const intt C_nTopStatus = 0; -StateMachine::StateMachine( intt in_nStatusSize, - intt in_nInitial_StatusListSize ) - : pStati(new StmStatus*[in_nInitial_StatusListSize]), +StateMachine::StateMachine( intt in_nStatusSize, + intt in_nInitial_StatusListSize ) + : pStati(new StmStatus*[in_nInitial_StatusListSize]), nCurrentStatus(C_nTopStatus), nPeekedStatus(C_nTopStatus), nStatusSize(in_nStatusSize), @@ -66,10 +66,10 @@ StateMachine::AddStatus(StmStatus * let_dpStatus) } void -StateMachine::AddToken( const char * in_sToken, - TextToken::F_CRTOK in_fTokenCreateFunction, - const INT16 * in_aBranches, - INT16 in_nBoundsStatus ) +StateMachine::AddToken( const char * in_sToken, + TextToken::F_CRTOK in_fTokenCreateFunction, + const INT16 * in_aBranches, + INT16 in_nBoundsStatus ) { if (csv::no_str(in_sToken)) return; @@ -90,14 +90,14 @@ StateMachine::AddToken( const char * in_sToken, CurrentStatus().SetBranch( *pChar, nPeekedStatus ); } nCurrentStatus = nPeekedStatus; - } // end for + } // end for StmArrayStatus & rLastStatus = CurrentStatus(); rLastStatus.SetTokenCreateFunction(in_fTokenCreateFunction); for (intt i = 0; i < nStatusSize; i++) { if (Status(rLastStatus.NextBy(i)).AsBounds() != 0) rLastStatus.SetBranch(i,in_nBoundsStatus); - } // end for + } // end for } StateMachine::~StateMachine() @@ -110,7 +110,7 @@ StateMachine::~StateMachine() } StmBoundsStatus & -StateMachine::GetCharChain( TextToken::F_CRTOK & o_nTokenCreateFunction, +StateMachine::GetCharChain( TextToken::F_CRTOK & o_nTokenCreateFunction, CharacterSource & io_rText ) { nCurrentStatus = C_nTopStatus; @@ -159,8 +159,8 @@ StateMachine::CurrentStatus() const StmArrayStatus * pCurSt = Status(nCurrentStatus).AsArray(); csv_assert(pCurSt != 0); -// if(pCurSt == 0) -// csv_assert(false); +// if(pCurSt == 0) +// csv_assert(false); return *pCurSt; } @@ -171,7 +171,7 @@ StateMachine::BoundsStatus() const } void -StateMachine::Peek(intt in_nBranch) +StateMachine::Peek(intt in_nBranch) { StmArrayStatus & rSt = CurrentStatus(); nPeekedStatus = rSt.NextBy(in_nBranch); diff --git a/autodoc/source/parser/tokens/tokdeal.cxx b/autodoc/source/parser/tokens/tokdeal.cxx index 561a638a3233..6486b46b600d 100644 --- a/autodoc/source/parser/tokens/tokdeal.cxx +++ b/autodoc/source/parser/tokens/tokdeal.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 @@ -36,7 +36,7 @@ void -Tok_Eof::DealOut( TokenDealer & o_rDealer ) +Tok_Eof::DealOut( TokenDealer & o_rDealer ) { o_rDealer.Deal_Eof(); }; |