summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-29 09:07:35 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-07-29 10:08:01 +0200
commit4a9ac82cab9d77e593f9ea4a070eadb50a2bba0a (patch)
tree4419bf1f13a4c768cf5f8bb70d377054ae9f7ee5 /sfx2
parent86b24adfbdebbf95ee8399f7be8d30b4debb1301 (diff)
Fix typos
Change-Id: I94bfbfef24be46583c5c2877e468ed65c2bd5eb0 Reviewed-on: https://gerrit.libreoffice.org/76513 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx4
-rw-r--r--sfx2/source/appl/fileobj.cxx2
-rw-r--r--sfx2/source/appl/impldde.cxx2
-rw-r--r--sfx2/source/appl/workwin.cxx4
-rw-r--r--sfx2/source/control/bindings.cxx2
-rw-r--r--sfx2/source/control/ctrlitem.cxx2
-rw-r--r--sfx2/source/control/dispatch.cxx4
-rw-r--r--sfx2/source/control/thumbnailviewacc.cxx2
-rw-r--r--sfx2/source/control/unoctitm.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
-rw-r--r--sfx2/source/dialog/mailmodel.cxx2
-rw-r--r--sfx2/source/doc/SfxRedactionHelper.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx4
-rw-r--r--sfx2/source/doc/objserv.cxx2
14 files changed, 18 insertions, 18 deletions
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;