summaryrefslogtreecommitdiffstats
path: root/vcl/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /vcl/source
parentjava: convert fields to local variables where possible (diff)
downloadcore-da40cac540e7d735edbe9069b3c8ec6af4530208.tar.gz
core-da40cac540e7d735edbe9069b3c8ec6af4530208.zip
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx2
-rw-r--r--vcl/source/filter/sgvmain.hxx2
-rw-r--r--vcl/source/filter/sgvtext.cxx2
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
-rw-r--r--vcl/source/gdi/bitmap4.cxx4
-rw-r--r--vcl/source/gdi/dibtools.cxx2
-rw-r--r--vcl/source/gdi/print.cxx2
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx2
-rw-r--r--vcl/source/window/decoview.cxx2
-rw-r--r--vcl/source/window/event.cxx2
-rw-r--r--vcl/source/window/splitwin.cxx2
-rw-r--r--vcl/source/window/window.cxx4
13 files changed, 15 insertions, 15 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 743a0ee223b1..c9dd3c76027d 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -366,7 +366,7 @@ inline void ImplYield( bool i_bWait, bool i_bAllEvents )
if( pSVData->maAppData.mnDispatchLevel == 0 )
vcl::LazyDelete::flush();
- // the system timer events will not necessarily come in in non waiting mode
+ // the system timer events will not necessarily come in non waiting mode
// e.g. on OS X; need to trigger timer checks manually
if( pSVData->maAppData.mbNoYield && !pSVData->mbNoCallTimer )
{
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index 7f4ed6d42e1c..14fdbaa8dfa1 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -218,7 +218,7 @@ void FilterConfigCache::ImplInit()
// bFilterEntryCreated!?
if (!( aEntry.nFlags & 3 ))
- continue; //? Entry was already inserted ... but following code will be supressed?!
+ continue; //? Entry was already inserted ... but following code will be suppressed?!
}
}
};
diff --git a/vcl/source/filter/sgvmain.hxx b/vcl/source/filter/sgvmain.hxx
index 41c20a9f9ca4..7958ec8c340b 100644
--- a/vcl/source/filter/sgvmain.hxx
+++ b/vcl/source/filter/sgvmain.hxx
@@ -143,7 +143,7 @@ public:
virtual ~Obj0Type() {}
};
-#define ObjkSize 20 /* should be 21. due to allignment we shifted the flag */
+#define ObjkSize 20 /* should be 21. due to alignment we shifted the flag */
class ObjkType: public Obj0Type { // basic componenents of all Stardraw objects
public:
sal_uInt32 Last;
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index 76adab673aa6..5c6c5430cd69 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -465,7 +465,7 @@ sal_uInt16 SetTextContext(OutputDevice& rOut, ObjTextType& Atr, bool Kapt, sal_u
sal_uLong Grad;
sal_uLong Brei;
OUString FNam;
- sal_uInt16 StdBrei=50; // average line width in in % of text angle
+ sal_uInt16 StdBrei=50; // average line width in % of text angle
bool bFit=(FitXMul!=1 || FitXDiv!=1 || FitYMul!=1 || FitYDiv!=1);
pSgfFont = pSgfFonts->GetFontDesc(Atr.GetFont());
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 335d625b29ab..1a7e1cf6df3d 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -896,7 +896,7 @@ bool Bitmap::Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nSc
//fdo#33455
//
//If we start with a 1 bit image, then after scaling it in any mode except
- //BMP_SCALE_FAST we have a a 24bit image which is perfectly correct, but we
+ //BMP_SCALE_FAST we have a 24bit image which is perfectly correct, but we
//are going to down-shift it to mono again and Bitmap::ImplMakeMono just
//has "Bitmap aNewBmp( GetSizePixel(), 1 );" to create a 1 bit bitmap which
//will default to black/white and the colors mapped to which ever is closer
diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx
index 594247ccf931..26239bdc3aea 100644
--- a/vcl/source/gdi/bitmap4.cxx
+++ b/vcl/source/gdi/bitmap4.cxx
@@ -1130,7 +1130,7 @@ bool Bitmap::ImplSeparableBlurFilter(const double radius)
return true;
}
-// Separable Unsharepn Mask filter is actually a substracted blured
+// Separable Unsharpen Mask filter is actually a subtracted blurred
// image from the original image.
bool Bitmap::ImplSeparableUnsharpenFilter(const double radius) {
const long nWidth = GetSizePixel().Width();
@@ -1150,7 +1150,7 @@ bool Bitmap::ImplSeparableUnsharpenFilter(const double radius) {
BitmapColor aColor, aColorBlur;
- // For all pixels in original image substract pixels values from blured image.
+ // For all pixels in original image subtract pixels values from blurred image
for( int x = 0; x < nWidth; x++ )
{
for( int y = 0; y < nHeight; y++ )
diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index a37d5c21e3a0..f624382c2713 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -678,7 +678,7 @@ bool ImplReadDIBBody( SvStream& rIStm, Bitmap& rBmp, Bitmap* pBmpAlpha, sal_uLon
// some clipboard entries have alpha mask on zero to say that there is
// no alpha; do only use this when the other masks are set. The MS docu
- // says that that masks are only to be set when bV5Compression is set to
+ // says that masks are only to be set when bV5Compression is set to
// BI_BITFIELDS, but there seem to exist a wild variety of usages...
if((bRedSet || bGreenSet || bBlueSet) && (0 == aHeader.nV5AlphaMask))
{
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 581b3f02e350..9904f375c573 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -144,7 +144,7 @@ bool PrinterOptions::ReadFromConfig( bool i_bFile )
{
// get service provider
Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() );
- // create configuration hierachical access name
+ // create configuration hierarchical access name
try
{
xConfigProvider = theDefaultProvider::get( xContext );
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index d39cb33fdc36..2c6de419f12d 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -367,7 +367,7 @@ const char* getTypeString(GLenum type)
;
}
- return "unkown";
+ return "unknown";
}
extern "C" void
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 13b94d2f51cb..979ed5fe8245 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -983,7 +983,7 @@ Rectangle DecorationView::DrawButton( const Rectangle& rRect, sal_uInt16 nStyle
mpOutDev->SetLineColor( maOldLineColor );
mpOutDev->SetFillColor( maOldFillColor );
- // keep border free, altough it is used at default representation
+ // keep border free, although it is used at default representation
++aRect.Left();
++aRect.Top();
--aRect.Right();
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index 95bb1586274e..995fd7661a2d 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -484,7 +484,7 @@ void Window::ImplCallMove()
g = pParentFrame->GetGeometry();
mpWindowImpl->maPos -= Point( g.nX, g.nY );
}
- // the client window and and all its subclients have the same position as the borderframe
+ // the client window and all its subclients have the same position as the borderframe
// this is important for floating toolbars where the borderwindow is a floating window
// which has another borderwindow (ie the system floating window)
vcl::Window *pClientWin = mpWindowImpl->mpClientWindow;
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index c4dcdd171b96..9f82ca318864 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -586,7 +586,7 @@ static void ImplCalcSet( ImplSplitSet* pSet,
j++;
}
- // substract size of individual items
+ // subtract size of individual items
nErrorSum = nSizeDelta % nCalcItems;
nCurSizeDelta = nSizeDelta / nCalcItems;
nMins = 0;
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 6905e2cd7081..5789a89fb299 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1399,7 +1399,7 @@ void Window::ImplSetReallyVisible()
}
}
-void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
DBG_ASSERT( !pDel->mpWindow, "Window::ImplAddDel(): cannot add ImplDelData twice !" );
if( !pDel->mpWindow )
@@ -1410,7 +1410,7 @@ void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompat
}
}
-void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
pDel->mpWindow = NULL; // #112873# pDel is not associated with a Window anymore
if ( mpWindowImpl->mpFirstDel == pDel )