diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-04 13:02:52 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-06 09:12:45 +0000 |
commit | 2b22b5f4ee8674229a16c8bd59bda1f99d2eca1f (patch) | |
tree | b6b8ff0e08910491f16587664db6254c1b98c981 /oox/source | |
parent | 3709037e92dc9eb5d7e12caac385e49fe42d23c7 (diff) |
Replace all occured, occurance etc.
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/preset-definitions-to-shape-types.pl | 2 | ||||
-rw-r--r-- | oox/source/vml/vmlinputstream.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/preset-definitions-to-shape-types.pl b/oox/source/export/preset-definitions-to-shape-types.pl index a2cda8483dd6..c185a07cdce3 100644 --- a/oox/source/export/preset-definitions-to-shape-types.pl +++ b/oox/source/export/preset-definitions-to-shape-types.pl @@ -288,7 +288,7 @@ $path_h = 1; 201 => 'hostControl', # should not be used 202 => 'textBox' ); -# An error occured, we have to ignore this shape +# An error occurred, we have to ignore this shape sub error( $ ) { my ( $msg ) = @_; diff --git a/oox/source/vml/vmlinputstream.cxx b/oox/source/vml/vmlinputstream.cxx index aed3be113d52..69a039dada31 100644 --- a/oox/source/vml/vmlinputstream.cxx +++ b/oox/source/vml/vmlinputstream.cxx @@ -89,7 +89,7 @@ inline void lclAppendToBuffer( OStringBuffer& rBuffer, const sal_Char* pcBeg, co void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal_Char* pcEnd ) { /* Map attribute names to char-pointer of all attributes. This map is used - to find multiple occurences of attributes with the same name. The + to find multiple occurrences of attributes with the same name. The mapped pointers are used as map key in the next map below. */ typedef ::std::map< OString, const sal_Char* > AttributeNameMap; AttributeNameMap aAttributeNames; @@ -140,7 +140,7 @@ void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal } } - // if no error has occured, build the resulting attribute list + // if no error has occurred, build the resulting attribute list if( bOk ) for( AttributeDataMap::iterator aIt = aAttributes.begin(), aEnd = aAttributes.end(); aIt != aEnd; ++aIt ) rBuffer.append( ' ' ).append( aIt->second ); |