[Libreoffice-commits] core.git: vbahelper/source vcl/inc vcl/README vcl/source vcl/unx vcl/win

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 13:03:46 UTC 2017


 vbahelper/source/vbahelper/vbashapes.cxx |    2 +-
 vcl/README                               |    2 +-
 vcl/inc/opengl/PackedTextureAtlas.hxx    |    2 +-
 vcl/inc/regband.hxx                      |    2 +-
 vcl/inc/svdata.hxx                       |    2 +-
 vcl/inc/unx/fontmanager.hxx              |    2 +-
 vcl/inc/win/winlayout.hxx                |    2 +-
 vcl/source/app/session.cxx               |    2 +-
 vcl/source/filter/graphicfilter2.cxx     |    2 +-
 vcl/source/filter/jpeg/jpegc.cxx         |    2 +-
 vcl/source/filter/sgfbram.hxx            |    2 +-
 vcl/source/filter/sgvtext.cxx            |    2 +-
 vcl/source/filter/wmf/winmtf.cxx         |    2 +-
 vcl/source/font/fontcache.cxx            |    2 +-
 vcl/source/gdi/gdimetafiletools.cxx      |    2 +-
 vcl/source/gdi/metaact.cxx               |    2 +-
 vcl/source/gdi/pdfwriter_impl2.cxx       |    2 +-
 vcl/source/gdi/pngread.cxx               |    2 +-
 vcl/source/gdi/region.cxx                |    2 +-
 vcl/source/gdi/sallayout.cxx             |    2 +-
 vcl/source/outdev/text.cxx               |    4 ++--
 vcl/source/uitest/uiobject.cxx           |    2 +-
 vcl/source/window/dockmgr.cxx            |    2 +-
 vcl/unx/generic/app/saldisp.cxx          |    2 +-
 vcl/unx/generic/print/common_gfx.cxx     |    2 +-
 vcl/unx/generic/print/genpspgraphics.cxx |    2 +-
 vcl/unx/generic/printer/ppdparser.cxx    |    2 +-
 vcl/unx/gtk/gtksalmenu.cxx               |    2 +-
 vcl/unx/gtk3/gtk3gtkframe.cxx            |    2 +-
 vcl/unx/gtk3/gtk3gtkinst.cxx             |    2 +-
 vcl/unx/kde4/KDESalGraphics.cxx          |    2 +-
 vcl/win/gdi/gdiimpl.hxx                  |    2 +-
 vcl/win/window/salframe.cxx              |    4 ++--
 33 files changed, 35 insertions(+), 35 deletions(-)

New commits:
commit 4c45268adf61a460e6c89f4536fd0ec37775676d
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 15:31:29 2017 +0100

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

diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx
index dd840240efd8..3e2acc39dfae 100644
--- a/vbahelper/source/vbahelper/vbashapes.cxx
+++ b/vbahelper/source/vbahelper/vbashapes.cxx
@@ -292,7 +292,7 @@ ScVbaShapes::AddEllipse(sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth
     return uno::makeAny( uno::Reference< msforms::XShape > ( pScVbaShape ) );
 }
 
-//helpeapi calc
+//helperapi calc
 uno::Any SAL_CALL
 ScVbaShapes::AddLine( sal_Int32 StartX, sal_Int32 StartY, sal_Int32 endX, sal_Int32 endY )
 {
diff --git a/vcl/README b/vcl/README
index c7c1f9e079ad..2bf842087541 100644
--- a/vcl/README
+++ b/vcl/README
@@ -59,7 +59,7 @@ How the platform abstraction works
 	  API for platform backends
 		+ It is a factory for:
 		  SalFrames, SalVirtualDevices, SalPrinters,
-		  Timers, the SolarMutexe, Drag&Drop and other
+		  Timers, the SolarMutex, Drag&Drop and other
 		  objects, as well as the primary event loop wrapper.
 
 Note: references to "SV" in the code mean StarView, which was a
diff --git a/vcl/inc/opengl/PackedTextureAtlas.hxx b/vcl/inc/opengl/PackedTextureAtlas.hxx
index 4d9015f33572..a7417fca8b8b 100644
--- a/vcl/inc/opengl/PackedTextureAtlas.hxx
+++ b/vcl/inc/opengl/PackedTextureAtlas.hxx
@@ -19,7 +19,7 @@ struct PackedTexture;
  * Pack texutres into one texutre atlas.
  *
  * This is based on algorithm described in [1] and is an
- * addaptation of "texture atlas generator" from [2].
+ * adaptation of "texture atlas generator" from [2].
  *
  * [1]: http://www.blackpawn.com/texts/lightmaps/
  * [2]: https://github.com/lukaszdk/texture-atlas-generator
diff --git a/vcl/inc/regband.hxx b/vcl/inc/regband.hxx
index 7c1785e98365..e81b1e127fc9 100644
--- a/vcl/inc/regband.hxx
+++ b/vcl/inc/regband.hxx
@@ -25,7 +25,7 @@
 class ImplRegionBand
 
 This class handles one y-band of the region. In this band may contain one
-or more seprarations in x-direction. The y-Band do not contain any
+or more separations in x-direction. The y-Band do not contain any
 separation after creation.
 
 The separations are modified with basic clipping functions like Union and
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index d1b8a6c6fe2c..f14ee66eeeba 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -172,7 +172,7 @@ struct ImplSVGDIData
     ImplPrnQueueList*       mpPrinterQueueList = nullptr;   // List of all printer queue
     PhysicalFontCollection* mpScreenFontList = nullptr;     // Screen-Font-List
     ImplFontCache*          mpScreenFontCache = nullptr;    // Screen-Font-Cache
-    ImplDirectFontSubstitution* mpDirectFontSubst = nullptr; // Font-Substitutons defined in Tools->Options->Fonts
+    ImplDirectFontSubstitution* mpDirectFontSubst = nullptr; // Font-Substitutions defined in Tools->Options->Fonts
     GraphicConverter*       mpGrfConverter = nullptr;       // Converter for graphics
     long                    mnAppFontX = 0;                 // AppFont X-Numenator for 40/tel Width
     long                    mnAppFontY = 0;                 // AppFont Y-Numenator for 80/tel Height
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index d5d6f2444310..4160f8520578 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -167,7 +167,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
     OString getFontFile(const PrintFont* pFont) const;
 
     bool analyzeFontFile(int nDirID, const OString& rFileName, std::list<std::unique_ptr<PrintFont>>& rNewFonts, const char *pFormat=nullptr) const;
-    static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* formt font subsetting code
+    static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* format font subsetting code
     static void analyzeSfntFamilyName( void* pTTFont, std::list< OUString >& rnames ); // actually a TrueTypeFont* from font subsetting code
     bool analyzeSfntFile(PrintFont* pFont) const;
     // finds the font id for the nFaceIndex face in this font file
diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx
index bc1890b0ee11..35c17cc6fea0 100644
--- a/vcl/inc/win/winlayout.hxx
+++ b/vcl/inc/win/winlayout.hxx
@@ -240,7 +240,7 @@ public:
 private:
     static void CleanupModules();
 
-    // This is a singleton object disable copy ctor and assignemnt operator
+    // This is a singleton object disable copy ctor and assignment operator
     D2DWriteTextOutRenderer(const D2DWriteTextOutRenderer &) = delete;
     D2DWriteTextOutRenderer & operator = (const D2DWriteTextOutRenderer &) = delete;
 
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 3d371dcefae4..3f3f20b7242b 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -127,7 +127,7 @@ void VCLSession::callSaveRequested( bool bShutdown )
         m_bSaveDone = false;
         m_bInteractionDone = false;
         // without session we assume UI is always possible,
-        // so it was reqeusted and granted
+        // so it was requested and granted
         m_bInteractionRequested = m_bInteractionGranted = !m_xSession;
 
         // answer the session manager even if no listeners available anymore
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 9bb001ac06ef..0a7d5034e463 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -375,7 +375,7 @@ bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm,  bool bExtendedInfo )
                                         .ReadUChar( nSamplingFactor )
                                         .ReadUChar( nQuantizationTableDestinationSelector );
 
-                                    // nSamplingFactor (lower nibble: vertial,
+                                    // nSamplingFactor (lower nibble: vertical,
                                     // upper nibble: horizontal) is unused
 
                                     aPixSize.Height() = nNumberOfLines;
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index 6e1e8f1c0f63..2e836ade2b8b 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -416,7 +416,7 @@ void Transform(void* pInputStream, void* pOutputStream, long nAngle)
         aDestinationCoefArrays = jtransform_adjust_parameters(&aSourceInfo, &aDestinationInfo, aSourceCoefArrays, &aTransformOption);
         jpeg_svstream_dest (&aDestinationInfo, pOutputStream);
 
-        // Compute optimal Huffman coding tables instead of precomuted tables
+        // Compute optimal Huffman coding tables instead of precomputed tables
         aDestinationInfo.optimize_coding = TRUE;
         jpeg_write_coefficients(&aDestinationInfo, aDestinationCoefArrays);
         jcopy_markers_execute(&aSourceInfo, &aDestinationInfo, aCopyOption);
diff --git a/vcl/source/filter/sgfbram.hxx b/vcl/source/filter/sgfbram.hxx
index 9e0eeedcd7c3..f714170f43b6 100644
--- a/vcl/source/filter/sgfbram.hxx
+++ b/vcl/source/filter/sgfbram.hxx
@@ -116,7 +116,7 @@ public:
     sal_Int32  Hight;      // height in Pixel
     sal_uInt16 Planes;     // number of planes (always 1)
     sal_uInt16 PixBits;    // number of bits per pixel (1,4,8 or 24)
-    sal_uInt32 Compress;   // datakompression
+    sal_uInt32 Compress;   // data compression
     sal_uInt32 ImgSize;    // size of  image in bytes. Without compression also 0 is allowed.
     sal_Int32  xDpmm;      // Dot per Meter (0 is allowed)
     sal_Int32  yDpmm;      // Dot per Meter (0 is allowed)
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index 3cae51550a33..a4bd025414ff 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -108,7 +108,7 @@
 #define  EscNoVal  -2147483647 /* -MaxLongInt */
 
 #define  NoTrenn 0xFFFF   /* parameter value for 'Rest' of GetTextChar(), if separation should not occur */
-#define  DoTrenn 0xFFFE   /* parameter value for 'Rest' of GetTextChar(), if separtion should occur      */
+#define  DoTrenn 0xFFFE   /* parameter value for 'Rest' of GetTextChar(), if separation should occur     */
 
 #define  MaxLineChars 1024
 
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index 55d50025c93e..4fe537dd64b8 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -1645,7 +1645,7 @@ void WinMtfOutput::ImplDrawBitmap( const Point& rPos, const Size& rSize, const B
         else
         {
             // no mask yet, create and add new mask. For better quality, use Alpha,
-            // this allows the drawn mask being processed with AnitAliasing (AAed)
+            // this allows the drawn mask being processed with AntiAliasing (AAed)
             aBmpEx = BitmapEx(rBitmap.GetBitmap(), aVDevMask);
         }
     }
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index 216283263931..61d310b9a3ca 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -178,7 +178,7 @@ LogicalFontInstance* ImplFontCache::GetFontInstance( PhysicalFontCollection* pFo
         pFontInstance = pFontData->CreateFontInstance( aFontSelData );
         pFontInstance->mpFontCache = this;
 
-        // if we're subtituting from or to a symbol font we may need a symbol
+        // if we're substituting from or to a symbol font we may need a symbol
         // conversion table
         if( pFontData->IsSymbolFont() || aFontSelData.IsSymbolFont() )
         {
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index 372a1094028a..5bb96bef602a 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -864,7 +864,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource)
                     if(rComment.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN"))
                     {
                         // nothing to do; this just means that between here and XGRAD_SEQ_END
-                        // exists a MetaActionType::GRADIENTEX mixed with Xor-tricked painiting
+                        // exists a MetaActionType::GRADIENTEX mixed with Xor-tricked painting
                         // commands. This comment is used to scan over these and filter for
                         // the gradient action. It is needed to support MetaActionType::GRADIENTEX
                         // in this processor to solve usages.
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 3ef90028434c..0f277234cdca 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2974,7 +2974,7 @@ void MetaTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
     // #i105373# The tools::PolyPolygon in this action may be a curve; this
     // was ignored until now what is an error. To make older office
     // versions work with MetaFiles, i opt for applying AdaptiveSubdivide
-    // to the PolyPoylgon.
+    // to the PolyPolygon.
     // The alternative would be to really write the curve information
     // like in MetaPolyPolygonAction::Write (where someone extended it
     // correctly, but not here :-( ).
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 4a6b12e05131..bc5cb346b47f 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -1401,7 +1401,7 @@ bool PDFWriterImpl::computeEncryptionKey( EncHashTransporter* i_pTransporter, vc
 
 /**********************************
 Algorithm 3.3  Compute the encryption dictionary /O value, save into the class data member
-the step numbers down here correspond to the ones in PDF v.1.4 specfication
+the step numbers down here correspond to the ones in PDF v.1.4 specification
 */
 bool PDFWriterImpl::computeODictionaryValue( const sal_uInt8* i_pPaddedOwnerPassword,
                                              const sal_uInt8* i_pPaddedUserPassword,
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 056c337f8565..15265890345d 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -1075,7 +1075,7 @@ void PNGReaderImpl::ImplApplyFilter()
         }
         break;
 
-        case 4: // Scanline Filter Type "PaethPredictor"
+        case 4: // Scanline Filter Type "PathPredictor"
         {
             sal_uInt8* p1 = mpInflateInBuf + 1;
             const sal_uInt8* p2 = mpScanPrior + 1;
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 51fe138c695c..b6ed3e1ef2c0 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -1243,7 +1243,7 @@ Rectangle vcl::Region::GetBoundRect() const
     if(IsNull())
     {
         // error; null region has no BoundRect
-        // OSL_ENSURE(false, "Region::GetBoundRect error: null region has unlimitied bound rect, not representable (!)");
+        // OSL_ENSURE(false, "Region::GetBoundRect error: null region has unlimited bound rect, not representable (!)");
         return Rectangle();
     }
 
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index b37f9b0e0ebf..85ed62226ee4 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1173,7 +1173,7 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
     }
 
     // Compute rtl flags, since in some scripts glyphs/char order can be
-    // reversed for a few character sequencies e.g. Myanmar
+    // reversed for a few character sequences e.g. Myanmar
     std::vector<bool> vRtl(rArgs.mnEndCharPos - rArgs.mnMinCharPos, false);
     rArgs.ResetPos();
     bool bRtl;
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 7aa4ec1cece3..ad835c29dbf5 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -567,7 +567,7 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
                                             // Correct recognition is made harder by words such as
                                             // "Schiffahrtsbrennesseln", as the Hyphenator splits all
                                             // positions of the word and comes up with "Schifffahrtsbrennnesseln"
-                                            // Thus, we cannot infer the aWord from the AlternativWord's
+                                            // Thus, we cannot infer the aWord from the AlternativeWord's
                                             // index.
                                             // TODO: The whole junk will be made easier by a function in
                                             // the Hyphenator, as soon as AMA adds it.
@@ -577,7 +577,7 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
                                             sal_Int32 nAltEnd = nAltStart;
 
                                             // The area between nStart and nEnd is the difference
-                                            // between AlternativString and OriginalString
+                                            // between AlternativeString and OriginalString
                                             while( nTxtEnd < aWord.getLength() && nAltEnd < aAlt.getLength() &&
                                                    aWord[nTxtEnd] != aAlt[nAltEnd] )
                                             {
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 561688861481..b192f898c620 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -519,7 +519,7 @@ ButtonUIObject::~ButtonUIObject()
 StringMap ButtonUIObject::get_state()
 {
     StringMap aMap = WindowUIObject::get_state();
-    // Move that to a Contrl base class
+    // Move that to a Control base class
     aMap["Label"] = mxButton->GetDisplayText();
 
     return aMap;
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 7871b539e207..2c92d7d984a3 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -484,7 +484,7 @@ void ImplPopupFloatWin::dispose()
 
 css::uno::Reference< css::accessibility::XAccessible > ImplPopupFloatWin::CreateAccessible()
 {
-    // switch off direct accessibilty support for this window
+    // switch off direct accessibility support for this window
 
     // this is to avoid appearance of this window as standalone window in the accessibility hierarchy
     // as this window is only used as a helper for subtoolbars that are not teared-off, the parent toolbar
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index a64987bc3ca9..0a586297083e 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -1013,7 +1013,7 @@ OUString SalDisplay::GetKeyName( sal_uInt16 nKeyCode ) const
     }
     else if (!aCustomKeyName.isEmpty())
     {
-        // For semicolumn, bracket left and bracket right, it's better to use
+        // For semicolon, bracket left and bracket right, it's better to use
         // their keys than their names. (fdo#32891)
         if (!aStrMap.isEmpty())
             aStrMap += "+";
diff --git a/vcl/unx/generic/print/common_gfx.cxx b/vcl/unx/generic/print/common_gfx.cxx
index d6e0508f451e..df32ef2a2ebb 100644
--- a/vcl/unx/generic/print/common_gfx.cxx
+++ b/vcl/unx/generic/print/common_gfx.cxx
@@ -537,7 +537,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol
         return;
 
     snprintf(pString, nBezString, "%li %li moveto\n", pPath[0].X(), pPath[0].Y());
-    WritePS(mpPageBody, pString); //Move to the starting point for the PolyPoygon
+    WritePS(mpPageBody, pString); //Move to the starting point for the PolyPolygon
     for (unsigned int i=1; i < nPoints;)
     {
         if (pFlgAry[i] != PolyFlags::Control)
diff --git a/vcl/unx/generic/print/genpspgraphics.cxx b/vcl/unx/generic/print/genpspgraphics.cxx
index 5ab9d7b1a71a..9c20ac6d1fb2 100644
--- a/vcl/unx/generic/print/genpspgraphics.cxx
+++ b/vcl/unx/generic/print/genpspgraphics.cxx
@@ -427,7 +427,7 @@ bool GenPspGraphics::drawPolyPolygon( const basegfx::B2DPolyPolygon&, double /*f
 
 bool GenPspGraphics::drawPolyLine(
     const basegfx::B2DPolygon&,
-    double /*fTranspareny*/,
+    double /*fTransparency*/,
     const basegfx::B2DVector& /*rLineWidths*/,
     basegfx::B2DLineJoin /*eJoin*/,
     css::drawing::LineCap /*eLineCap*/,
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 0315bad08ea2..5d6ad5e90b13 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -577,7 +577,7 @@ const PPDParser* PPDParser::getParser( const OUString& rFile )
     if( pNewParser )
     {
         // this may actually be the SGENPRT parser,
-        // so ensure uniquness here
+        // so ensure uniqueness here
         rPPDCache.aAllParsers.remove( pNewParser );
         // insert new parser to list
         rPPDCache.aAllParsers.push_front( pNewParser );
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 3540f6eab714..d2067719ff2b 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -668,7 +668,7 @@ void GtkSalMenu::ShowCloseButton(bool bShow)
 //to where it came from. If the menubar was activated because of F6
 //moving focus into the associated VCL menubar then on pressing ESC
 //or any other normal reason for deactivation we want focus to return
-//to the document, defininitely not still stuck in the associated
+//to the document, definitely not still stuck in the associated
 //VCL menubar. But if F6 is pressed while the menubar is activated
 //we want to pass that F6 back to the VCL menubar which will move
 //focus to the next pane by itself.
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index a1dae1594c93..847675f082c9 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -2673,7 +2673,7 @@ gboolean GtkSalFrame::signalScroll(GtkWidget*, GdkEventScroll* pEvent, gpointer
             // rhbz#1344042 "Traditionally" in gtk3 we tool a single up/down event as
             // equating to 3 scroll lines and a delta of 120. So scale the delta here
             // by 120 where a single mouse wheel click is an incoming delta_x of 1
-            // and divide that by 40 to get the number of scrollines
+            // and divide that by 40 to get the number of scroll lines
             if (pEvent->delta_x != 0.0)
             {
                 aEvent.mnDelta = -pEvent->delta_x * 120;
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 7c8f6b5449b9..8701127b3cb4 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -389,7 +389,7 @@ void VclGtkClipboard::OwnerPossiblyChanged(GtkClipboard* clipboard, GdkEvent* /*
         return;
 
     //if gdk_display_supports_selection_notification is not supported, e.g. like
-    //right now under wayland, then you only get owner-changed nofications at
+    //right now under wayland, then you only get owner-changed notifications at
     //opportune times when the selection might have changed. So here
     //we see if the selection supports a dummy selection type identifying
     //our pid, in which case it's us.
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index a1bf4b8de3cd..dff19790f96c 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -344,7 +344,7 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
             QRect menuItemRect( region2QRect( menuVal->maItemRect ));
             QRect rect( menuItemRect.topLeft() - widgetRect.topLeft(),
                 widgetRect.size().expandedTo( menuItemRect.size()));
-            // checkboxes are always displayed next to images in menues, so are never centered
+            // checkboxes are always displayed next to images in menus, so are never centered
             const int focus_size = QApplication::style()->pixelMetric( QStyle::PM_FocusFrameHMargin );
             rect.moveTo( -focus_size, rect.y() );
             draw( QStyle::CE_MenuItem, &option, m_image.get(),
diff --git a/vcl/win/gdi/gdiimpl.hxx b/vcl/win/gdi/gdiimpl.hxx
index e6a48a1e248c..962ce09fabc9 100644
--- a/vcl/win/gdi/gdiimpl.hxx
+++ b/vcl/win/gdi/gdiimpl.hxx
@@ -37,7 +37,7 @@ private:
     HPEN mhPen; // Pen
     bool mbStockPen : 1; // is Pen a stockpen
     bool mbBrush : 1; // is Brush (FALSE == NULL_BRUSH)
-    bool mbStockBrush : 1; // is Brush a stcokbrush
+    bool mbStockBrush : 1; // is Brush a stockbrush
     HBRUSH mhBrush; // Brush
     COLORREF mnPenColor; // PenColor
     COLORREF mnBrushColor; // BrushColor
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 291f3eeb3a1c..b0347461a2a2 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -1187,7 +1187,7 @@ static void ImplSalShow( HWND hWnd, bool bVisible, bool bNoActivate )
         pFrame->mbInShow = FALSE;
         pFrame->updateScreenNumber();
 
-        // Direct Paint only, if we get the SolarMutx
+        // Direct Paint only, if we get the SolarMutex
         if ( ImplSalYieldMutexTryToAcquire() )
         {
             UpdateWindow( hWnd );
@@ -3709,7 +3709,7 @@ static bool ImplHandlePaintMsg( HWND hWnd )
         if ( GetUpdateRect( hWnd, nullptr, FALSE ) )
         {
             // Call BeginPaint/EndPaint to query the rect and send
-            // this Notofication to rect
+            // this Notification to rect
             RECT aUpdateRect;
             PAINTSTRUCT aPs;
             BeginPaint( hWnd, &aPs );


More information about the Libreoffice-commits mailing list