[Libreoffice-commits] core.git: vcl/qa vcl/quartz vcl/README.GDIMetaFile vcl/source

Andrea Gelmini andrea.gelmini at gelma.net
Thu Oct 1 04:24:46 PDT 2015


 vcl/README.GDIMetaFile                                            |   10 +++++-----
 vcl/qa/complex/persistent_window_states/PersistentWindowTest.java |    2 +-
 vcl/qa/cppunit/timer.cxx                                          |    2 +-
 vcl/quartz/salbmp.cxx                                             |    2 +-
 vcl/quartz/salgdicommon.cxx                                       |    2 +-
 vcl/source/app/IconThemeInfo.cxx                                  |    2 +-
 vcl/source/app/svmain.cxx                                         |    2 +-
 vcl/source/control/morebtn.cxx                                    |    2 +-
 vcl/source/control/tabctrl.cxx                                    |    4 ++--
 vcl/source/edit/textview.cxx                                      |    2 +-
 vcl/source/filter/igif/gifread.hxx                                |    2 +-
 vcl/source/filter/ixbm/xbmread.cxx                                |    2 +-
 vcl/source/filter/ixpm/xpmread.cxx                                |    2 +-
 vcl/source/filter/sgvspln.cxx                                     |    2 +-
 14 files changed, 19 insertions(+), 19 deletions(-)

New commits:
commit 33d165a9f18c4bfcf5b878adf7057195cda4194f
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu Oct 1 13:20:07 2015 +0200

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

diff --git a/vcl/README.GDIMetaFile b/vcl/README.GDIMetaFile
index d95a74a..5d0358db 100644
--- a/vcl/README.GDIMetaFile
+++ b/vcl/README.GDIMetaFile
@@ -1,21 +1,21 @@
 GDIMetaFile class
 =================
 
-The GDIMetaFile class reads, writes, manipulates and replays metafiles via the VCL module. 
+The GDIMetaFile class reads, writes, manipulates and replays metafiles via the VCL module.
 
-A typical usecase is to intialize a new GDIMetaFile, open the actual stored metafile and
+A typical use case is to intialize a new GDIMetaFile, open the actual stored metafile and
 read it in via GDIMetaFile::Read( aIStream ). This reads in the metafile into the GDIMetafile
 object - it can read in an old-style VCLMTF metafile (back in the days that Microsoft didn't
 document the metafile format this was used), as well as EMF+ files - and adds them to a list
 (vector) of MetaActions. You can also populate your own GDIMetaFile via AddAction(),
-RemoveAction(), ReplaceAction(), etc. 
+RemoveAction(), ReplaceAction(), etc.
 
 Once the GDIMetafile object is read to be used, you can "play" the metafile, pause it, wind
 forward or rewind the metafile. The metafile can be moved, scaled, rotated and clipped, as
-well have the colours adjusted or replaced, or even made monochrome. 
+well have the colours adjusted or replaced, or even made monochrome.
 
 The GDIMetafile can be used to get an OutputDevice's metafile via the Linker() and Record()
-functions. 
+functions.
 
 
 Using GDIMetafile
diff --git a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
index 5f2df61..2123e8a 100644
--- a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
+++ b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
@@ -242,7 +242,7 @@ public class PersistentWindowTest
         DocumentHandle docHandle = null;
         try
         {
-            // create component loaader
+            // create component loader
             XComponentLoader xCompLoader = UnoRuntime.queryInterface(XComponentLoader.class, xMSF.createInstance("com.sun.star.frame.Desktop"));
             XFramesSupplier xFrameSupp = UnoRuntime.queryInterface(XFramesSupplier.class, xCompLoader);
             // close all existing frames
diff --git a/vcl/qa/cppunit/timer.cxx b/vcl/qa/cppunit/timer.cxx
index c6daa16..21c811d 100644
--- a/vcl/qa/cppunit/timer.cxx
+++ b/vcl/qa/cppunit/timer.cxx
@@ -7,7 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 /*
- * Timers are evil beasties across platforms ...
+ * Timers are evil beasts across platforms...
  */
 
 #include <test/bootstrapfixture.hxx>
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 6699e80..ea6b6f6 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -615,7 +615,7 @@ void QuartzSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight,
 
     if( !bConverted )
     {
-        // TODO: this implementation is for clarety, not for speed
+        // TODO: this implementation is for clarity, not for speed
 
         ImplPixelFormat* pD = ImplPixelFormat::GetFormat( nDestBits, rDestPalette );
         ImplPixelFormat* pS = ImplPixelFormat::GetFormat( nSrcBits, rSrcPalette );
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 6a6efb5..6135eff 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -400,7 +400,7 @@ void AquaSalGraphics::copyBits( const SalTwoRect& rPosAry, SalGraphics *pSrcGrap
     if( (rPosAry.mnSrcWidth == rPosAry.mnDestWidth &&
          rPosAry.mnSrcHeight == rPosAry.mnDestHeight) &&
         (!mnBitmapDepth || (aDstPoint.x + pSrc->mnWidth) <= mnWidth)
-        && pSrc->mxLayer ) // workaround a Quartz crasher
+        && pSrc->mxLayer ) // workaround for a Quartz crash
     {
         // in XOR mode the drawing context is redirected to the XOR mask
         // if source and target are identical then copyBits() paints onto the target context though
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index 95b47fb..37d35dd 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -120,7 +120,7 @@ IconThemeInfo::ThemeIdToDisplayName(const OUString& themeId)
         throw std::runtime_error("IconThemeInfo::ThemeIdToDisplayName() called with invalid id.");
     }
 
-    // sepcial cases
+    // special cases
     if (themeId.equalsIgnoreAsciiCase(HIGH_CONTRAST_ID)) {
         return HIGH_CONTRAST_DISPLAY_NAME;
     }
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 7a00b0e..c30c36e 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -594,7 +594,7 @@ static void SAL_CALL MainWorkerFunction( void* pArgs )
 void CreateMainLoopThread( oslWorkerFunction pWorker, void * pThreadData )
 {
 #ifdef WNT
-    // sal thread always call CoInitializeEx, so a sysdepen implementation is necessary
+    // sal thread always call CoInitializeEx, so a system dependent implementation is necessary
 
     unsigned uThreadID;
     hThreadID = (HANDLE)_beginthreadex(
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx
index 2ae1e52..b8bcbc2 100644
--- a/vcl/source/control/morebtn.cxx
+++ b/vcl/source/control/morebtn.cxx
@@ -46,7 +46,7 @@ void MoreButton::ImplInit( vcl::Window* pParent, WinBits nStyle )
     ShowState();
 
     SetSymbolAlign(SymbolAlign::RIGHT);
-    SetImageAlign(ImageAlign::Right); //Resoves: fdo#31849 ensure button remains vertically centered
+    SetImageAlign(ImageAlign::Right); //Resolves: fdo#31849 ensure button remains vertically centered
     SetSmallSymbol();
 
     if ( ! ( nStyle & ( WB_RIGHT | WB_LEFT ) ) )
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 0e6b1e8..fb7798a 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -1203,7 +1203,7 @@ void TabControl::ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle&
         size_t idx;
 
         // Event though there is a tab overlap with GTK+, the first tab is not
-        // overlapped on the left side.  Other tookits ignore this option.
+        // overlapped on the left side. Other toolkits ignore this option.
         if (bDrawTabsRTL)
         {
             pFirstTab = &mpTabCtrlData->maItemList.front();
@@ -1722,7 +1722,7 @@ void TabControl::RemovePage( sal_uInt16 nPageId )
             if( ! mpTabCtrlData->maItemList.empty() )
             {
                 // don't do this by simply setting mnCurPageId to pFirstItem->mnId
-                // this leaves a lot of stuff (such trivias as _showing_ the new current page) undone
+                // this leaves a lot of stuff (such trivia as _showing_ the new current page) undone
                 // instead, call SetCurPageId
                 // without this, the next (outside) call to SetCurPageId with the id of the first page
                 // will result in doing nothing (as we assume that nothing changed, then), and the page
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index 487ee38..e6340ff 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -1728,7 +1728,7 @@ void TextView::ImpShowCursor( bool bGotoCursor, bool bForceVisCursor, bool bSpec
     aEditCursor.Left() -= 1;
 
     if ( bGotoCursor
-        // #i81283# protext maStartDocPos against initialization problems
+        // #i81283# protect maStartDocPos against initialization problems
         && aOutSz.Width() && aOutSz.Height()
     )
     {
diff --git a/vcl/source/filter/igif/gifread.hxx b/vcl/source/filter/igif/gifread.hxx
index 3f1c18c..969370f 100644
--- a/vcl/source/filter/igif/gifread.hxx
+++ b/vcl/source/filter/igif/gifread.hxx
@@ -85,7 +85,7 @@ class GIFReader : public GraphicReader
     bool                bImGraphicReady;
     bool                bGlobalPalette;
     sal_uInt8           nBackgroundColor;       // backgroundcolour
-    sal_uInt8           nGCTransparentIndex;    // pixelx of this index are transparant
+    sal_uInt8           nGCTransparentIndex;    // pixels of this index are transparant
     sal_uInt8           nGCDisposalMethod;      // 'Disposal Method' (see GIF docs)
     sal_uInt8           cTransIndex1;
     sal_uInt8           cNonTransIndex1;
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 92a1b39..0ab94ba 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -252,7 +252,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic )
     rIStm.ReadUChar( cDummy );
 
     // if we cannot read all
-    // we returnn and wait for new data
+    // we return and wait for new data
     if ( rIStm.GetError() != ERRCODE_IO_PENDING )
     {
         rIStm.Seek( nLastPos );
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 9491857..40ac675 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -207,7 +207,7 @@ ReadState XPMReader::ReadXPM( Graphic& rGraphic )
     return eReadState;
 }
 
-// ImplGetColor returns variouls colour values,
+// ImplGetColor returns various colour values,
 // returns TRUE if various colours could be assigned
 
 bool XPMReader::ImplGetColor( sal_uLong nNumb )
diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 341ffa5..1cfaa41 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -277,7 +277,7 @@ sal_uInt16 ZyklTriDiagGS(bool rep, sal_uInt16 n, double* lower, double* diag,
 /*   ======                                                           */
 /*      Predominantly for diagonal dominant cyclic tridiagonal-       */
 /*      matrices as they occur in spline-interpolations.              */
-/*      For diagonal dominant matices only a LU-decomposition exists. */
+/*      For diagonal dominant matrices only a LU-decomposition exists.*/
 /*                                                                    */
 /*====================================================================*/
 /*                                                                    */


More information about the Libreoffice-commits mailing list