[Libreoffice-commits] core.git: vcl/unx

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 08:28:47 UTC 2019


 vcl/unx/generic/app/i18n_ic.cxx                    |    4 ++--
 vcl/unx/generic/dtrans/X11_selection.cxx           |    8 ++++----
 vcl/unx/generic/glyphs/freetype_glyphcache.cxx     |    2 +-
 vcl/unx/generic/print/genprnpsp.cxx                |    2 +-
 vcl/unx/generic/printer/configuration/psprint.conf |    2 +-
 vcl/unx/gtk3/gtk3gtkdata.cxx                       |    2 +-
 vcl/unx/gtk3/gtk3gtkframe.cxx                      |    2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit f68dc01461ec0046b1af8490fe74eff01c143d4c
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 12:58:22 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 10:27:45 2019 +0200

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

diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx
index 71f5ce6f604e..fbb58ea0c6a2 100644
--- a/vcl/unx/generic/app/i18n_ic.cxx
+++ b/vcl/unx/generic/app/i18n_ic.cxx
@@ -125,7 +125,7 @@ static const XIMStyle g_nSupportedStatusStyle(
                                XIMStatusNone
                                );
 
-// Constructor for a InputContext (IC)
+// Constructor for an InputContext (IC)
 
 SalI18N_InputContext::SalI18N_InputContext ( SalFrame *pFrame ) :
         mbUseable( True ),
@@ -485,7 +485,7 @@ SalI18N_InputContext::SupportInputMethodStyle( XIMStyles const *pIMStyles )
 
         // check whether the XIM supports one of the desired styles
         // only a single preedit and a single status style must occur
-        // in a input method style. Hideki said so, so i trust him
+        // in an input method style. Hideki said so, so i trust him
         for ( int nStyle = 0; nStyle < pIMStyles->count_styles; nStyle++ )
         {
             XIMStyle nProvidedStyle = pIMStyles->supported_styles[ nStyle ];
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index a6ab25389077..7a4c21042edd 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -327,7 +327,7 @@ void SelectionManager::initialize( const Sequence< Any >& arguments )
          *  FIXME:
          *  finally the clipboard and XDND service is back in the module it belongs
          *  now cleanup and sharing of resources with the normal vcl event loop
-         *  needs to be added. The display used whould be that of the normal event loop
+         *  needs to be added. The display used would be that of the normal event loop
          *  and synchronization should be done via the SolarMutex.
          */
         if( arguments.hasElements() )
@@ -1873,7 +1873,7 @@ bool SelectionManager::handleSendPropertyNotify( XPropertyEvent const & rNotify
 {
     osl::MutexGuard aGuard( m_aMutex );
 
-    // ready for next part of a IncrementalTransfer
+    // ready for next part of an IncrementalTransfer
 #if OSL_DEBUG_LEVEL > 1
     fprintf( stderr, "handleSendPropertyNotify for property %s (%s)\n",
              OUStringToOString( getString( rNotify.atom ), RTL_TEXTENCODING_ISO_8859_1 ).getStr(),
@@ -3195,10 +3195,10 @@ void SelectionManager::startDrag(
                           CurrentTime );
         /* if we could not grab the pointer here, there is a chance
            that the pointer is grabbed by the other vcl display (the main loop)
-           so let's break that grab an reset it later
+           so let's break that grab and reset it later
 
            remark: this whole code should really be molten into normal vcl so only
-           one display is used ....
+           one display is used...
         */
         if( nPointerGrabSuccess != GrabSuccess )
         {
diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
index 4e3a834e95c7..0f68d76b04ee 100644
--- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
@@ -851,7 +851,7 @@ void PolyArgs::ClosePolygon()
     tools::Polygon aPoly( mnPoints, mpPointAry.get(), (bHasOffline ? mpFlagAry.get() : nullptr) );
 
     // #i35928#
-    // This may be a invalid polygons, e.g. the last point is a control point.
+    // This may be an invalid polygon, e.g. the last point is a control point.
     // So close the polygon (and add the first point again) if the last point
     // is a control point or different from first.
     // #i48298#
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index b1f73db275ea..405e4e464b69 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -1050,7 +1050,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
                 if( !comphelper::isFileUrl(aPDFUrl) )
                 {
                     // this is not a file URL, but it should
-                    // form it into a osl friendly file URL
+                    // form it into an osl friendly file URL
                     OUString aTmp;
                     osl_getFileURLFromSystemPath( aPDFUrl.pData, &aTmp.pData );
                     aPDFUrl = aTmp;
diff --git a/vcl/unx/generic/printer/configuration/psprint.conf b/vcl/unx/generic/printer/configuration/psprint.conf
index d6c333bc280c..1b56e084ea71 100644
--- a/vcl/unx/generic/printer/configuration/psprint.conf
+++ b/vcl/unx/generic/printer/configuration/psprint.conf
@@ -85,7 +85,7 @@ Command=
 ; QuickCommand: a command line that accepts PostScript as standard input (pipe)
 ; this command line will be used instead of the command line given in the
 ; "Command" key, if the user presses the direct print button. In this case
-; no print dialog should be shown, neither form the printing applcation nor
+; no print dialog should be shown, neither from the printing application nor
 ; from the command line (example "kprinter --nodialog --stdin")
 ; note: a shell will be started for the command
 ;QuickCommand=
diff --git a/vcl/unx/gtk3/gtk3gtkdata.cxx b/vcl/unx/gtk3/gtk3gtkdata.cxx
index c1f54738a97e..3c010c274cb0 100644
--- a/vcl/unx/gtk3/gtk3gtkdata.cxx
+++ b/vcl/unx/gtk3/gtk3gtkdata.cxx
@@ -536,7 +536,7 @@ bool GtkSalData::Yield( bool bWait, bool bHandleAllCurrentEvents )
         {
             /* #i41693# in case the dispatch thread hangs in join
              * for this thread the condition will never be set
-             * workaround: timeout of 1 second a emergency exit
+             * workaround: timeout of 1 second an emergency exit
              */
             // we are the dispatch thread
             m_aDispatchCondition.reset();
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 43a99dc0e1c8..c4ed383798ef 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3899,7 +3899,7 @@ void GtkSalFrame::IMHandler::signalIMCommit( GtkIMContext* /*pContext*/, gchar*
 
         pThis->m_aInputFlags.clear();
 
-        /* necessary HACK: all keyboard input comes in here as soon as a IMContext is set
+        /* necessary HACK: all keyboard input comes in here as soon as an IMContext is set
          *  which is logical and consequent. But since even simple input like
          *  <space> comes through the commit signal instead of signalKey
          *  and all kinds of windows only implement KeyInput (e.g. PushButtons,


More information about the Libreoffice-commits mailing list