summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/parseAFM.cxx2
-rw-r--r--vcl/generic/fontmanager/parseAFM.hxx2
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx2
-rw-r--r--vcl/generic/print/glyphset.cxx16
-rw-r--r--vcl/generic/print/prtsetup.cxx4
-rw-r--r--vcl/inc/jobset.h2
-rw-r--r--vcl/inc/outfont.hxx2
-rw-r--r--vcl/inc/regband.hxx2
-rw-r--r--vcl/osx/salframeview.mm2
-rw-r--r--vcl/osx/salinst.cxx2
-rw-r--r--vcl/quartz/ctlayout.cxx2
-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
-rw-r--r--vcl/unx/generic/app/saldisp.cxx4
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx2
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx4
-rw-r--r--vcl/unx/gtk/app/gtksys.cxx2
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx2
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx2
-rw-r--r--vcl/unx/kde4/VCLKDEApplication.cxx2
-rw-r--r--vcl/win/source/app/salinst.cxx4
-rw-r--r--vcl/win/source/gdi/winlayout.cxx2
-rw-r--r--vcl/win/source/window/salframe.cxx2
-rw-r--r--vcl/win/source/window/salobj.cxx2
35 files changed, 48 insertions, 48 deletions
diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx
index 4219615e57c5..24345d2c3e8a 100644
--- a/vcl/generic/fontmanager/parseAFM.cxx
+++ b/vcl/generic/fontmanager/parseAFM.cxx
@@ -38,7 +38,7 @@
* 10/20/2005 pl - performance increase:
* - use one table lookup in token() routine
* instead of many conditions
- * - return token length in toke() routine
+ * - return token length in token() routine
* - use hash lookup instead of binary search
* in recognize() routine
*/
diff --git a/vcl/generic/fontmanager/parseAFM.hxx b/vcl/generic/fontmanager/parseAFM.hxx
index 720f7c61d59f..d1fe171623ed 100644
--- a/vcl/generic/fontmanager/parseAFM.hxx
+++ b/vcl/generic/fontmanager/parseAFM.hxx
@@ -280,7 +280,7 @@ typedef struct
/* FontInfo
* Record type containing pointers to all of the other data
* structures containing information about a font.
- * A a record of this type is filled with data by the
+ * A record of this type is filled with data by the
* parseFile function.
*/
typedef struct
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index 2dc7c1180e0a..2db0f0d98d34 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -485,7 +485,7 @@ ServerFont::ServerFont( const FontSelectPattern& rFSD, FtFontInfo* pFI )
mpLayoutEngine( NULL )
{
// TODO: move update of mpFontEntry into FontEntry class when
- // it becomes reponsible for the ServerFont instantiation
+ // it becomes responsible for the ServerFont instantiation
static_cast<ImplServerFontEntry*>(rFSD.mpFontEntry)->SetServerFont( this );
maFaceFT = pFI->GetFaceFT();
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx
index 5c81214cfc0f..285ee4b478c6 100644
--- a/vcl/generic/print/glyphset.cxx
+++ b/vcl/generic/print/glyphset.cxx
@@ -95,7 +95,7 @@ GlyphSet::LookupCharID (
char_list_t::iterator aGlyphSet;
sal_Int32 nGlyphSetID;
- // loop thru all the font subsets
+ // loop through all the font subsets
for (aGlyphSet = maCharList.begin(), nGlyphSetID = 1;
aGlyphSet != maCharList.end();
++aGlyphSet, nGlyphSetID++)
@@ -126,7 +126,7 @@ GlyphSet::LookupGlyphID (
glyph_list_t::iterator aGlyphSet;
sal_Int32 nGlyphSetID;
- // loop thru all the font subsets
+ // loop through all the font subsets
for (aGlyphSet = maGlyphList.begin(), nGlyphSetID = 1;
aGlyphSet != maGlyphList.end();
++aGlyphSet, nGlyphSetID++)
@@ -604,7 +604,7 @@ GlyphSet::PSUploadEncoding(osl::File* pOutFile, PrinterGfx &rGfx)
PrintFontManager &rMgr = rGfx.GetFontMgr();
- // loop thru all the font subsets
+ // loop through all the font subsets
sal_Int32 nGlyphSetID = 0;
char_list_t::iterator aGlyphSet;
for (aGlyphSet = maCharList.begin(); aGlyphSet != maCharList.end(); ++aGlyphSet)
@@ -648,7 +648,7 @@ GlyphSet::PSUploadEncoding(osl::File* pOutFile, PrinterGfx &rGfx)
}
ps_mapping_t::const_iterator aSortedGlyph;
- // loop thru all the glyphs in the subset
+ // loop through all the glyphs in the subset
for (aSortedGlyph = (aSortedGlyphSet).begin();
aSortedGlyph != (aSortedGlyphSet).end();
++aSortedGlyph)
@@ -755,7 +755,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
sal_uInt16 pTTGlyphMapping[256];
const bool bAllowCID = false; // TODO: nPSLanguageLevel>=3
- // loop thru all the font subsets
+ // loop through all the font subsets
sal_Int32 nCharSetID;
char_list_t::iterator aCharSet;
for (aCharSet = maCharList.begin(), nCharSetID = 1;
@@ -765,7 +765,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
if ((*aCharSet).empty())
continue;
- // loop thru all the chars in the subset
+ // loop through all the chars in the subset
char_map_t::const_iterator aChar;
sal_Int32 n = 0;
for (aChar = (*aCharSet).begin(); aChar != (*aCharSet).end(); ++aChar)
@@ -787,7 +787,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
rSuppliedFonts.push_back( aCharSetName );
}
- // loop thru all the font glyph subsets
+ // loop through all the font glyph subsets
sal_Int32 nGlyphSetID;
glyph_list_t::iterator aGlyphSet;
for (aGlyphSet = maGlyphList.begin(), nGlyphSetID = 1;
@@ -797,7 +797,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
if ((*aGlyphSet).empty())
continue;
- // loop thru all the glyphs in the subset
+ // loop through all the glyphs in the subset
glyph_map_t::const_iterator aGlyph;
sal_Int32 n = 0;
for (aGlyph = (*aGlyphSet).begin(); aGlyph != (*aGlyphSet).end(); ++aGlyph)
diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx
index 561845e3bdab..1af14cc01c62 100644
--- a/vcl/generic/print/prtsetup.cxx
+++ b/vcl/generic/print/prtsetup.cxx
@@ -301,7 +301,7 @@ RTSDevicePage::RTSDevicePage( RTSDialog* pParent )
}
sal_uLong nLevelEntryData = 0; //automatic
- if( m_pParent->m_aJobData.m_nPDFDevice == 2 ) //explicitly PDF
+ if( m_pParent->m_aJobData.m_nPDFDevice == 2 ) //explicit PDF
nLevelEntryData = 10;
else if (m_pParent->m_aJobData.m_nPSLevel > 0) //explicit PS Level
nLevelEntryData = m_pParent->m_aJobData.m_nPSLevel+1;
@@ -400,7 +400,7 @@ sal_uLong RTSDevicePage::getPDFDevice()
{
sal_uLong nLevel = reinterpret_cast<sal_uLong>(m_pLevelBox->GetEntryData( m_pLevelBox->GetSelectEntryPos() ));
if (nLevel > 9)
- return 2; //explictly PDF
+ return 2; //explicitly PDF
else if (nLevel == 0)
return 0; //automatic
return -1; //explicitly PS
diff --git a/vcl/inc/jobset.h b/vcl/inc/jobset.h
index 486312157075..c62440773d57 100644
--- a/vcl/inc/jobset.h
+++ b/vcl/inc/jobset.h
@@ -35,7 +35,7 @@
struct ImplJobSetup
{
sal_uInt16 mnRefCount; // RefCount (only independ data)
- sal_uInt16 mnSystem; // Sytem - JOBSETUP_SYSTEM_xxxx
+ sal_uInt16 mnSystem; // System - JOBSETUP_SYSTEM_xxxx
OUString maPrinterName; // Printer-Name
OUString maDriver; // Driver-Name
Orientation meOrientation; // Orientation
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 16a5fdf80410..0f28657aed0d 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -204,7 +204,7 @@ public: // TODO: hide members behind accessor methods
long mnAboveDUnderlineOffset1; // Offset from double underline to baseline (for Vertical Right)
long mnAboveDUnderlineOffset2; // Offset from double underline to baseline (for Vertical Right)
long mnAboveWUnderlineSize; // Height of WaveLine-strike-out (for Vertical Right)
- long mnAboveWUnderlineOffset; // Offset from WaveLine-strike-out to baseline, but centrered to to WaveLine (for Vertical Right)
+ long mnAboveWUnderlineOffset; // Offset from WaveLine-strike-out to baseline, but centrered to the WaveLine (for Vertical Right)
long mnStrikeoutSize; // Height of single strike-out
long mnStrikeoutOffset; // Offset from single strike-out to baseline
long mnBStrikeoutSize; // Height of bold strike-out
diff --git a/vcl/inc/regband.hxx b/vcl/inc/regband.hxx
index b9855e24a761..690888291598 100644
--- a/vcl/inc/regband.hxx
+++ b/vcl/inc/regband.hxx
@@ -71,7 +71,7 @@ public:
// create y-band with boundaries
ImplRegionBand( long nYTop, long nYBottom );
- /** copy y-band with with all data
+ /** copy y-band with all data
@param theSourceBand
The new ImplRegionBand object will
be a copy of this band.
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 98f3dadf1d80..8f411f728390 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -971,7 +971,7 @@ private:
if( pUnmodifiedString && [pUnmodifiedString length] == 1 )
{
/* #i103102# key events with command and alternate don't make it through
- interpretKeyEvents (why ?). Try to dispatch them here first,
+ interpretKeyEvents (why?). Try to dispatch them here first,
if not successful continue normally
*/
if( (mpFrame->mnLastModifierFlags & (NSAlternateKeyMask | NSCommandKeyMask))
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 71758b6b1da4..5e81c6bf586a 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -636,7 +636,7 @@ void AquaSalInstance::Yield( bool bWait, bool bHandleAllCurrentEvents )
// #i86581#
// FIXME: sometimes the NSTimer will never fire. Firing it by hand then
// fixes the problem even seems to set the correct next firing date
- // Why oh why ?
+ // Why oh why?
if( ! pEvent && AquaSalTimer::pRunningTimer )
{
// this cause crashes on MacOSX 10.4
diff --git a/vcl/quartz/ctlayout.cxx b/vcl/quartz/ctlayout.cxx
index 3a42ebc700d9..759b3f5339b5 100644
--- a/vcl/quartz/ctlayout.cxx
+++ b/vcl/quartz/ctlayout.cxx
@@ -420,7 +420,7 @@ void CTLayout::drawCTLine(AquaSalGraphics& rAquaGraphics, CTLineRef ctline, cons
// set the text color as fill color (see kCTForegroundColorFromContextAttributeName)
CGContextSetFillColor( context, rAquaGraphics.maTextColor.AsArray() );
- /* if we have a m_vRunData that indicate that an ApplyDXArray occured
+ /* if we have a m_vRunData that indicate that an ApplyDXArray occurred
* iow that we want to use DXArray to align glyphs
* Otherwise we just use CoreText to display the whole line
*/
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 )
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 5803733c4ca6..d3aca4f158da 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -1116,8 +1116,8 @@ sal_uInt16 SalDisplay::GetKeyCode( KeySym keysym, char*pcPrintable ) const
break;
// - - - - - Sun X-Server keyboard ??? - - - - - - - - - - - -
case XK_L1: // XK_F11:
- nKey = KEY_F11; // on a sun keyboard this actually is usally SunXK_Stop = 0x0000FF69 (XK_Cancel),
- // but VCL doesn't have a key defintion for that
+ nKey = KEY_F11; // on a sun keyboard this actually is usually SunXK_Stop = 0x0000FF69 (XK_Cancel),
+ // but VCL doesn't have a key definition for that
break;
case XK_L2: // XK_F12:
if ( GetServerVendor() == vendor_sun )
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index 4e7d71f3400e..120eaea6441f 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -57,7 +57,7 @@ namespace x11 {
virtual void fireContentsChanged() = 0;
virtual css::uno::Reference< css::uno::XInterface > getReference() = 0;
// returns a reference that will keep the SelectionAdaptor alive until the
- // refernce is released
+ // reference is released
protected:
~SelectionAdaptor() {}
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index bef0510da4a4..487d5e87c824 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -553,7 +553,7 @@ void GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents )
{
/* #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 in there. Having only one yieldin thread actually dispatch
+ * another thread in there. Having only one yieldin thread actually dispatch
* fits the vcl event model (see e.g. the generic plugin).
*/
bool bDispatchThread = false;
@@ -646,7 +646,7 @@ void GtkData::Init()
g_set_application_name(SalGenericSystem::getFrameClassName());
- // Set consistant name of the root accessible
+ // Set consistent name of the root accessible
OUString aAppName = Application::GetAppName();
if( !aAppName.isEmpty() )
{
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 4bd61c7103da..90114bcb9512 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -73,7 +73,7 @@ struct GdkRectangleCoincident
* GtkSalSystem::countScreenMonitors()
*
* This method builds the vector which allows us to map from VCL's
- * idea of linear integer ScreenNumber to to gtk+'s rather more
+ * idea of linear integer ScreenNumber to gtk+'s rather more
* complicated screen + monitor concept.
*/
void
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 03cf9df414ce..c7c8024ac03a 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -3392,7 +3392,7 @@ void GtkSalFrame::damaged (const basegfx::B2IBox& rDamageRect)
}
#if GTK_CHECK_VERSION(3,0,0)
-// FIXME: This is incredibly lame ... but so is cairo's insistance on -exactly-
+// FIXME: This is incredibly lame ... but so is cairo's insistence on -exactly-
// its own stride - neither more nor less - particularly not more aligned
// we like 8byte aligned, it likes 4 - most odd.
void GtkSalFrame::renderArea( cairo_t *cr, cairo_rectangle_t *area )
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index 66d0dddba5d7..0bb0c34fbf72 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -962,7 +962,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
return true;
}
-// FIXME: This is incredibly lame ... but so is cairo's insistance on -exactly-
+// FIXME: This is incredibly lame... but so is cairo's insistence on - exactly -
// its own stride - neither more nor less - particularly not more aligned
// we like 8byte aligned, it likes 4 - most odd.
void GtkSalGraphics::renderAreaToPix( cairo_t *cr,
diff --git a/vcl/unx/kde4/VCLKDEApplication.cxx b/vcl/unx/kde4/VCLKDEApplication.cxx
index 4b02bbce3d39..535977b524c7 100644
--- a/vcl/unx/kde4/VCLKDEApplication.cxx
+++ b/vcl/unx/kde4/VCLKDEApplication.cxx
@@ -45,7 +45,7 @@ bool VCLKDEApplication::x11EventFilter(XEvent* ev)
// because of showing a Qt dialog
void VCLKDEApplication::preDialogSetup()
{
- // KFileDialog intergration requires using event loop with QClipboard.
+ // KFileDialog integration requires using event loop with QClipboard.
// Opening the KDE file dialog here can lead to QClipboard
// asking for clipboard contents. If LO core is the owner of the clipboard
// content, without event loop use this will block for 5 seconds and timeout,
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index a601ff543539..9e284eb819c9 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -744,8 +744,8 @@ LRESULT CALLBACK SalComWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar
// otherwise it happens with short timeouts and long callbacks
// that no other events will ever be processed, as the queue
// is full of SAL_MSG_TIMER_CALLBACKs.
- // It is impossible to limit the amount of them being emited
- // in the first place, as they are emited asynchronously, but
+ // It is impossible to limit the amount of them being emitted
+ // in the first place, as they are emitted asynchronously, but
// here we are already fully synchronized.
}
break;
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 958348fdfd80..22028978568e 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -2127,7 +2127,7 @@ sal_Int32 UniscribeLayout::GetTextBreak( DeviceCoordinate nMaxWidth, DeviceCoord
{
// go back to cluster start
// we have to find the visual item first since the mpLogClusters[]
- // needed to find the cluster start is relative to to the visual item
+ // needed to find the cluster start is relative to the visual item
int nMinGlyphIndex = 0;
for( int nItem = 0; nItem < mnItemCount; ++nItem )
{
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 9dd008bb5261..3d3b242b87b3 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -5298,7 +5298,7 @@ ImplHandleGetObject(HWND hWnd, LPARAM lParam, WPARAM wParam, LRESULT & nRet)
ImplSVData* pSVData = ImplGetSVData();
- // Make sure to launch Accessibiliity only the following criterias are satisfied
+ // Make sure to launch Accessibiliity only the following criteria are satisfied
// to avoid RFT interrupts regular accessibility processing
if ( !pSVData->mxAccessBridge.is() )
{
diff --git a/vcl/win/source/window/salobj.cxx b/vcl/win/source/window/salobj.cxx
index 98862e69fb56..4877c5329629 100644
--- a/vcl/win/source/window/salobj.cxx
+++ b/vcl/win/source/window/salobj.cxx
@@ -98,7 +98,7 @@ LRESULT CALLBACK SalSysMsgProc( int nCode, WPARAM wParam, LPARAM lParam )
pSalData->mnSalObjWantKeyEvt = 0;
- // check if we need to proces data for a SalObject-window
+ // check if we need to process data for a SalObject-window
WinSalObject* pObject;
if ( pData->message == WM_SETFOCUS )
{