diff options
Diffstat (limited to 'autodoc/source/parser_i/tokens')
-rw-r--r-- | autodoc/source/parser_i/tokens/stmstar2.cxx | 18 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/stmstat2.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/stmstfi2.cxx | 10 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/tkp2.cxx | 4 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/tkpcont2.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/tkpstam2.cxx | 28 | ||||
-rw-r--r-- | autodoc/source/parser_i/tokens/x_parse2.cxx | 6 |
7 files changed, 35 insertions, 35 deletions
diff --git a/autodoc/source/parser_i/tokens/stmstar2.cxx b/autodoc/source/parser_i/tokens/stmstar2.cxx index 1cc135fa63e1..f8894451d46d 100644 --- a/autodoc/source/parser_i/tokens/stmstar2.cxx +++ b/autodoc/source/parser_i/tokens/stmstar2.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 @@ -StmArrayStatu2::StmArrayStatu2( intt i_nStatusSize, - const INT16 * in_aArrayModel, - uintt i_nTokenId, - bool in_bIsDefault ) - : dpBranches(new StmStatu2::Branch[i_nStatusSize]), +StmArrayStatu2::StmArrayStatu2( intt i_nStatusSize, + const INT16 * in_aArrayModel, + uintt i_nTokenId, + bool in_bIsDefault ) + : dpBranches(new StmStatu2::Branch[i_nStatusSize]), nNrOfBranches(i_nStatusSize), nTokenId(UINT16(i_nTokenId)), bIsADefault(in_bIsDefault) @@ -65,7 +65,7 @@ StmArrayStatu2::~StmArrayStatu2() } bool -StmArrayStatu2::SetBranch( intt in_nBranchIx, +StmArrayStatu2::SetBranch( intt in_nBranchIx, StmStatu2::Branch in_nBranch ) { if ( csv::in_range(intt(0), in_nBranchIx, intt(nNrOfBranches) ) ) @@ -84,7 +84,7 @@ StmArrayStatu2::NextBy(intt in_nIndex) const throw X_AutodocParser(X_AutodocParser::x_InvalidChar); return in_nIndex < nNrOfBranches - ? dpBranches[in_nIndex] + ? dpBranches[in_nIndex] : dpBranches[nNrOfBranches - 1]; } @@ -96,7 +96,7 @@ StmArrayStatu2::IsADefault() const } StmArrayStatu2 * -StmArrayStatu2::AsArray() +StmArrayStatu2::AsArray() { return this; } diff --git a/autodoc/source/parser_i/tokens/stmstat2.cxx b/autodoc/source/parser_i/tokens/stmstat2.cxx index 4d0cf62c4ed2..701bfa33c0e5 100644 --- a/autodoc/source/parser_i/tokens/stmstat2.cxx +++ b/autodoc/source/parser_i/tokens/stmstat2.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_i/tokens/stmstfi2.cxx b/autodoc/source/parser_i/tokens/stmstfi2.cxx index 15bffb0bf937..528011900332 100644 --- a/autodoc/source/parser_i/tokens/stmstfi2.cxx +++ b/autodoc/source/parser_i/tokens/stmstfi2.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 @@ StmBoundsStatu2::StmBoundsStatu2( 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_i/tokens/tkp2.cxx b/autodoc/source/parser_i/tokens/tkp2.cxx index 58f740d871e0..950215019bb3 100644 --- a/autodoc/source/parser_i/tokens/tkp2.cxx +++ b/autodoc/source/parser_i/tokens/tkp2.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 @@ -34,7 +34,7 @@ #include <tokens/tkpcont2.hxx> TokenParse2::TokenParse2() - : pChars(0) + : pChars(0) { } diff --git a/autodoc/source/parser_i/tokens/tkpcont2.cxx b/autodoc/source/parser_i/tokens/tkpcont2.cxx index 4ccef4df4b12..73c93c5eaf55 100644 --- a/autodoc/source/parser_i/tokens/tkpcont2.cxx +++ b/autodoc/source/parser_i/tokens/tkpcont2.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_i/tokens/tkpstam2.cxx b/autodoc/source/parser_i/tokens/tkpstam2.cxx index 90978c10ae2b..39cf31e1a395 100644 --- a/autodoc/source/parser_i/tokens/tkpstam2.cxx +++ b/autodoc/source/parser_i/tokens/tkpstam2.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 @@ -34,12 +34,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; -StateMachin2::StateMachin2( intt in_nStatusSize, - intt in_nInitial_StatusListSize ) - : pStati(new StmStatu2*[in_nInitial_StatusListSize]), +StateMachin2::StateMachin2( intt in_nStatusSize, + intt in_nInitial_StatusListSize ) + : pStati(new StmStatu2*[in_nInitial_StatusListSize]), nCurrentStatus(C_nTopStatus), nPeekedStatus(C_nTopStatus), nStatusSize(in_nStatusSize), @@ -64,10 +64,10 @@ StateMachin2::AddStatus(StmStatu2 * let_dpStatus) } void -StateMachin2::AddToken( const char * in_sToken, - UINT16 in_nTokenId, - const INT16 * in_aBranches, - INT16 in_nBoundsStatus ) +StateMachin2::AddToken( const char * in_sToken, + UINT16 in_nTokenId, + const INT16 * in_aBranches, + INT16 in_nBoundsStatus ) { if (csv::no_str(in_sToken)) return; @@ -88,14 +88,14 @@ StateMachin2::AddToken( const char * in_sToken, CurrentStatus().SetBranch( *pChar, nPeekedStatus ); } nCurrentStatus = nPeekedStatus; - } // end for + } // end for StmArrayStatu2 & rLastStatus = CurrentStatus(); rLastStatus.SetTokenId(in_nTokenId); for (intt i = 0; i < nStatusSize; i++) { if (Status(rLastStatus.NextBy(i)).AsBounds() != 0) rLastStatus.SetBranch(i,in_nBoundsStatus); - } // end for + } // end for } StateMachin2::~StateMachin2() @@ -108,7 +108,7 @@ StateMachin2::~StateMachin2() } StmBoundsStatu2 & -StateMachin2::GetCharChain( UINT16 & o_nTokenId, +StateMachin2::GetCharChain( UINT16 & o_nTokenId, CharacterSource & io_rText ) { nCurrentStatus = C_nTopStatus; @@ -168,7 +168,7 @@ StateMachin2::BoundsStatus() const } void -StateMachin2::Peek(intt in_nBranch) +StateMachin2::Peek(intt in_nBranch) { StmArrayStatu2 & rSt = CurrentStatus(); nPeekedStatus = rSt.NextBy(in_nBranch); diff --git a/autodoc/source/parser_i/tokens/x_parse2.cxx b/autodoc/source/parser_i/tokens/x_parse2.cxx index 8194985388e0..8824d2ccc4db 100644 --- a/autodoc/source/parser_i/tokens/x_parse2.cxx +++ b/autodoc/source/parser_i/tokens/x_parse2.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 @@ -33,12 +33,12 @@ enum E_Type { - x_Any = 0, + x_Any = 0, x_InvalidChar, x_UnexpectedEOF }; void -X_AutodocParser::GetInfo( std::ostream & o_rOutputMedium ) const +X_AutodocParser::GetInfo( std::ostream & o_rOutputMedium ) const { switch (eType) { |