[Libreoffice-commits] core.git: dbaccess/source drawinglayer/source dtrans/source framework/source include/basic include/salhelper jurt/com odk/examples sc/source sd/source sfx2/source sw/source UnoControls/source vcl/source vcl/win xmloff/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Dec 19 06:24:24 UTC 2017


 UnoControls/source/controls/progressbar.cxx                                   |    2 +-
 dbaccess/source/core/api/RowSetBase.cxx                                       |    4 ++--
 drawinglayer/source/processor2d/vclprocessor2d.cxx                            |    2 +-
 dtrans/source/win32/dtobj/Fetc.hxx                                            |    2 +-
 dtrans/source/win32/dtobj/XTDataObject.hxx                                    |    2 +-
 dtrans/source/win32/workbench/XTDo.hxx                                        |    2 +-
 framework/source/dispatch/closedispatcher.cxx                                 |    2 +-
 include/basic/sbuno.hxx                                                       |    2 +-
 include/salhelper/singletonref.hxx                                            |    2 +-
 jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java                       |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java  |    4 ++--
 sc/source/core/data/global.cxx                                                |    2 +-
 sc/source/ui/undo/undocell.cxx                                                |    2 +-
 sd/source/ui/inc/framework/Pane.hxx                                           |    2 +-
 sfx2/source/dialog/basedlgs.cxx                                               |    2 +-
 sw/source/core/doc/docbm.cxx                                                  |    2 +-
 sw/source/core/layout/trvlfrm.cxx                                             |    2 +-
 vcl/source/gdi/gdimtf.cxx                                                     |    2 +-
 vcl/source/gdi/pdfwriter_impl.cxx                                             |    2 +-
 vcl/win/window/salframe.cxx                                                   |    2 +-
 xmloff/source/text/txtftne.cxx                                                |    2 +-
 22 files changed, 24 insertions(+), 24 deletions(-)

New commits:
commit 8efd39be747c729a7f5b40cbca3e2a93585f9413
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Dec 19 00:00:46 2017 +0100

    Fix typos
    
    Change-Id: Ibffe19c1dfda9d0f4ba8d2a0761ad1222491007f
    Reviewed-on: https://gerrit.libreoffice.org/46599
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index d94409e5e337..dc1757a46cf9 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -204,7 +204,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax )
 
     // save impossible cases
     // This method is only defined for valid values
-    // If you ignore this, the release version wil produce an error "division by zero" in "ProgressBar::setValue()"!
+    // If you ignore this, the release version will produce an error "division by zero" in "ProgressBar::setValue()"!
     DBG_ASSERT ( ( nMin != nMax ) , "ProgressBar::setRange()\nValues for MIN and MAX are the same. This is not allowed!\n" );
 
     // Ready for multithreading
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 5d2b11e20a6e..48226e2d61c8 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -1374,7 +1374,7 @@ ORowSetNotifier::ORowSetNotifier( ORowSetBase* _pRowSet )
     ,m_bWasModified( false )
 {
 
-    OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This wil crash." );
+    OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This will crash." );
 
     // remember the "inserted" and "modified" state for later firing
     m_bWasNew       = m_pRowSet->isNew( ORowSetBase::GrantNotifierAccess() );
@@ -1392,7 +1392,7 @@ ORowSetNotifier::ORowSetNotifier( ORowSetBase* _pRowSet,const ORowSetValueVector
     ,m_bWasModified( false )
 {
 
-    OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This wil crash." );
+    OSL_ENSURE( m_pRowSet, "ORowSetNotifier::ORowSetNotifier: invalid row set. This will crash." );
     m_pImpl->aRow = i_aRow; // yes, create a copy to store the old values
 }
 
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index e1cf42b0f42c..0240cd988dad 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -650,7 +650,7 @@ namespace drawinglayer
                                         // tools::PolyPolygon is filled. Create the bitmap tile area in object
                                         // coordinates. For this, the object transformation needs to be created
                                         // from the already scaled PolyPolygon. The tile area in object
-                                        // coordinates wil always be non-rotated, so it's not necessary to
+                                        // coordinates will always be non-rotated, so it's not necessary to
                                         // work with a polygon here
                                         basegfx::B2DRange aTileRange(rFillGraphicAttribute.getGraphicRange());
                                         const basegfx::B2DRange aPolyPolygonRange(rPolyPolygon.getB2DRange());
diff --git a/dtrans/source/win32/dtobj/Fetc.hxx b/dtrans/source/win32/dtobj/Fetc.hxx
index f4b7b62fc372..7a6106d247f9 100644
--- a/dtrans/source/win32/dtobj/Fetc.hxx
+++ b/dtrans/source/win32/dtobj/Fetc.hxx
@@ -36,7 +36,7 @@
 
 /**********************************************************************
  stl container elements must fulfill the following requirements:
- 1. they need a copy ctor and assignement operator(?)
+ 1. they need a copy ctor and assignment operator(?)
  2. they must be comparable
  because the FORMATETC structure has a pointer to a TARGETDEVICE
  structure we need a simple wrapper class to fulfill these needs
diff --git a/dtrans/source/win32/dtobj/XTDataObject.hxx b/dtrans/source/win32/dtobj/XTDataObject.hxx
index cd6097879656..80be647b7265 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.hxx
@@ -48,7 +48,7 @@
       if there is one, he requests the data in this format
 
     - This class inherits from IDataObject an so can be placed on the
-      OleClipboard. The class wrapps a transferable object which is the
+      OleClipboard. The class wraps a transferable object which is the
       original DataSource
     - DataFlavors offerd by this transferable will be translated into
       appropriate clipboard formats
diff --git a/dtrans/source/win32/workbench/XTDo.hxx b/dtrans/source/win32/workbench/XTDo.hxx
index 4bfc33188473..a6c9c763c6db 100644
--- a/dtrans/source/win32/workbench/XTDo.hxx
+++ b/dtrans/source/win32/workbench/XTDo.hxx
@@ -42,7 +42,7 @@ class EnumFormatEtc;
       if there is one, he requests the data in this format
 
     - This class inherits from IDataObject an so can be placed on the
-      OleClipboard. The class wrapps a transferable object which is the
+      OleClipboard. The class wraps a transferable object which is the
       original DataSource
     - DataFlavors offerd by this transferable will be translated into
       appropriate clipboard formats
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 70d40f58f1cc..ca9ce2d9aefb 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -574,7 +574,7 @@ css::uno::Reference< css::frame::XFrame > CloseDispatcher::static_impl_searchRig
     css::uno::Reference< css::frame::XFrame > xTarget = xFrame;
     while(true)
     {
-        // a) top frames wil be closed
+        // a) top frames will be closed
         if (xTarget->isTop())
             return xTarget;
 
diff --git a/include/basic/sbuno.hxx b/include/basic/sbuno.hxx
index 2fd809304671..d690a35ce01a 100644
--- a/include/basic/sbuno.hxx
+++ b/include/basic/sbuno.hxx
@@ -28,7 +28,7 @@
 
 namespace com { namespace sun { namespace star { namespace uno { class Any; }}}}
 
-// Returns a SbxObject that wrapps an Uno Interface
+// Returns a SbxObject that wraps an Uno Interface
 // Implementation in basic/source/classes/sbunoobj.cxx
 BASIC_DLLPUBLIC SbxObjectRef GetSbUnoObject( const OUString& aName, const css::uno::Any& aUnoObj_ );
 
diff --git a/include/salhelper/singletonref.hxx b/include/salhelper/singletonref.hxx
index e83df522abee..45f685835d54 100644
--- a/include/salhelper/singletonref.hxx
+++ b/include/salhelper/singletonref.hxx
@@ -111,7 +111,7 @@ class SingletonRef
         /** @short  standard dtor.
 
                     The internal wrapped object is removed only,
-                    if its ref count wil be 0. Otherwise this method
+                    if its ref count will be 0. Otherwise this method
                     does nothing ... except decreasing of the internal
                     ref count!
          */
diff --git a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java
index 860701d59c7f..031e60d3f1dc 100644
--- a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java
+++ b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java
@@ -38,7 +38,7 @@ import com.sun.star.uno.UnoRuntime;
 /**
  * The BridgeFactory class implements the <code>XBridgeFactory</code> Interface.
  *
- * <p>It wrapps the <code>UnoRuntime#getBridgeByName</code>method and delivers a
+ * <p>It wraps the <code>UnoRuntime#getBridgeByName</code>method and delivers a
  * XBridge component.</p>
  *
  * <p>This component is only usable for remote bridges.</p>
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 6b1da998dc00..fee367d125b2 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -306,7 +306,7 @@ public class FunctionHelper
                 // the systemw window handle. A possible reason can be an invisible
                 // java window. In this case it should be enough to set return
                 // values to null. All other resources (which was created before)
-                // will be freed automatically if scope wil be leaved.
+                // will be freed automatically if scope will be leaved.
                 System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?");
                 xPeer   = null;
                 xWindow = null;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
index ce47f43e26ef..a2ade7f8a601 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
@@ -71,7 +71,7 @@ public class ViewContainer extends Thread
     /**
      * ctor
      * It's private - because nobody should create any instance
-     * expect the only global one, which wil be created by ourself!
+     * expect the only global one, which will be created by ourself!
      */
     private ViewContainer()
     {
@@ -162,7 +162,7 @@ public class ViewContainer extends Thread
 
 
     /**
-     * add/remove listener for possibe shutdown events
+     * add/remove listener for possible shutdown events
      */
     public void addListener( IShutdownListener rListener )
     {
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 5fa52755596b..0051dc6357a3 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -233,7 +233,7 @@ const SvxSearchItem& ScGlobal::GetSearchItem()
 
 void ScGlobal::SetSearchItem( const SvxSearchItem& rNew )
 {
-    // FIXME: An assignement operator would be nice here
+    // FIXME: An assignment operator would be nice here
     delete pSearchItem;
     pSearchItem = static_cast<SvxSearchItem*>(rNew.Clone());
 
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index becde96c8018..c93051a4aa49 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -270,7 +270,7 @@ void ScUndoEnterData::Redo()
         {
             ScAddress aPos = maPos;
             aPos.SetTab(nTab);
-            // edit text wil be cloned.
+            // edit text will be cloned.
             rDoc.SetEditText(aPos, *mpNewEditData, nullptr);
         }
         else
diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx
index 5c4785b3b1eb..d40e1b1db403 100644
--- a/sd/source/ui/inc/framework/Pane.hxx
+++ b/sd/source/ui/inc/framework/Pane.hxx
@@ -57,7 +57,7 @@ class Pane
       public PaneInterfaceBase
 {
 public:
-    /** Create a new Pane object that wrapps the given window.
+    /** Create a new Pane object that wraps the given window.
         @param rsPaneURL
             The URL that is used by the configuration to identify the pane.
             The given URL has to be valid.
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index fe740c879b34..83ab4520e026 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -379,7 +379,7 @@ void SfxModelessDialog::Init(SfxBindings *pBindinx, SfxChildWindow *pCW)
 
 /*  [Description]
 
-    If a ModelessDialog is enabled its ViewFrame wil be activated.
+    If a ModelessDialog is enabled its ViewFrame will be activated.
     This is necessary by PluginInFrames.
 */
 bool SfxModelessDialog::EventNotify( NotifyEvent& rEvt )
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 5fe3a250da5d..87822dce5aa7 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -1325,7 +1325,7 @@ void DelBookmarks(
 
     // Copy all Redlines which are in the move area into an array
     // which holds all position information as offset.
-    // Assignement happens after moving.
+    // Assignment happens after moving.
     SwRedlineTable& rTable = pDoc->getIDocumentRedlineAccess().GetRedlineTable();
     for(SwRangeRedline* pRedl : rTable)
     {
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index dfaa27bf2a03..04277f51db34 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -1593,7 +1593,7 @@ SwPageFrame* SwRootFrame::GetPageByPageNum( sal_uInt16 _nPageNum ) const
 }
 
 /**
- * @return true, when the given physical pagenumber does't exist or this page is an empty page.
+ * @return true, when the given physical pagenumber doesn't exist or this page is an empty page.
  */
 bool SwRootFrame::IsDummyPage( sal_uInt16 nPageNum ) const
 {
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index ea589c02d64d..7450276e978a 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -187,7 +187,7 @@ MetaAction* GDIMetaFile::ReplaceAction( MetaAction* pAction, size_t nAction )
         pAction->Delete();
         return nullptr;
     }
-    //fdo#39995 This does't increment the incoming action ref-count nor does it
+    //fdo#39995 This doesn't increment the incoming action ref-count nor does it
     //decrement the outgoing action ref-count
     std::swap(pAction, m_aList[nAction]);
     return pAction;
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 4144d528f2fd..854c1107ad9a 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -4498,7 +4498,7 @@ void PDFWriterImpl::createDefaultRadioButtonAppearance( PDFWidget& rBox, const P
     rBox.m_aDAString = aDA.makeStringAndClear();
     //to encrypt this (el)
     rBox.m_aMKDict = "/CA";
-    //after this assignement, to m_aMKDic cannot be added anything
+    //after this assignment, to m_aMKDic cannot be added anything
     rBox.m_aMKDictCAString = "l";
 
     rBox.m_aRect = aCheckRect;
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 0715c88f33c0..aedba07f6a5e 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -5455,7 +5455,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
     static int  bInWheelMsg = FALSE;
     static int  bInQueryEnd = FALSE;
 
-    // By WM_CRETAE we connect the frame with the window handle
+    // By WM_CREATE we connect the frame with the window handle
     if ( nMsg == WM_CREATE )
     {
         // Save Window-Instance in Windowhandle
diff --git a/xmloff/source/text/txtftne.cxx b/xmloff/source/text/txtftne.cxx
index fec952bafce1..b606180c7e1b 100644
--- a/xmloff/source/text/txtftne.cxx
+++ b/xmloff/source/text/txtftne.cxx
@@ -93,7 +93,7 @@ void XMLTextParagraphExport::exportTextFootnote(
     else
     {
         // create span (for citation mark) if necessary; footnote content
-        // wil be handled via exportTextFootnoteHelper, exportText
+        // will be handled via exportTextFootnoteHelper, exportText
         bool bHasHyperlink;
         bool bIsUICharStyle = false;
         bool bHasAutoStyle = false;


More information about the Libreoffice-commits mailing list