[Libreoffice-commits] core.git: vcl/unx vcl/win winaccessibility/inc winaccessibility/source wizards/com writerfilter/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Sep 29 15:16:21 PDT 2015


 vcl/unx/gtk/a11y/atktextattributes.cxx                 |    2 +-
 vcl/unx/gtk/app/gtkdata.cxx                            |    2 +-
 vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx               |    4 ++--
 vcl/unx/kde/UnxFilePicker.cxx                          |    2 +-
 vcl/win/source/gdi/gdiimpl.cxx                         |    2 +-
 vcl/win/source/gdi/salprn.cxx                          |    2 +-
 vcl/win/source/gdi/winlayout.cxx                       |    2 +-
 winaccessibility/inc/AccObjectManagerAgent.hxx         |    2 +-
 winaccessibility/source/UAccCOM/AccTable.cxx           |    2 +-
 wizards/com/sun/star/wizards/db/ColumnPropertySet.java |    2 +-
 wizards/com/sun/star/wizards/db/TypeInspector.java     |    2 +-
 wizards/com/sun/star/wizards/text/TextDocument.java    |    4 ++--
 wizards/com/sun/star/wizards/web/BackgroundsDialog.py  |    2 +-
 wizards/com/sun/star/wizards/web/Process.py            |    2 +-
 writerfilter/source/dmapper/ConversionHelper.cxx       |    2 +-
 15 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit 3406ae78a5bcd02551ce518ca1affba021dbab04
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 18:13:35 2015 +0200

    Fix typos
    
    Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6
    Reviewed-on: https://gerrit.libreoffice.org/18995
    Reviewed-by: Joren De Cuyper <jorendc at libreoffice.org>
    Tested-by: Joren De Cuyper <jorendc at libreoffice.org>

diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index 7342005..cff769c 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -565,7 +565,7 @@ CMM2UnitString(const uno::Any& rAny)
 static bool
 UnitString2CMM( uno::Any& rAny, const gchar * value )
 {
-    float fValue = 0.0; // pb: dont use double here because of warning on linux
+    float fValue = 0.0; // pb: don't use double here because of warning on linux
 
     if( 1 != sscanf( value, "%gmm", &fValue ) )
         return false;
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 1a406c3..d6f7158 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -579,7 +579,7 @@ void GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents )
     blockIdleTimeout = !bWait;
     /* #i33212# only enter g_main_context_iteration in one thread at any one
      * time, else one of them potentially will never end as long as there is
-     * another thread in there. Having only one yieldin thread actually dispatch
+     * another thread in there. Having only one yielding thread actually dispatch
      * fits the vcl event model (see e.g. the generic plugin).
      */
     bool bDispatchThread = false;
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 4efce45..ac9f8d1 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -925,7 +925,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std
     uno::Reference < awt::XTopWindowListener > xLifeCycle(pRunDialog);
     while( GTK_RESPONSE_NO == btn )
     {
-        btn = GTK_RESPONSE_YES; // we dont want to repeat unless user clicks NO for file save.
+        btn = GTK_RESPONSE_YES; // we don't want to repeat unless user clicks NO for file save.
 
         gint nStatus = pRunDialog->run();
         switch( nStatus )
@@ -1794,7 +1794,7 @@ case_insensitive_filter (const GtkFileFilterInfo *filter_info, gpointer data)
     if( !g_ascii_strcasecmp( pFilter, pExtn ) )
         bRetval = true;
 
-    SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yeilds " << bRetval );
+    SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yields " << bRetval );
 
     return bRetval;
 }
diff --git a/vcl/unx/kde/UnxFilePicker.cxx b/vcl/unx/kde/UnxFilePicker.cxx
index a3bf19c..60b1b46 100644
--- a/vcl/unx/kde/UnxFilePicker.cxx
+++ b/vcl/unx/kde/UnxFilePicker.cxx
@@ -860,7 +860,7 @@ void UnxFilePicker::checkFilePicker() throw( ::com::sun::star::uno::RuntimeExcep
 {
     if ( m_nFilePickerPid > 0 )
     {
-        // TODO check if external file picker is runnning
+        // TODO check if external file picker is running
     }
     else
     {
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index ec55573..07d8f4e 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -1606,7 +1606,7 @@ void WinSalGraphicsImpl::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAr
 
     POINT* pWinPtAry = (POINT*)pPtAry;
 
-    // we assume there are at least 2 points (Polyline requres at least 2 point, see MSDN)
+    // we assume there are at least 2 points (Polyline requires at least 2 point, see MSDN)
     // we must paint the endpoint for last line
     BOOL bPaintEnd = TRUE;
     if ( pWinPtAry[nPoints-2].x == pWinPtAry[nPoints-1].x )
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
index 7179e8c..cf6a4c6 100644
--- a/vcl/win/source/gdi/salprn.cxx
+++ b/vcl/win/source/gdi/salprn.cxx
@@ -1498,7 +1498,7 @@ bool WinSalPrinter::StartJob( const OUString* pFileName,
     mnError = 0;
     mbAbort = FALSE;
 
-    // As the Telocom Balloon Fax driver tends to send messages repeatedly
+    // As the Telecom Balloon Fax driver tends to send messages repeatedly
     // we try to process first all, and then insert a dummy message
     bool bWhile = TRUE;
     int  i = 0;
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index ac9ec6f..66c9dd6 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -310,7 +310,7 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
 
     // Try hard to avoid overlap as we want to be able to use
     // individual rectangles for each glyph. The ABC widths don't
-    // take anti-alising into consideration. Let's hope that leaving
+    // take anti-aliasing into consideration. Let's hope that leaving
     // "extra" space inbetween glyphs will help.
     std::vector<int> aDX(nCount);
     int totWidth = 0;
diff --git a/winaccessibility/inc/AccObjectManagerAgent.hxx b/winaccessibility/inc/AccObjectManagerAgent.hxx
index 568d8e4..b00fb3f 100644
--- a/winaccessibility/inc/AccObjectManagerAgent.hxx
+++ b/winaccessibility/inc/AccObjectManagerAgent.hxx
@@ -29,7 +29,7 @@ struct IAccessible;
 class AccObjectWinManager;
 
 /****************************************************************
-AccObjectMangerAgent is used for manaing AccObjects,which encapsulates
+AccObjectMangerAgent is used for managing AccObjects, which encapsulates
 platform differences,and call AccObjectWinManager for Windows platform. To do for
 Linux platform
 *****************************************************************/
diff --git a/winaccessibility/source/UAccCOM/AccTable.cxx b/winaccessibility/source/UAccCOM/AccTable.cxx
index 8510a44..b04b49b 100644
--- a/winaccessibility/source/UAccCOM/AccTable.cxx
+++ b/winaccessibility/source/UAccCOM/AccTable.cxx
@@ -93,7 +93,7 @@ STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * acc
 /**
   * Gets accessible table caption.
   *
-  * @param    accessible    the accessible object of table cpation.
+  * @param    accessible    the accessible object of table caption.
   */
 STDMETHODIMP CAccTable::get_caption(IUnknown * *)
 {
diff --git a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
index 209d2ff..484dbf6 100644
--- a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
+++ b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
@@ -93,7 +93,7 @@ public class ColumnPropertySet
 
     public void assignPropertyValues(PropertyValue[] _aNewColPropertyValues, boolean _bsetDefaultProperties)
     {
-        assignPropertyValues(null /* dont change the name */, _aNewColPropertyValues, _bsetDefaultProperties);
+        assignPropertyValues(null /* don't change the name */, _aNewColPropertyValues, _bsetDefaultProperties);
     }
 
     private void setType(String _sTypeName, Integer precision)
diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java
index b888659..e8084b0 100644
--- a/wizards/com/sun/star/wizards/db/TypeInspector.java
+++ b/wizards/com/sun/star/wizards/db/TypeInspector.java
@@ -234,7 +234,7 @@ public class TypeInspector
                 }
                 else if (ret.length() == 0)
                 {
-                    // in case we dont find anything else, we at return a typename
+                    // in case we don't find anything else, we at return a typename
                     // with the correct class
                     ret = sDataTypeNames[i];
                 }
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java
index ea14f14..c6dace7 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.java
+++ b/wizards/com/sun/star/wizards/text/TextDocument.java
@@ -122,8 +122,8 @@ public class TextDocument
         }
         catch (Exception e)
         {
-            // TODO: it seems the whole project does not really have an error handling. Other menthods
-            // seem to generally silence errors, so we can't do anything else here ...
+            // TODO: it seems the whole project does not really have an error handling. Other methods
+            // seem to generally silence errors, so we can't do anything else here...
         }
 
         if (bShowStatusIndicator)
diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
index b7fcbaa..19f377e 100644
--- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
+++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
@@ -167,7 +167,7 @@ class BackgroundsDialog(ImageListDialog):
 
         '''
         when instanciating the model, it checks if each image
-        exists. If it doesnot, it will be removed from
+        exists. If it doesn't, it will be removed from
         the configuration.
         This is what this method does...
         @param imageName
diff --git a/wizards/com/sun/star/wizards/web/Process.py b/wizards/com/sun/star/wizards/web/Process.py
index 3c1121d..85c8f9b 100644
--- a/wizards/com/sun/star/wizards/web/Process.py
+++ b/wizards/com/sun/star/wizards/web/Process.py
@@ -518,7 +518,7 @@ class Process(ProcessErrors):
 
             # if two files with the same name
             # need to be exported ? So here
-            # i get a new filename, so I do not
+            # I get a new filename, so I do not
             # overwrite files...
             f = self.fileAccess.getNewFile(folder, fn, destExt)
 
diff --git a/writerfilter/source/dmapper/ConversionHelper.cxx b/writerfilter/source/dmapper/ConversionHelper.cxx
index e64c091..3e342eb 100644
--- a/writerfilter/source/dmapper/ConversionHelper.cxx
+++ b/writerfilter/source/dmapper/ConversionHelper.cxx
@@ -261,7 +261,7 @@ void MakeBorderLine( sal_Int32 nLineThickness,   sal_Int32 nLineToken,
 
     // Map to our border types, we should use of one equal line
     // thickness, or one of smaller thickness. If too small we
-    // can make the defecit up in additional white space or
+    // can make the deficit up in additional white space or
     // object size
     ::editeng::SvxBorderStyle const nLineStyle(
             ::editeng::ConvertBorderStyleFromWord(nLineType));


More information about the Libreoffice-commits mailing list