summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:58:38 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:33:31 +0000
commite01ef3e51e931683326aa47022a84c667036524a (patch)
tree4d82f1a8eaa48600e58b32aa7cc57a330cbcc533 /sfx2
parent185f207ef17d58ea81d0c17c1a37cf14647cc71a (diff)
Fix typos
Change-Id: Iea53373ab35bbd0189a6de1cb06ed632178a3e20 Reviewed-on: https://gerrit.libreoffice.org/18975 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appquit.cxx2
-rw-r--r--sfx2/source/appl/fileobj.cxx2
-rw-r--r--sfx2/source/appl/helpinterceptor.cxx2
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
-rw-r--r--sfx2/source/bastyp/bitset.cxx2
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx4
-rw-r--r--sfx2/source/control/dispatch.cxx2
-rw-r--r--sfx2/source/control/templatelocalview.cxx2
-rw-r--r--sfx2/source/control/thumbnailview.cxx2
-rw-r--r--sfx2/source/control/unoctitm.cxx2
-rw-r--r--sfx2/source/dialog/backingcomp.cxx2
-rw-r--r--sfx2/source/dialog/dockwin.cxx2
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx4
-rw-r--r--sfx2/source/dialog/splitwin.cxx2
-rw-r--r--sfx2/source/dialog/tplcitem.cxx2
15 files changed, 17 insertions, 17 deletions
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 641392b008fc..5e276c398ed4 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -121,7 +121,7 @@ void SfxApplication::Deinitialize()
DELETEX(SfxViewShellArr_Impl, pAppData_Impl->pViewShells);
DELETEX(SfxObjectShellArr_Impl, pAppData_Impl->pObjShells);
- //TODO/CLEANTUP
+ //TODO/CLEANUP
//ReleaseArgs could be used instead!
pAppData_Impl->pPool = NULL;
NoChaos::ReleaseItemPool();
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index cb8730262381..15168bc2290c 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -103,7 +103,7 @@ bool SvFileObject::GetData( ::com::sun::star::uno::Any & rData,
{
Graphic aGrf;
- // If the native format is reqested, has to be reset at the
+ // If the native format is requested, has to be reset at the
// end of the flag. Is solely in the sw/ndgrf.cxx used when
// the link is removed form GraphicNode.
bool bOldNativFormat = bNativFormat;
diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx
index 7a44fc1c6029..4840f575319d 100644
--- a/sfx2/source/appl/helpinterceptor.cxx
+++ b/sfx2/source/appl/helpinterceptor.cxx
@@ -256,7 +256,7 @@ void SAL_CALL HelpInterceptor_Impl::dispatch(
{
HelpHistoryEntry_Impl* pEntry = m_pHistory->at( nPos );
if ( pEntry )
- m_pWindow->loadHelpContent(pEntry->aURL, false); // false => dont add item to history again!
+ m_pWindow->loadHelpContent(pEntry->aURL, false); // false => don't add item to history again!
}
m_pWindow->UpdateToolbox();
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 572f4ca4cddf..b90865308d58 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -416,7 +416,7 @@ IMPL_LINK_TYPED( ShutdownIcon, DialogClosedHdl_Impl, FileDialogHelper*, /*unused
xPickerControls->getValue( ExtendedFilePickerElementIds::CHECKBOX_READONLY, 0 ) >>= bReadOnly;
- // Only set porperty if readonly is set to TRUE
+ // Only set property if readonly is set to TRUE
if ( bReadOnly )
{
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index 64c0dcbaae4f..c25d239777ec 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -210,7 +210,7 @@ BitSet& BitSet::operator|=( const BitSet& rSet )
// add the bits blocks by block
for ( sal_uInt16 nBlock = 0; nBlock < nMax; ++nBlock )
{
- // compute numberof additional bits
+ // compute number of additional bits
sal_uInt32 nDiff = ~*(pBitmap+nBlock) & *(rSet.pBitmap+nBlock);
nCount = nCount + CountBits(nDiff);
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 8da50c8581c1..e4116ea3c951 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -216,7 +216,7 @@ const SfxFilter* SfxFilterContainer::GetDefaultFilter_Impl( const OUString& rNam
OUString sServiceName = aOpt.GetFactoryName(eFactory);
OUString sDefaultFilter = aOpt.GetFactoryDefaultFilter(eFactory);
- // Try to get the default filter. Dont fiorget to verify it.
+ // Try to get the default filter. Don't forget to verify it.
// May the set default filter does not exists any longer or
// does not fit the given factory.
const SfxFilterMatcher aMatcher;
@@ -477,7 +477,7 @@ sal_uInt32 SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c
}
uno::Sequence< beans::PropertyValue > lDescriptor = aDescriptor.getAsConstPropertyValueList();
- sTypeName = xDetection->queryTypeByDescriptor(lDescriptor, sal_True); // lDescriptor is used as In/Out param ... dont use aDescriptor.getAsConstPropertyValueList() directly!
+ sTypeName = xDetection->queryTypeByDescriptor(lDescriptor, sal_True); // lDescriptor is used as In/Out param ... don't use aDescriptor.getAsConstPropertyValueList() directly!
for (sal_Int32 i = 0; i < lDescriptor.getLength(); ++i)
{
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 616b110d0933..a34c9296bf0e 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -592,7 +592,7 @@ SfxShell *SfxDispatcher::GetShell(sal_uInt16 nIdx) const
}
/** This method returns a pointer to the <SfxBinding> Instance on which the
- SfxDispatcher is curretly bound. A SfxDispatcher is only bound to
+ SfxDispatcher is currently bound. A SfxDispatcher is only bound to
the SfxBindings when it is <UI-aktiv>. If it is not UI-active,
a NULL-pointer is returned.
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index e138b88fd905..7a431c24f8c8 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -129,7 +129,7 @@ void TemplateLocalView::showRootRegion()
mnCurRegionId = 0;
maCurRegionName.clear();
- // Clone root region items so they dont get invalidated when we open another region
+ // Clone root region items so they don't get invalidated when we open another region
std::vector<ThumbnailViewItem*> items(maRegions.size());
for (int i = 0, n = maRegions.size(); i < n; ++i)
{
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 3bae014e1f10..897caef4cd5b 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -575,7 +575,7 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
{
//If we are in the second last row just go the one in
//the row below, if theres not row below just go to the
- //last item but for the last row dont do anything.
+ //last item but for the last row don't do anything.
if ( nLastPos + mnCols < mFilteredItemList.size( ) )
{
bValidRange = true;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index c2605d3e617f..617a7a8da92c 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -768,7 +768,7 @@ void SAL_CALL SfxDispatchController_Impl::dispatch( const ::com::sun::star::util
lNewArgs[nIndex++] = aAddArgs[i];
}
- // Overwrite possible detected sychron argument, if real listener exists (currently no other way)
+ // Overwrite possible detected synchron argument, if real listener exists (currently no other way)
if ( rListener.is() )
nCall = SfxCallMode::SYNCHRON;
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 5ce6b62168ca..f9f6376ad9d2 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -571,7 +571,7 @@ sal_Bool SAL_CALL BackingComp::suspend( /*IN*/ sal_Bool )
void SAL_CALL BackingComp::disposing( /*IN*/ const css::lang::EventObject& aEvent )
throw(css::uno::RuntimeException, std::exception)
{
- // Attention: dont free m_pAccExec here! see comments inside dtor and
+ // Attention: don't free m_pAccExec here! see comments inside dtor and
// keyPressed() for further details.
/* SAFE { */
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index cd4e20e5d813..257650be50fd 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1480,7 +1480,7 @@ SfxChildAlignment SfxDockingWindow::CalcAlignment(const Point& rPos, Rectangle&
bool bChanged = pImp->nLine != pImp->nDockLine || pImp->nPos != pImp->nDockPos || eDockAlign != GetAlignment();
if ( !bChanged && !IsFloatingMode() )
{
- // window only sightly moved, no change of any property
+ // window only slightly moved, no change of any property
rRect.SetSize( pImp->aSplitSize );
rRect.SetPos( aDockingRect.TopLeft() );
return eDockAlign;
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index b0cd3c170467..5600b3283821 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -106,7 +106,7 @@ namespace sfx2
the filter itself) nor indirectly (as part of another local group).</p>
<p>The only exception are filters which are part of a global class <em>and</em> a local class. This is allowed.
- Being cotained in two local classes isn't.</p>
+ Being contained in two local classes isn't.</p>
<p>So that's all what you need to know: Understand the concept of "filter classes" (a filter class combines
different filters and acts as if it's a filter itself) and the concept of groups (a group just describes a
@@ -646,7 +646,7 @@ namespace sfx2
++aGroupPos;
}
if ( aGroupPos != _rAllFilters.end() )
- // we found a global class name which matchies the doc service name -> fill the filters of this
+ // we found a global class name which matches the doc service name -> fill the filters of this
// group in the respective prepared group
aCurrentGroup = aGroupPos;
else
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 8f063deb425a..7d479a9e65c2 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -647,7 +647,7 @@ void SfxSplitWindow::InsertWindow( SfxDockingWindow* pDockWin, const Size& rSize
{
DBG_ASSERT(rD.bNewLine, "No new line?");
- // The posption is pushed to nPos==0
+ // The position is pushed to nPos==0
rD.bNewLine = false;
pDock->bNewLine = true;
}
diff --git a/sfx2/source/dialog/tplcitem.cxx b/sfx2/source/dialog/tplcitem.cxx
index 6cc5b08be270..3210a5e44501 100644
--- a/sfx2/source/dialog/tplcitem.cxx
+++ b/sfx2/source/dialog/tplcitem.cxx
@@ -76,7 +76,7 @@ void SfxTemplateControllerItem::StateChanged( sal_uInt16 nSID, SfxItemState eSta
rTemplateDlg.SetFamilyState( GetId(), pStateItem );
}
bool bDisable = eState == SfxItemState::DISABLED;
- // Disable Familly
+ // Disable Family
sal_uInt16 nFamily = 0;
switch( GetId())
{