diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /oox | |
parent | java: convert fields to local variables where possible (diff) | |
download | core-da40cac540e7d735edbe9069b3c8ec6af4530208.tar.gz core-da40cac540e7d735edbe9069b3c8ec6af4530208.zip |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/axbinarywriter.cxx | 2 | ||||
-rw-r--r-- | oox/source/ole/olehelper.cxx | 4 | ||||
-rw-r--r-- | oox/source/ole/olestorage.cxx | 2 | ||||
-rw-r--r-- | oox/source/ole/vbainputstream.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/ole/axbinarywriter.cxx b/oox/source/ole/axbinarywriter.cxx index eaa336e10a36..73461955168a 100644 --- a/oox/source/ole/axbinarywriter.cxx +++ b/oox/source/ole/axbinarywriter.cxx @@ -69,7 +69,7 @@ void AxAlignedOutputStream::writeMemory( const void* opMem, sal_Int32 nBytes, si void AxAlignedOutputStream::pad( sal_Int32 nBytes, size_t nAtomSize ) { - //PRESUMABELY we need to pad with 0's here as appropriate + //PRESUMABLY we need to pad with 0's here as appropriate com::sun::star::uno::Sequence< sal_Int8 > aData( nBytes ); // ok we could be padding with rubbish here, but really that shouldn't matter // set to 0(s), easier to not get fooled by 0's when looking at diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 77e8c4a24f75..88a80e81abbb 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -370,9 +370,9 @@ OleFormCtrlExportHelper::OleFormCtrlExportHelper( const Reference< XComponentCo PropertySet aPropSet( mxControlModel ); if ( aPropSet.getProperty( nClassId, PROP_ClassId ) ) { - /* psuedo ripped from legacy msocximex: + /* pseudo ripped from legacy msocximex: "There is a truly horrible thing with EditControls and FormattedField - Controls, they both pretend to have an EDITBOX ClassId for compability + Controls, they both pretend to have an EDITBOX ClassId for compatibility reasons, at some stage in the future hopefully there will be a proper FormulaField ClassId rather than this piggybacking two controls onto the same ClassId, cmc." - when fixed the fake FORMULAFIELD id entry diff --git a/oox/source/ole/olestorage.cxx b/oox/source/ole/olestorage.cxx index 0b6c51cbd9db..46533d0ae012 100644 --- a/oox/source/ole/olestorage.cxx +++ b/oox/source/ole/olestorage.cxx @@ -143,7 +143,7 @@ void SAL_CALL OleOutputStream::closeOutput() throw( NotConnectedException, Buffe mxSeekable.clear(); // close stream (and let it throw something if needed) xOutStrm->closeOutput(); - // on success, insert the stream into the OLE storage (must be seeked back before) + // on success, insert the stream into the OLE storage (must be seek-ed back before) xSeekable->seek( 0 ); if( !ContainerHelper::insertByName( mxStorage, maElementName, Any( mxTempFile ) ) ) throw IOException(); diff --git a/oox/source/ole/vbainputstream.cxx b/oox/source/ole/vbainputstream.cxx index 01ad7bc80cfe..15a926e28c6f 100644 --- a/oox/source/ole/vbainputstream.cxx +++ b/oox/source/ole/vbainputstream.cxx @@ -198,7 +198,7 @@ bool VbaInputStream::updateChunk() } // decompression sometimes leaves the stream pos offset 1 place ( at // least ) past or before the expected stream pos. - // here we make sure we are on the chunk boundry + // here we make sure we are on the chunk boundary mpInStrm->seek( target ); mnChunkPos = 0; return !mbEof; |