diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-04 12:56:38 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 20:23:29 +0000 |
commit | 60a9b5172bcbd90b5764125b76279c189dd5563c (patch) | |
tree | 50360c4fc74ab388941361230dbc9a4f8d76fb8b /automation/source | |
parent | 99b6172fb2ac2f2a3ea8df11ecbf63b5406b5705 (diff) |
Replace all occured, occurance etc.
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/server/XMLParser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/automation/source/server/XMLParser.cxx b/automation/source/server/XMLParser.cxx index 0ea7f3c0eb26..911a48ff64b7 100644 --- a/automation/source/server/XMLParser.cxx +++ b/automation/source/server/XMLParser.cxx @@ -622,11 +622,11 @@ void StatementCommand::HandleSAXParser() } else if ( pElementNode ) { - USHORT nNthOccurance; + USHORT nNthOccurrence; if( (nParams & PARAM_USHORT_1) ) - nNthOccurance = nNr1; + nNthOccurrence = nNr1; else - nNthOccurance = 1; + nNthOccurrence = 1; USHORT i; NodeRef xNew; @@ -638,10 +638,10 @@ void StatementCommand::HandleSAXParser() ElementNode* pNewElement = (ElementNode*)(&xNew); if ( aString1.Equals( pNewElement->GetNodeName() ) ) { - if ( nNthOccurance > 1 ) + if ( nNthOccurrence > 1 ) { xNew.Clear(); - nNthOccurance--; + nNthOccurrence--; } } else |