summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-26 14:27:42 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-03-26 14:02:41 +0000
commit2eae33e82e5f91d6dbaf7e8e848f53644596059d (patch)
treee5a7f4e35b9cb0ef19023429032d6e79d41979ab /sfx2
parent887039a3b766c1f2f5a37130f4e7c2d116d89c5f (diff)
Fix typos
Change-Id: I5518e764fd8349c476e79bb888e93a1dab01ed1d Reviewed-on: https://gerrit.libreoffice.org/35644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/appchild.cxx2
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx2
-rw-r--r--sfx2/source/control/dispatch.cxx6
-rw-r--r--sfx2/source/control/thumbnailview.cxx4
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx2
-rw-r--r--sfx2/source/doc/objmisc.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
9 files changed, 12 insertions, 12 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 03ae9db916aa..0f1b1bb8ebb2 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -709,7 +709,7 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
static_cast< SfxStringItem const * >(pItem)->GetValue(), batch);
}
- // Secure-Referers
+ // Secure-Referrer
if ( SfxItemState::SET == rSet.GetItemState(SID_SECURE_URL, true, &pItem))
{
DBG_ASSERT(dynamic_cast< const SfxStringListItem *>( pItem ) != nullptr, "StringListItem expected");
diff --git a/sfx2/source/appl/appchild.cxx b/sfx2/source/appl/appchild.cxx
index 1c36be3c1b77..0cee7193875a 100644
--- a/sfx2/source/appl/appchild.cxx
+++ b/sfx2/source/appl/appchild.cxx
@@ -74,7 +74,7 @@ void SfxApplication::RegisterChildWindowContext_Impl( SfxModule *pMod, sal_uInt1
SfxChildWinFactory *pFac = &(*pFactories)[nFactory];
if ( nId == pFac->nId )
{
- // Factory found, registrer Context here.
+ // Factory found, register Context here.
pF = pFac;
break;
}
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index 434006120012..1a1b794794a7 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -274,7 +274,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
return TRUE;
case WM_CREATE:
{
- // request notfication when taskbar is recreated
+ // request notification when taskbar is recreated
// we then have to add our icon again
s_uTaskbarRestart = RegisterWindowMessage(TEXT("TaskbarCreated"));
s_uMsgKillTray = RegisterWindowMessage( SHUTDOWN_QUICKSTART_MESSAGE );
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index f6d19173b3c7..4303cd9e0485 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -483,7 +483,7 @@ SfxDispatcher::~SfxDispatcher()
xImp->aIdle.Stop();
xImp->xPoster->SetEventHdl( Link<SfxRequest*,void>() );
- // Notify the stack varialbles in Call_Impl
+ // Notify the stack variables in Call_Impl
if ( xImp->pInCallAliveFlag )
*xImp->pInCallAliveFlag = false;
@@ -1011,7 +1011,7 @@ const SfxPoolItem* SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode nCall,
@param nSlot the Id of the executing function
@param eCall SfxCallMode::SYNCRHON, ..._ASYNCHRON or ..._SLOT
- @param pArgs Zero teminated C-Array of Parameters
+ @param pArgs Zero terminated C-Array of Parameters
@param pInternalArgs Zero terminated C-Array of Parameters
@return const SfxPoolItem* Pointer to the SfxPoolItem valid to the next run
@@ -1611,7 +1611,7 @@ void SfxDispatcher::FlushImpl()
if( bAwakeBindings )
aToDoCopy.clear();
- // If more changes have occurred on the stach when
+ // If more changes have occurred on the stack when
// Activate/Deactivate/Delete:
if (!xImp->bFlushed)
// If Push/Pop has been called by someone, then also EnterReg was called!
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 8749a00e5ff2..5843d79c8a54 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -510,7 +510,7 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
if (aKeyCode.IsShift() && bHasSelRange)
{
- //If the last elemented selected is the start range position
+ //If the last element selected is the start range position
//search for the first selected item
size_t nSelPos = mpStartSelRange - mFilteredItemList.begin();
@@ -1289,7 +1289,7 @@ BitmapEx ThumbnailView::readThumbnail(const OUString &msURL)
catch (const uno::Exception& rException)
{
SAL_WARN("sfx",
- "caught exception while trying to access tuhmbnail of "
+ "caught exception while trying to access thumbnail of "
<< msURL << ": " << rException.Message);
}
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 0ae7a117b344..4f71efbd3471 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1177,7 +1177,7 @@ SfxDocumentInfoDialog::SfxDocumentInfoDialog( vcl::Window* pParent,
DBG_ASSERT( pURLItem, "No BaseURL provided for InternetTabPage!" );
#endif
- // Determine the Titels
+ // Determine the Titles
const SfxPoolItem* pItem = nullptr;
OUString aTitle( GetText() );
if ( SfxItemState::SET !=
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index aae4e62912cc..063fbf412f73 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2415,7 +2415,7 @@ void SfxMedium::GetMedium_Impl()
}
else
{
- // add a check for protocol, if it's http or https or provate webdav then add
+ // add a check for protocol, if it's http or https or provide webdav then add
// the interaction handler to be used by the authentication dialog
if ( GetURLObject().isAnyKnownWebDAVScheme() )
{
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 16d58bcfbdb7..4947999969dc 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -1307,7 +1307,7 @@ void AutoReloadTimer_Impl::Invoke()
if ( pFrame )
{
- // Not possible/meanigfull at the moment?
+ // Not possible/meaningful at the moment?
if ( !pObjSh->CanReload_Impl() || pObjSh->IsAutoLoadLocked() || Application::IsUICaptured() )
{
// Allow a retry
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 35ccfbebc980..e1175e8cebc6 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1044,7 +1044,7 @@ bool SfxViewFrame::Close()
if (SfxViewFrame::Current() == this)
SfxViewFrame::SetViewFrame( nullptr );
- // Since the Dispatcher is emptied, it can not be used in any reasnable
+ // Since the Dispatcher is emptied, it can not be used in any reasonable
// manner, thus it is better to let the dispatcher be.
GetDispatcher()->Lock(true);
delete this;