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 /package | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
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 'package')
-rw-r--r-- | package/source/xstor/owriteablestream.cxx | 14 | ||||
-rw-r--r-- | package/source/xstor/xstorage.cxx | 4 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 4e5061b23294..eabedbf2210b 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -268,7 +268,7 @@ OWriteStream_Impl::OWriteStream_Impl( OStorage_Impl* pParent, SAL_WARN_IF( !xPackage.is(), "package.xstor", "No package component is provided!" ); SAL_WARN_IF( !m_xContext.is(), "package.xstor", "No package stream is provided!" ); OSL_ENSURE( pParent, "No parent storage is provided!\n" ); - OSL_ENSURE( m_nStorageType == embed::StorageFormats::OFOPXML || !m_xOrigRelInfoStream.is(), "The Relations info makes sence only for OFOPXML format!\n" ); + OSL_ENSURE( m_nStorageType == embed::StorageFormats::OFOPXML || !m_xOrigRelInfoStream.is(), "The Relations info makes sense only for OFOPXML format!\n" ); } OWriteStream_Impl::~OWriteStream_Impl() @@ -393,7 +393,7 @@ bool OWriteStream_Impl::IsEncrypted() GetEncryptionKeyProperty_Impl( xPropSet ) >>= aKey; // If the properties must be investigated the stream is either - // was never changed or was changed, the parent was commited + // was never changed or was changed, the parent was committed // and the stream was closed. // That means that if it is intended to use common storage key // it is already has no encryption but is marked to be stored @@ -1514,7 +1514,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar if ( m_bHasCachedEncryptionData ) { - // TODO: introduce last commited cashed password information and use it here + // TODO: introduce last committed cashed password information and use it here // that means "use common pass" also should be remembered on flash uno::Sequence< beans::NamedValue > aKey = aEncryptionData.getAsConstNamedValueList(); @@ -1651,7 +1651,7 @@ void OWriteStream_Impl::CommitStreamRelInfo( const uno::Reference< embed::XStora } } - // the original stream makes no sence after this step + // the original stream makes no sense after this step m_xOrigRelInfoStream = m_xNewRelInfoStream; m_aOrigRelInfo = m_aNewRelInfo; m_bOrigRelInfoBroken = false; @@ -2301,7 +2301,7 @@ void OWriteStream::CloseOutput_Impl() if ( !m_bInitOnDemand ) { - // after the stream is disposed it can be commited + // after the stream is disposed it can be committed // so transport correct size property if ( !m_xSeekable.is() ) throw uno::RuntimeException(); @@ -3264,7 +3264,7 @@ void SAL_CALL OWriteStream::removeVetoableChangeListener( void OWriteStream::BroadcastTransaction( sal_Int8 nMessage ) /* 1 - preCommit - 2 - commited + 2 - committed 3 - preRevert 4 - reverted */ @@ -3335,7 +3335,7 @@ void SAL_CALL OWriteStream::commit() m_pImpl->Commit(); - // when the storage is commited the parent is modified + // when the storage is committed the parent is modified ModifyParentUnlockMutex_Impl( aGuard ); } catch( const io::IOException& rIOException ) diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 773fd79a84d5..1171efb1c107 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -128,7 +128,7 @@ void OStorage_Impl::completeStorageStreamCopy_Impl( } else if ( nStorageType == embed::StorageFormats::OFOPXML ) { - // TODO/LATER: in future it might make sence to provide the stream if there is one + // TODO/LATER: in future it might make sense to provide the stream if there is one uno::Reference< embed::XRelationshipAccess > xRelAccess( xDest, uno::UNO_QUERY_THROW ); xRelAccess->clearRelationships(); xRelAccess->insertRelationships( aRelInfo, sal_False ); @@ -438,7 +438,7 @@ void OStorage_Impl::RemoveReadOnlyWrap( OStorage& aStorage ) void OStorage_Impl::OpenOwnPackage() { - SAL_WARN_IF( !m_bIsRoot, "package.xstor", "Opening of the package has no sence!" ); + SAL_WARN_IF( !m_bIsRoot, "package.xstor", "Opening of the package has no sense!" ); ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index d210d457602f..a631cabb14ba 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -169,7 +169,7 @@ ZipPackage::~ZipPackage( void ) // it should disconnect all the children from itself during destruction automatically. // So there is no need in explicit m_pRootFolder->releaseUpwardRef() call here any more // since m_pRootFolder has no parent and cleaning of its children will be done automatically - // during m_pRootFolder dieing by refcount. + // during m_pRootFolder dying by refcount. } bool ZipPackage::isLocalFile() const @@ -1075,7 +1075,7 @@ void ZipPackage::WriteContentTypes( ZipOutputStream& aZipOut, const vector< uno: ( *aIter )[PKG_MNFST_MEDIATYPE].Value >>= aType; if ( !aType.isEmpty() ) { - // only nonempty type makes sence here + // only nonempty type makes sense here nSeqLength++; ( *aIter )[PKG_MNFST_FULLPATH].Value >>= aPath; aOverridesSequence[nSeqLength-1].First = "/" + aPath; |