cli_ure/source/basetypes/uno/Any.cs | 2 +- editeng/source/editeng/impedit4.cxx | 2 +- extensions/source/ole/unoconversionutilities.hxx | 2 +- sfx2/source/appl/appopen.cxx | 4 ++-- sfx2/source/appl/fileobj.cxx | 2 +- sfx2/source/appl/impldde.cxx | 2 +- sfx2/source/appl/workwin.cxx | 4 ++-- sfx2/source/control/bindings.cxx | 2 +- sfx2/source/control/ctrlitem.cxx | 2 +- sfx2/source/control/dispatch.cxx | 4 ++-- sfx2/source/control/thumbnailviewacc.cxx | 2 +- sfx2/source/control/unoctitm.cxx | 2 +- sfx2/source/dialog/filedlghelper.cxx | 2 +- sfx2/source/dialog/mailmodel.cxx | 2 +- sfx2/source/doc/SfxRedactionHelper.cxx | 2 +- sfx2/source/doc/docfile.cxx | 4 ++-- sfx2/source/doc/objserv.cxx | 2 +- ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx | 2 +- 18 files changed, 22 insertions(+), 22 deletions(-)
New commits: commit 4a9ac82cab9d77e593f9ea4a070eadb50a2bba0a Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Mon Jul 29 09:07:35 2019 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Mon Jul 29 10:08:01 2019 +0200 Fix typos Change-Id: I94bfbfef24be46583c5c2877e468ed65c2bd5eb0 Reviewed-on: https://gerrit.libreoffice.org/76513 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/cli_ure/source/basetypes/uno/Any.cs b/cli_ure/source/basetypes/uno/Any.cs index ded67df90aa4..ea44d0f3b880 100644 --- a/cli_ure/source/basetypes/uno/Any.cs +++ b/cli_ure/source/basetypes/uno/Any.cs @@ -61,7 +61,7 @@ public struct Any /** constructs an instance. - <p>If the arguments ar invalid then an exception is thrown.</p> + <p>If the arguments are invalid then an exception is thrown.</p> @exception System.Exception */ public Any(Type type, object value) diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 12a2e522e9d9..e254ca4c7ad8 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2280,7 +2280,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC } else { - // It may be that the Wrongs in the list ar not + // It may be that the Wrongs in the list are not // spanning exactly over words because the // WordDelimiters during expansion are not // evaluated. diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index dc023c55c8bb..a9f5a5ae323e 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1056,7 +1056,7 @@ SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq, // E.g. Sequence<Sequence<sal_Int32>> , the index would refer to Sequence<sal_Int32> // In this case arDimSeqIndices would have the size 1. That is the elements are not counted // but the Sequences that contain those elements. - // The indices ar 0 based + // The indices are 0 based std::unique_ptr<sal_Int32[]> sarDimsSeqIndices; sal_Int32* arDimsSeqIndices= nullptr; if( dimsSeq > 0) diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 067b009005dd..e496b68c114f 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -177,7 +177,7 @@ private: ErrCode CheckPasswd_Impl ( SfxObjectShell* pDoc, - SfxMedium* pFile // the Medium and its Password shold be obtained + SfxMedium* pFile // the Medium and its Password should be obtained ) /* [Description] @@ -703,7 +703,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) // Run synchronous, so that not the next document is loaded // when rescheduling - // TODO/LATER: use URLList argument and always remove one document after another, each step in asychronous execution, until finished + // TODO/LATER: use URLList argument and always remove one document after another, each step in asynchronous execution, until finished // but only if reschedule is a problem GetDispatcher_Impl()->Execute( SID_OPENDOC, SfxCallMode::SYNCHRON, *rReq.GetArgs() ); diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 41af9a85031e..fe4d1e463119 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -325,7 +325,7 @@ void SvFileObject::Edit(weld::Window* pParent, sfx2::SvBaseLink* pLink, const Li IMPL_LINK_NOARG( SvFileObject, LoadGrfReady_Impl, void*, void ) { - // When we come form here there it can not be an error no more. + // When we come from here there it can not be an error no more. bLoadError = false; bWaitForData = false; diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index 4ea44c7d2b4f..25097d480440 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -124,7 +124,7 @@ bool SvDDEObject::GetData( css::uno::Any & rData /*out param*/, pConnection.reset( new DdeConnection( sServer, sTopic ) ); } - if( bWaitForData ) // we are in an rekursive loop, get out again + if( bWaitForData ) // we are in a recursive loop, get out again return false; // Lock against Reentrance diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 939bef94ac10..65a0a43d1c00 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -477,7 +477,7 @@ SfxWorkWindow::SfxWorkWindow( vcl::Window *pWin, SfxFrame *pFrm, SfxFrame* pMast pBindings->SetWorkWindow_Impl( this ); - // For the ObjectBars a integral place in the Childlist is reserved, + // For the ObjectBars an integral place in the Childlist is reserved, // so that they always come in a defined order. for (int i=0; i<SFX_OBJECTBAR_MAX; ++i) aChildren.push_back( nullptr ); @@ -670,7 +670,7 @@ void SfxWorkWindow::ArrangeChildren_Impl( bool bForce ) SvBorder aBorder; if ( nChildren && IsVisible_Impl() ) aBorder = Arrange_Impl(); - // If the current application document contains a IPClient, then the + // If the current application document contains an IPClient, then the // object through SetTopToolFramePixel has to be assigned the available // space. The object will then point to its UITools and sets the app border // (-> SfxInPlaceEnv_Impl:: ArrangeChildren_Impl ()). Otherwise the diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index ffe006d7259a..044f0351dc49 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1136,7 +1136,7 @@ std::unique_ptr<SfxItemSet> SfxBindings::CreateSet_Impl std::size_t nCachePos = pImpl->nMsgPos; const SfxSlot *pSibling = pRealSlot->GetNextSlot(); - // the Slots ODF a interfaces ar linked in a circle + // the Slots ODF and interfaces are linked in a circle while ( pSibling > pRealSlot ) { SfxStateFunc pSiblingFnc=nullptr; diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx index 832725089e26..5775a9a4f04e 100644 --- a/sfx2/source/control/ctrlitem.cxx +++ b/sfx2/source/control/ctrlitem.cxx @@ -173,7 +173,7 @@ void SfxControllerItem::SetId( sal_uInt16 nItemId ) } -// creates a atomic item for a controller without registration. +// creates an atomic item for a controller without registration. SfxControllerItem::SfxControllerItem(): nId(0), diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 26c9b741ee19..11817bfd5028 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -461,7 +461,7 @@ SfxDispatcher::~SfxDispatcher() } } -/** With this method, one or more <SfxShell> are poped from the SfxDispatcher. +/** With this method, one or more <SfxShell> are popped from the SfxDispatcher. The SfxShell is marked for popping and a timer is set up. Only when the timer has reached the end, the pop is actually performed ( <SfxDispatcher::Flush()> ) and the <SfxBindings> is invalidated. @@ -1691,7 +1691,7 @@ bool SfxDispatcher::FindServer_(sal_uInt16 nSlot, SfxSlotServer& rServer) bool bIsServerShell = !xImp->pFrame || bIsInPlace; // Of course ShellServer-Slots are also executable even when it is - // executed on a container dispatcher without a IPClient. + // executed on a container dispatcher without an IPClient. if ( !bIsServerShell ) { SfxViewShell *pViewSh = xImp->pFrame->GetViewShell(); diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index a659920c4ef3..2565c6614877 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -1095,7 +1095,7 @@ sal_Int32 SAL_CALL ThumbnailViewItemAcc::getAccessibleIndexInParent() for (sal_uInt16 i=0; i<nCount && !bDone; i++) { // Guard the retrieval of the i-th child with a try/catch block - // just in case the number of children changes in the mean time. + // just in case the number of children changes in the meantime. try { pItem = mpParent->mrParent.ImplGetVisibleItem (i); diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index aba1357b0ddc..e4e1b8d5f691 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -720,7 +720,7 @@ void SfxDispatchController_Impl::dispatch( const css::util::URL& aURL, if ( bMasterSlave ) { // Extract slave command and add argument to the args list. Master slot MUST - // have a argument that has the same name as the master slot and type is SfxStringItem. + // have an argument that has the same name as the master slot and type is SfxStringItem. sal_Int32 nIndex = lNewArgs.getLength(); lNewArgs.realloc( nIndex+1 ); lNewArgs[nIndex].Name = OUString::createFromAscii( pSlot->pUnoName ); diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 73e0ae0cf821..5f2699d0f525 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -793,7 +793,7 @@ ErrCode FileDialogHelper_Impl::getGraphic( Graphic& rGraphic ) const { ErrCode nRet = ERRCODE_NONE; - // rhbz#1079672 do not return maGraphic, it need not be the selected file + // rhbz#1079672 do not return maGraphic, it needs not to be the selected file OUString aPath; Sequence<OUString> aPathSeq = mxFileDlg->getFiles(); diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index e7d6bc0299bd..f8933256e539 100644 --- a/sfx2/source/dialog/mailmodel.cxx +++ b/sfx2/source/dialog/mailmodel.cxx @@ -647,7 +647,7 @@ SfxMailModel::~SfxMailModel() void SfxMailModel::AddToAddress( const OUString& rAddress ) { - // don't add a empty address + // don't add an empty address if ( !rAddress.isEmpty() ) { if ( !mpToList ) diff --git a/sfx2/source/doc/SfxRedactionHelper.cxx b/sfx2/source/doc/SfxRedactionHelper.cxx index 3a43faed3ac5..a5182f25593f 100644 --- a/sfx2/source/doc/SfxRedactionHelper.cxx +++ b/sfx2/source/doc/SfxRedactionHelper.cxx @@ -432,7 +432,7 @@ void SfxRedactionHelper::searchInMetaFile(const RedactionTarget* pRedactionTarge MetaAction* pCurrAct; // Watch for TEXTARRAY actions. - // They contain the text of paragraphes. + // They contain the text of paragraphs. for (pCurrAct = const_cast<GDIMetaFile&>(rMtf).FirstAction(); pCurrAct; pCurrAct = const_cast<GDIMetaFile&>(rMtf).NextAction()) { diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 316d7057a1be..96ff6618739c 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -506,7 +506,7 @@ Reference < XContent > SfxMedium::GetContent() const } else { - // TODO: SAL_WARN( "sfx.doc", "SfxMedium::GetContent()\nCreate Content? This code exists as fallback only. Please clarify, why its used."); + // TODO: SAL_WARN( "sfx.doc", "SfxMedium::GetContent()\nCreate Content? This code exists as fallback only. Please clarify, why it's used."); OUString aURL; if ( !pImpl->m_aName.isEmpty() ) osl::FileBase::getFileURLFromSystemPath( pImpl->m_aName, aURL ); @@ -2444,7 +2444,7 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont if ( !pImpl->m_aBackupURL.isEmpty() ) return; - // the copiing to the backup catalog failed ( for example because + // the copying to the backup catalog failed ( for example because // of using an encrypted partition as target catalog ) // since the user did not specify to make backup explicitly // office should try to make backup in another place, diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 195e0d0ba534..517d30a7c950 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -970,7 +970,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) if ( nId == SID_EXPORTDOCASPDF ) { - // This function is used by the SendMail function that needs information if a export + // This function is used by the SendMail function that needs information if an export // file was written or not. This could be due to cancellation of the export // or due to an error. So IO abort must be handled like an error! nErrorCode = ( lErr != ERRCODE_IO_ABORT ) && ( nErrorCode == ERRCODE_NONE ) ? nErrorCode : lErr; diff --git a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx index af317bd18af0..836a136f62f3 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx @@ -317,7 +317,7 @@ uno::Sequence< beans::Property > HierarchyContent::getProperties( // Currently no difference between read-only/read-write - // -> all props ar read-only + // -> all props are read-only static const beans::Property aRootFolderPropertyInfoTable[] = { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits