[Libreoffice-commits] core.git: sfx2/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Sep 29 23:33:52 PDT 2015


 sfx2/source/appl/appquit.cxx              |    2 +-
 sfx2/source/appl/fileobj.cxx              |    2 +-
 sfx2/source/appl/helpinterceptor.cxx      |    2 +-
 sfx2/source/appl/shutdownicon.cxx         |    2 +-
 sfx2/source/bastyp/bitset.cxx             |    2 +-
 sfx2/source/bastyp/fltfnc.cxx             |    4 ++--
 sfx2/source/control/dispatch.cxx          |    2 +-
 sfx2/source/control/templatelocalview.cxx |    2 +-
 sfx2/source/control/thumbnailview.cxx     |    2 +-
 sfx2/source/control/unoctitm.cxx          |    2 +-
 sfx2/source/dialog/backingcomp.cxx        |    2 +-
 sfx2/source/dialog/dockwin.cxx            |    2 +-
 sfx2/source/dialog/filtergrouping.cxx     |    4 ++--
 sfx2/source/dialog/splitwin.cxx           |    2 +-
 sfx2/source/dialog/tplcitem.cxx           |    2 +-
 15 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit e01ef3e51e931683326aa47022a84c667036524a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 17:58:38 2015 +0200

    Fix typos
    
    Change-Id: Iea53373ab35bbd0189a6de1cb06ed632178a3e20
    Reviewed-on: https://gerrit.libreoffice.org/18975
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 641392b..5e276c3 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 cb87302..15168bc 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 7a44fc1..4840f57 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 572f4ca..b908653 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 64c0dcb..c25d239 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 8da50c8..e4116ea 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 616b110..a34c929 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 e138b88..7a431c2 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 3bae014..897caef 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 c2605d3..617a7a8 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 5ce6b62..f9f6376 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 cd4e20e..257650b 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 b0cd3c1..5600b32 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 8f063de..7d479a9 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 6cc5b08..3210a5e 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())
             {


More information about the Libreoffice-commits mailing list