summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:25:02 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:21:01 +0000
commit0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (patch)
treeb5cf38ba79bb7259fe3aeedf660a2ce804b66369 /sfx2
parent462e986e0dbd533b3a15696555e08489963c9542 (diff)
Fix typos
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx2
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/appl/workwin.cxx2
-rw-r--r--sfx2/source/control/dispatch.cxx6
-rw-r--r--sfx2/source/dialog/mailmodel.cxx2
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/objcont.cxx2
-rw-r--r--sfx2/source/doc/objstor.cxx2
-rw-r--r--sfx2/source/doc/printhelper.cxx8
-rw-r--r--sfx2/source/menu/virtmenu.cxx2
-rw-r--r--sfx2/source/statbar/stbitem.cxx2
12 files changed, 17 insertions, 17 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 4ac17df231a0..866412820ce6 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -214,7 +214,7 @@ sal_uInt32 CheckPasswd_Impl
{
// TODO/LATER:
// the storage either has no encrypted elements or it's just
- // does not allow to detect it, probably it should be implemented laiter
+ // does not allow to detect it, probably it should be implemented later
}
if ( bIsEncrypted )
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index c936655737b8..daf697cd2be4 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -681,7 +681,7 @@ void IndexTabPage_Impl::InitializeIndex()
else
aIndex.clear();
- // Assume the token is trimed
+ // Assume the token is trimmed
UNIFY_AND_INSERT_TOKEN( aKeywordPair );
sal_uInt32 nRefListLen = aRefList.getLength();
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 1bf8e323a760..93bf4df98def 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -78,7 +78,7 @@ static const ResIdToResName pToolBarResToName[] =
{ 18001, "formsnavigationbar" }, // Probably the rest are defined in .hrc files that are higher
// up in the dependency chain and/or later in the build order,
// and that is the (bad) reason why their symbolic names are
- // not available? Would it really be so owful to move the .hrc
+ // not available? Would it really be so awful to move the .hrc
// files in question out from the modules where they now are?
{ 18002, "formsfilterbar" },
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 64a6cb559c74..109d336e26f9 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1266,8 +1266,8 @@ void SfxDispatcher::_Update_Impl( bool bUIActive, bool bIsMDIApp, bool bIsIPOwne
xImp->aObjBars[n].nResId = 0;
xImp->aChildWins.clear();
- // bQuiet : own shells aren't considered for UI and SlotServer
- // bNoUI: own Shells aren't considered fors UI
+ // bQuiet: own shells aren't considered for UI and SlotServer
+ // bNoUI: own Shells aren't considered forms UI
if ( xImp->bQuiet || xImp->bNoUI || (xImp->pFrame && xImp->pFrame->GetObjectShell()->IsPreview()) )
return;
@@ -1538,7 +1538,7 @@ void SfxDispatcher::FlushImpl()
// If more changes have occurred on the stach when
// Activate/Deactivate/Delete:
if (!xImp->bFlushed)
- // If Push/Pop hs been called by someone, theb also EnterReg was called!
+ // If Push/Pop has been called by someone, then also EnterReg was called!
FlushImpl();
if( bAwakeBindings && GetBindings() )
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index b0cdda7e85f9..6b31c592d6b9 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -567,7 +567,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat(
}
}
- //check if this is the pdf otput filter (i#64555)
+ //check if this is the pdf output filter (i#64555)
if( bSendAsPDF )
{
SaveResult eShowPDFFilterDialog = ShowFilterOptionsDialog(
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 228f57878a34..d6130df49887 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -1262,7 +1262,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
if (!xIn.is() && URL.isEmpty()) {
throw lang::IllegalArgumentException(
"DocumentMetadataAccess::loadMetadataFromMedium: "
- "inalid medium: no URL, no input stream", *this, 0);
+ "invalid medium: no URL, no input stream", *this, 0);
}
uno::Reference<embed::XStorage> xStorage;
try {
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 140e62cd044c..38ca442ccf9b 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -615,7 +615,7 @@ bool SfxDocumentTemplates::CopyOrMove
else
{
if ( xTemplates->removeTemplate( pTargetRgn->GetTitle(), aTitle ) )
- return false; // will trigger tetry with copy instead of move
+ return false; // will trigger retry with copy instead of move
// if it is not possible to remove just created template ( must be possible! )
// it is better to report success here, since at least the copy has succeeded
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index c7d5cde56e11..16c573e36ad3 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -233,7 +233,7 @@ void SfxObjectShell::UpdateTime_Impl(
util::Duration editDuration(sal_False, 0, 0, 0,
secs/3600, (secs%3600)/60, secs%60, 0);
- // Initialize some local member! Its necessary for wollow operations!
+ // Initialize some local member! Its necessary for follow operations!
DateTime aNow( DateTime::SYSTEM ); // Date and time at current moment
tools::Time n24Time (24,0,0,0) ; // Time-value for 24 hours - see follow calculation
sal_uIntPtr nDays = 0 ; // Count of days between now and last editing
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index ae51fb74004f..cfaa651a887b 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1795,7 +1795,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r
{
// the following call will only compare stream sizes
// TODO/LATER: this is a very risky part, since if the URL contents are different from the storage
- // contents, the storag will be broken
+ // contents, the storage will be broken
xOptStorage->attachToURL( aBackupURL, sal_True );
// the storage is successfully attached to backup, thus it is owned by the document not by the medium
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index 791fbeaf915d..be3825a07f3c 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -470,8 +470,8 @@ void SAL_CALL SfxPrintHelper::setPrinter(const uno::Sequence< beans::PropertyVal
/* This implements a thread which will be started to wait for asynchronous
- print jobs to temp. localy files. If they finish we move the temp. files
- to her right locations by using the ucb.
+ print jobs to temp. locally files. If they finish we move the temp. files
+ to their right locations by using the ucb.
*/
class ImplUCBPrintWatcher : public ::osl::Thread
{
@@ -509,7 +509,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
/* } SAFE */
// lock for further using of our member isn't necessary - because
- // we truns alone by defenition. Nobody join for us nor use us ...
+ // we run alone by definition. Nobody join for us nor use us...
moveAndDeleteTemp(&m_pTempFile,m_sTargetURL);
// finishing of this run() method will call onTerminate() automatically
@@ -787,7 +787,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
// b)
else
{
- // Note: we create(d) some resource on the heap. (thread and tep file)
+ // Note: we create(d) some resource on the heap (thread and temp file).
// They will be deleted by the thread automatically if he finish his run() method.
ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl );
pWatcher->create();
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index 85defbfc21fb..4adda62c45ec 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -782,7 +782,7 @@ IMPL_LINK_TYPED( SfxVirtualMenu, Activate, Menu *, pMenu, bool )
<< pSVMenu);
// MI: for what was it still good for?
- // MBA: seemes to be an old QAP-Hack( checked-in in rev.1.41 ! )
+ // MBA: seems to be an old QAP-Hack (checked-in in rev.1.41!)
if ( pMenu )
{
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 204fee2207ce..5a1866120008 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -426,7 +426,7 @@ void SfxStatusBarControl::StateChanged
sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState /* Pointer to SfxPoolItem, is only valid
- withih this Method call. This can be a
+ within this Method call. This can be a
Null-Pointer, a Pointer to SfxVoidItem
or of this Type found registered by the
Subclass of SfxStatusBarControl.