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 /embeddedobj/source | |
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 'embeddedobj/source')
-rw-r--r-- | embeddedobj/source/commonembedding/persistence.cxx | 8 | ||||
-rw-r--r-- | embeddedobj/source/msole/olecomponent.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/olepersist.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/oleregister.cxx | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index 2da05bc68a93..e67cc77bd14a 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -69,7 +69,7 @@ uno::Sequence< beans::PropertyValue > GetValuableArgs_Impl( const uno::Sequence< { if ( aMedDescr[nInd].Name == "ComponentData" || aMedDescr[nInd].Name == "DocumentTitle" || aMedDescr[nInd].Name == "InteractionHandler" || aMedDescr[nInd].Name == "JumpMark" - // || aMedDescr[nInd].Name == "Password" // makes no sence for embedded objects + // || aMedDescr[nInd].Name == "Password" // makes no sense for embedded objects || aMedDescr[nInd].Name == "Preview" || aMedDescr[nInd].Name == "ReadOnly" || aMedDescr[nInd].Name == "StartPresentation" || aMedDescr[nInd].Name == "RepairPackage" || aMedDescr[nInd].Name == "StatusIndicator" || aMedDescr[nInd].Name == "ViewData" @@ -807,7 +807,7 @@ void OCommonEmbeddedObject::StoreDocToStorage_Impl( if ( !xTempStorage.is() ) throw uno::RuntimeException(); // TODO: - // object storage must be commited automatically + // object storage must be committed automatically xTempStorage->copyToStorage( xStorage ); } } @@ -1216,7 +1216,7 @@ void SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed:: bool bTryOptimization = false; for ( sal_Int32 nInd = 0; nInd < lObjArgs.getLength(); nInd++ ) { - // StoreVisualReplacement and VisualReplacement args have no sence here + // StoreVisualReplacement and VisualReplacement args have no sense here if ( lObjArgs[nInd].Name == "CanTryOptimization" ) lObjArgs[nInd].Value >>= bTryOptimization; } @@ -1354,7 +1354,7 @@ void SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed:: bool bTryOptimization = false; for ( sal_Int32 nInd = 0; nInd < lObjArgs.getLength(); nInd++ ) { - // StoreVisualReplacement and VisualReplacement args have no sence here + // StoreVisualReplacement and VisualReplacement args have no sense here if ( lObjArgs[nInd].Name == "CanTryOptimization" ) lObjArgs[nInd].Value >>= bTryOptimization; } diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 8e000702f98a..e57768c0ce0e 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -1533,7 +1533,7 @@ uno::Any SAL_CALL OleComponent::getTransferData( const datatransfer::DataFlavor& if ( FAILED( hr ) || !pDataObject ) throw io::IOException(); // TODO: transport error code - // The following optimization does not make much sence currently just because + // The following optimization does not make much sense currently just because // only one aspect is supported, and only three formats for the aspect are supported // and moreover it is not guarantied that the once returned format will be supported further // example - i52106 diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx index d3b0901d1a5c..04224514ced4 100644 --- a/embeddedobj/source/msole/olepersist.cxx +++ b/embeddedobj/source/msole/olepersist.cxx @@ -401,7 +401,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea if ( xTempOutStream.is() ) { // the OlePres stream must have additional header - // TODO/LATER: might need to be extended in future ( actually makes sence only for SO7 format ) + // TODO/LATER: might need to be extended in future (actually makes sense only for SO7 format) uno::Reference< io::XInputStream > xInCacheStream = xCachedVisualRepresentation->getInputStream(); if ( !xInCacheStream.is() ) throw uno::RuntimeException(); diff --git a/embeddedobj/source/msole/oleregister.cxx b/embeddedobj/source/msole/oleregister.cxx index d983f4b63f35..b82aa32b6523 100644 --- a/embeddedobj/source/msole/oleregister.cxx +++ b/embeddedobj/source/msole/oleregister.cxx @@ -51,7 +51,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL emboleobj_component_getFactory( OleEmbeddedObjectFactory::impl_staticGetSupportedServiceNames() ); } #ifdef WNT - // the following service makes sence only on windows + // the following service makes sense only on windows else if ( aImplName.equals( MSOLEDialogObjectCreator::impl_staticGetImplementationName() ) ) { xFactory= ::cppu::createOneInstanceFactory( reinterpret_cast< lang::XMultiServiceFactory*>( pServiceManager ), |