diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 082aa20d8828..a80454d64e09 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1737,7 +1737,7 @@ void SfxMedium::Transfer_Impl() aNameURL = pImp->pTempFile->GetURL(); else if ( !pImp->m_aLogicName.isEmpty() && pImp->m_bSalvageMode ) { - // makes sence only in case logic name is set + // makes sense only in case logic name is set if ( !::utl::LocalFileHelper::ConvertPhysicalNameToURL( pImp->m_aName, aNameURL ) ) SAL_WARN( "sfx.doc", "The medium name is not convertible!" ); } @@ -2209,7 +2209,7 @@ void SfxMedium::GetLockingStream_Impl() if ( !pImp->pTempFile && pImp->m_aName.isEmpty() ) { - // the medium is still based on the original file, it makes sence to initialize the streams + // the medium is still based on the original file, it makes sense to initialize the streams if ( pImp->m_xLockingStream.is() ) pImp->xStream = pImp->m_xLockingStream; diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index b2c352efdd5c..ebbc05927cc5 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -786,7 +786,7 @@ bool SfxDocumentTemplates::CopyFrom Import a template from the file system - [Return value] Sucess (sal_True) or serfpTargetDirectory->GetContent()); + [Return value] Success (sal_True) or serfpTargetDirectory->GetContent()); sal_Bool sal_True, Action could be performed sal_False, Action could not be performed diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 7ce7e253f539..f3bb54701344 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -760,7 +760,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) SfxViewFrame *pFrame = GetFrame(); if ( pFrame && pFrame->GetFrame().GetParentFrame() ) { - // If SID_CLOSEDOC is excecuted through menu and so on, but + // If SID_CLOSEDOC is executed through menu and so on, but // the current document is in a frame, then the // FrameSetDocument should actually be closed. pFrame->GetTopViewFrame()->GetObjectShell()->ExecuteSlot( rReq ); @@ -1029,7 +1029,7 @@ void SfxObjectShell::GetState_Impl(SfxItemSet &rSet) if ( pFrame && pFrame->GetFrame().GetParentFrame() ) { - // If SID_CLOSEDOC is excecuted through menu and so on, but + // If SID_CLOSEDOC is executed through menu and so on, but // the current document is in a frame, then the // FrameSetDocument should actually be closed. pDoc = pFrame->GetTopViewFrame()->GetObjectShell(); diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index ae890ecaf3b4..9ab266871d06 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1798,7 +1798,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r // contents, the storag will be broken xOptStorage->attachToURL( aBackupURL, sal_True ); - // the storage is successfully attached to backup, thus it it owned by the document not by the medium + // the storage is successfully attached to backup, thus it is owned by the document not by the medium rSrcMedium.CanDisposeStorage_Impl( false ); bResult = true; } @@ -1927,7 +1927,7 @@ bool SfxObjectShell::DoSaveObjectAs( SfxMedium& rMedium, bool bCommit ) } catch( uno::Exception& ) { - SAL_WARN( "sfx.doc", "The strotage was not commited on DoSaveAs!" ); + SAL_WARN( "sfx.doc", "The strotage was not committed on DoSaveAs!" ); } } @@ -2520,7 +2520,7 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs ) // copy version list from "old" medium to target medium, so it can be used on saving pMediumTmp->TransferVersionList_Impl( *pRetrMedium ); - // an interaction handler here can aquire only in case of GUI Saving + // an interaction handler here can acquire only in case of GUI Saving // and should be removed after the saving is done com::sun::star::uno::Reference< XInteractionHandler > xInteract; SFX_ITEMSET_ARG( pArgs, pxInteractionItem, SfxUnoAnyItem, SID_INTERACTIONHANDLER, false ); @@ -3366,7 +3366,7 @@ bool StoragesOfUnknownMediaTypeAreCopied_Impl( const uno::Reference< embed::XSto } catch( uno::Exception& ) { - SAL_WARN( "sfx.doc", "Cant check storage consistency!" ); + SAL_WARN( "sfx.doc", "Can not check storage consistency!" ); } return true; diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 67cd9642b351..2f72cadfc9d4 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -512,7 +512,7 @@ SfxObjectShell* SfxObjectShell::GetFirst { SfxObjectShellArr_Impl &rDocs = SfxGetpApp()->GetObjectShells_Impl(); - // seach for a SfxDocument of the specified type + // search for a SfxDocument of the specified type for ( sal_uInt16 nPos = 0; nPos < rDocs.size(); ++nPos ) { SfxObjectShell* pSh = rDocs[ nPos ]; @@ -626,7 +626,7 @@ bool SfxObjectShell::PrepareClose } // Ask if possible if it should be saved - // only ask for the Document in the visable window + // only ask for the Document in the visible window SfxViewFrame *pFrame = SfxObjectShell::Current() == this ? SfxViewFrame::Current() : SfxViewFrame::GetFirst( this ); diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 4e34a5080bbd..cbefd5349786 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -1388,7 +1388,7 @@ void SAL_CALL SfxBaseModel::close( sal_Bool bDeliverOwnership ) throw (util::Clo if (bDeliverOwnership) m_pData->m_bSuicide = true; throw util::CloseVetoException( - "Cant close while saving.", + "Can not close while saving.", static_cast< util::XCloseable* >(this)); } @@ -1587,7 +1587,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue > // stored in normal way. if ( !hasLocation() || getLocation().startsWith("private:") ) { - // actually in this very rare case only UI parameters have sence + // actually in this very rare case only UI parameters have sense // TODO/LATER: should be done later, after integration of sb19 bRet = m_pData->m_pObjectShell->DoSave() && m_pData->m_pObjectShell->DoSaveCompleted(); @@ -2994,7 +2994,7 @@ void SfxBaseModel::impl_store( const OUString& sURL else { // if the password is changed a special error should be used in case of shared document - throw task::ErrorCodeIOException("Cant change password for shared document.", uno::Reference< uno::XInterface >(), ERRCODE_SFX_SHARED_NOPASSWORDCHANGE ); + throw task::ErrorCodeIOException("Can not change password for shared document.", uno::Reference< uno::XInterface >(), ERRCODE_SFX_SHARED_NOPASSWORDCHANGE ); } } #endif |