summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /vcl
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/README.lifecycle2
-rw-r--r--vcl/generic/print/text_gfx.cxx2
-rw-r--r--vcl/inc/fontmanager.hxx2
-rw-r--r--vcl/inc/sft.hxx4
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx2
-rw-r--r--vcl/opengl/win/gdiimpl.cxx2
-rw-r--r--vcl/osx/clipboard.hxx2
-rw-r--r--vcl/osx/printaccessoryview.mm2
-rw-r--r--vcl/osx/salnativewidgets.cxx2
-rw-r--r--vcl/quartz/salgdi.cxx2
-rw-r--r--vcl/source/app/svmain.cxx2
-rw-r--r--vcl/source/bitmap/BitmapFilterStackBlur.cxx2
-rw-r--r--vcl/source/control/edit.cxx2
-rw-r--r--vcl/source/control/field.cxx2
-rw-r--r--vcl/source/filter/graphicfilter2.cxx2
-rw-r--r--vcl/source/filter/jpeg/JpegReader.cxx2
-rw-r--r--vcl/source/filter/sgvspln.cxx2
-rw-r--r--vcl/source/filter/wmf/enhwmf.cxx2
-rw-r--r--vcl/source/filter/wmf/wmf.cxx4
-rw-r--r--vcl/source/fontsubset/sft.cxx6
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
-rw-r--r--vcl/source/gdi/gdimtf.cxx4
-rw-r--r--vcl/source/gdi/metaact.cxx2
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx8
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/gdi/region.cxx2
-rw-r--r--vcl/source/glyphs/graphite_layout.cxx2
-rw-r--r--vcl/source/outdev/font.cxx2
-rw-r--r--vcl/source/outdev/mask.cxx2
-rw-r--r--vcl/source/outdev/transparent.cxx2
-rw-r--r--vcl/source/window/dockmgr.cxx2
-rw-r--r--vcl/source/window/splitwin.cxx2
-rw-r--r--vcl/source/window/status.cxx2
-rw-r--r--vcl/source/window/syschild.cxx2
-rw-r--r--vcl/source/window/winproc.cxx2
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx2
-rw-r--r--vcl/unx/generic/gdi/salbmp.cxx2
-rw-r--r--vcl/unx/generic/gdi/x11windowprovider.cxx2
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx2
-rw-r--r--vcl/unx/gtk/gtkdata.cxx2
-rw-r--r--vcl/win/gdi/gdiimpl.cxx2
-rw-r--r--vcl/win/gdi/salfont.cxx2
-rw-r--r--vcl/win/gdi/winlayout.cxx2
-rw-r--r--vcl/win/window/salframe.cxx2
48 files changed, 56 insertions, 56 deletions
diff --git a/vcl/README.lifecycle b/vcl/README.lifecycle
index 4bf17fb96cb5..6ef91ccfce51 100644
--- a/vcl/README.lifecycle
+++ b/vcl/README.lifecycle
@@ -141,7 +141,7 @@ or:
This is an interim measure while we are migrating, such that
it is possible to delete an object conventionally and ensure
that its dispose method gets called. In the 'end' we would
- instead assert that a Window has been disposed in it's
+ instead assert that a Window has been disposed in its
destructor, and elide these calls.
As the object's vtable is altered as we go down the
diff --git a/vcl/generic/print/text_gfx.cxx b/vcl/generic/print/text_gfx.cxx
index 8f46d9c72c8b..3bf390d5f9ef 100644
--- a/vcl/generic/print/text_gfx.cxx
+++ b/vcl/generic/print/text_gfx.cxx
@@ -36,7 +36,7 @@ namespace psp {
/*
container for a font and its helper fonts:
1st is the font itself
- 2nd is a fallback font, usually a font with unicode glyph repertoir (e.g. andale)
+ 2nd is a fallback font, usually a font with unicode glyph repertoire (e.g. andale)
symbol fonts (adobe-fontspecific) may need special glyphmapping
(symbol page vc. latin page)
*/
diff --git a/vcl/inc/fontmanager.hxx b/vcl/inc/fontmanager.hxx
index 0e54e9b51855..d2d9c59dacc7 100644
--- a/vcl/inc/fontmanager.hxx
+++ b/vcl/inc/fontmanager.hxx
@@ -63,7 +63,7 @@ enum type {
/*
* the difference between FastPrintFontInfo and PrintFontInfo
* is that the information in FastPrintFontInfo can usually
- * be gathered without openening either the font file or
+ * be gathered without opening either the font file or
* an afm metric file. they are gathered from fonts.dir alone.
* if only FastPrintFontInfo is gathered and PrintFontInfo
* on demand and for less fonts, then performance in startup
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 7d4a88db3708..a891bb8c40ea 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -182,7 +182,7 @@ namespace vcl
sal_uInt16 macStyle; /**< macstyle bits from 'HEAD' table */
int weight; /**< value of WeightClass or 0 if can't be determined */
int width; /**< value of WidthClass or 0 if can't be determined */
- int pitch; /**< 0: proportianal font, otherwise: monospaced */
+ int pitch; /**< 0: proportional font, otherwise: monospaced */
int italicAngle; /**< in counter-clockwise degrees * 65536 */
int xMin; /**< global bounding box: xMin */
int yMin; /**< global bounding box: yMin */
@@ -196,7 +196,7 @@ namespace vcl
int vdescent; /**< typographic descent for vertical writing mode */
int typoAscender; /**< OS/2 portable typographic ascender */
int typoDescender; /**< OS/2 portable typographic descender */
- int typoLineGap; /**< OS/2 portable typographc line gap */
+ int typoLineGap; /**< OS/2 portable typographic line gap */
int winAscent; /**< ascender metric for Windows */
int winDescent; /**< descender metric for Windows */
bool symbolEncoded; /**< true: MS symbol encoded */
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index 2f3ec80e16e4..11a11d35e456 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -621,7 +621,7 @@ void WinOpenGLDeviceInfo::GetData()
/* DeviceKey is "reserved" according to MSDN so we'll be careful with it */
/* check that DeviceKey begins with DEVICE_KEY_PREFIX */
- /* some systems have a DeviceKey starting with \REGISTRY\Machine\ so we need to compare case insenstively */
+ /* some systems have a DeviceKey starting with \REGISTRY\Machine\ so we need to compare case insensitively */
if (_wcsnicmp(displayDevice.DeviceKey, DEVICE_KEY_PREFIX, ArrayLength(DEVICE_KEY_PREFIX)-1) != 0)
{
SAL_WARN("vcl.opengl", "incorrect DeviceKey");
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 9ca266a6604a..7fbf8f787639 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -40,7 +40,7 @@ void WinOpenGLSalGraphicsImpl::Init()
( mpContext->getOpenGLWindow().hWnd != mrParent.mhWnd ||
mpContext->getOpenGLWindow().hDC == mrParent.mhLocalDC ) )
{
- // This can legitimiately happen, SalFrame keeps 2x
+ // This can legitimately happen, SalFrame keeps 2x
// SalGraphics which share the same hWnd and hDC.
// The shape 'Area' dialog does reparenting to trigger this.
SAL_WARN("vcl.opengl", "Unusual: Windows handle / DC changed without DeInit");
diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx
index 67e76515c52c..6ff1721a0158 100644
--- a/vcl/osx/clipboard.hxx
+++ b/vcl/osx/clipboard.hxx
@@ -54,7 +54,7 @@ class AquaClipboard;
// instance
- (EventListener*)initWithAquaClipboard: (AquaClipboard*) pcb;
-// Promiss resolver function
+// Promise resolver function
- (void)pasteboard:(NSPasteboard*)sender provideDataForType:(const NSString *)type;
-(void)applicationDidBecomeActive:(NSNotification*)aNotification;
diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 075a396cb1c7..80885f82de66 100644
--- a/vcl/osx/printaccessoryview.mm
+++ b/vcl/osx/printaccessoryview.mm
@@ -1250,7 +1250,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
// add the accessory controller to the panel
[pPrintPanel addAccessoryController: [pAccessoryController autorelease]];
- // set the current selecte tab item
+ // set the current selected tab item
if( pState->nLastPage >= 0 && pState->nLastPage < [pTabView numberOfTabViewItems] )
[pTabView selectTabViewItemAtIndex: pState->nLastPage];
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 16ab4f67aca0..b5f738831419 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -422,7 +422,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType,
[NSNumber numberWithBool:NO], @"kCUIWindowFrameDrawTitleSeparatorKey",
[NSNumber numberWithBool:YES], @"is.flipped",
nil]),
- nil);;
+ nil);
}
else
{
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 2403e9b8b520..9a917ec25d7a 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -502,7 +502,7 @@ static void FakeDirEntry( const char aTag[5], ByteCount nOfs, ByteCount nLen,
}
// fake a TTF or CFF font as directly accessing font file is not possible
-// when only the fontid is known. This approach also handles *.dfont fonts.
+// when only the fontid is known. This approach also handles *.font fonts.
bool AquaSalGraphics::GetRawFontData( const PhysicalFontFace* pFontData,
ByteVector& rBuffer, bool* pJustCFF )
{
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 33d08dd5e91e..9c1851918ca2 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -538,7 +538,7 @@ void DeInitVCL()
ResMgr::DestroyAllResMgr();
- // destroy all Sal interfaces before destorying the instance
+ // destroy all Sal interfaces before destroying the instance
// and thereby unloading the plugin
delete pSVData->mpSalSystem;
pSVData->mpSalSystem = nullptr;
diff --git a/vcl/source/bitmap/BitmapFilterStackBlur.cxx b/vcl/source/bitmap/BitmapFilterStackBlur.cxx
index 6782a94ca87b..a2664b702e7c 100644
--- a/vcl/source/bitmap/BitmapFilterStackBlur.cxx
+++ b/vcl/source/bitmap/BitmapFilterStackBlur.cxx
@@ -521,7 +521,7 @@ void centerExtendBitmap(Bitmap& rBitmap, sal_Int32 nExtendSize, Color aColor)
* Stack Blur Algorithm by Mario Klingemann <mario@quasimondo.com>
* (http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html)
*
- * Additionally eferences and implementations:
+ * Additionally references and implementations:
* - Blur.js by Jacob Kelley
* (http://www.blurjs.com)
* - BlurEffectForAndroidDesign by Nicolas Pomepuy
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index d0e4eb1a3018..31538e842d9f 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -858,7 +858,7 @@ void Edit::ImplInsertText( const OUString& rStr, const Selection* pNewSel, bool
// take care of input-sequence-checking now
if (bIsUserInput && !rStr.isEmpty())
{
- DBG_ASSERT( rStr.getLength() == 1, "unexpected string length. User input is expected to providse 1 char only!" );
+ DBG_ASSERT( rStr.getLength() == 1, "unexpected string length. User input is expected to provide 1 char only!" );
// determine if input-sequence-checking should be applied or not
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 8036d1640d1d..720ebd02568d 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1068,7 +1068,7 @@ static OUString ImplMetricGetUnitText(const OUString& rStr)
return aStr.makeStringAndClear();
}
-// #104355# support localized mesaurements
+// #104355# support localized measurements
static const OUString ImplMetricToString( FieldUnit rUnit )
{
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 822452bd450e..1a3af32d54cd 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -292,7 +292,7 @@ bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, bool bExtendedInfo )
bScanFinished = true;
break;
- // per default we assume marker segments conaining a length parameter
+ // per default we assume marker segments containing a length parameter
default :
{
sal_uInt16 nLength = 0;
diff --git a/vcl/source/filter/jpeg/JpegReader.cxx b/vcl/source/filter/jpeg/JpegReader.cxx
index 5f42009d6ca9..78e818d8d8da 100644
--- a/vcl/source/filter/jpeg/JpegReader.cxx
+++ b/vcl/source/filter/jpeg/JpegReader.cxx
@@ -225,7 +225,7 @@ unsigned char * JPEGReader::CreateBitmap(JPEGCreateBitmapParam& rParam)
if (nSize > SAL_MAX_INT32 / (bGray?1:3))
return nullptr;
- // Check if the bitmap is untypically large.
+ // Check if the bitmap is atypically large.
if (nSize*(bGray?1:3) > MAX_BITMAP_BYTE_SIZE)
{
// Do not try to acquire resources for the large bitmap or to
diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 762e310eb55e..d58ad9d5bb82 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -272,7 +272,7 @@ sal_uInt16 ZyklTriDiagGS(bool rep, sal_uInt16 n, double* lower, double* diag,
/* */
/* Memory for lowrow[1],..,lowrow[n-3] und ricol[1],...,ricol[n-3] */
/* should be provided separately, as this should be available to */
-/* store the decomposition matrix, which is overwritting */
+/* store the decomposition matrix, which is overwriting */
/* the 5 vectors mentioned. */
/* */
/*====================================================================*/
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 989e0aa9efeb..90ed0bde8f1b 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -491,7 +491,7 @@ void EnhWMFReader::ReadAndDrawPolygon(Drawer drawer, const bool skipFirst)
* The \<class T> parameter is for the type of the points
* nStartIndex: which is the starting index in the polygon of the first point read
* nPoints: number of points
- * pWMF: the stream containings the polygons
+ * pWMF: the stream containing the polygons
* */
template <class T>
tools::Polygon EnhWMFReader::ReadPolygon(sal_uInt32 nStartIndex, sal_uInt32 nPoints)
diff --git a/vcl/source/filter/wmf/wmf.cxx b/vcl/source/filter/wmf/wmf.cxx
index 1b3972110792..8865d3c84f53 100644
--- a/vcl/source/filter/wmf/wmf.cxx
+++ b/vcl/source/filter/wmf/wmf.cxx
@@ -93,7 +93,7 @@ bool ConvertGDIMetaFileToWMF( const GDIMetaFile & rMTF, SvStream & rTargetStream
{
// #i121267# It is necessary to prepare the metafile since the export does *not* support
// clip regions. This tooling method clips the geometry content of the metafile internally
- // against it's own clip regions, so that the export is safe to ignore clip regions
+ // against its own clip regions, so that the export is safe to ignore clip regions
clipMetafileContentAgainstOwnRegions(aGdiMetaFile);
}
@@ -109,7 +109,7 @@ bool ConvertGDIMetaFileToEMF(const GDIMetaFile & rMTF, SvStream & rTargetStream)
{
// #i121267# It is necessary to prepare the metafile since the export does *not* support
// clip regions. This tooling method clips the geometry content of the metafile internally
- // against it's own clip regions, so that the export is safe to ignore clip regions
+ // against its own clip regions, so that the export is safe to ignore clip regions
clipMetafileContentAgainstOwnRegions(aGdiMetaFile);
}
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index 37cd963fc607..608e7dbb0280 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -678,7 +678,7 @@ static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPo
* but Get{Simple|Compound}GlyphOutline returns 0 in such a case.
*
* NOTE: glyphlist is the stack of glyphs traversed while constructing
- * a composite glyph. This is a safequard against endless recursion
+ * a composite glyph. This is a safeguard against endless recursion
* in corrupted fonts.
*/
static int GetTTGlyphOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >* glyphlist)
@@ -1024,7 +1024,7 @@ static void GetNames(TrueTypeFont *t)
}
/* #i60349# sanity check psname
- * psname parctically has to be 7bit ascii and should not contains spaces
+ * psname pratically has to be 7bit ascii and should not contains spaces
* there is a class of broken fonts which do not fulfill that at all, so let's try
* if the family name is 7bit ascii and take it instead if so
*/
@@ -1471,7 +1471,7 @@ static void allocTrueTypeFont( TrueTypeFont** ttf )
}
}
-/* forward declariotn for the two entry points to use*/
+/* forward declaration for the two entry points to use*/
static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t );
#if !defined(WIN32)
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index f390855e7d7b..7af0f149016c 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -989,7 +989,7 @@ BitmapEx BitmapEx::getTransformed(
aTransform.scale(fReduceFactor, fReduceFactor);
}
- // invert to get transformation from target pixel coordiates to source pixels
+ // invert to get transformation from target pixel coordinates to source pixels
aTransform.invert();
// create bitmap using source, destination and linear back-transformation
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 21d1f112a641..8309d6b22c96 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -1664,8 +1664,8 @@ Rectangle GDIMetaFile::GetBoundRect( OutputDevice& i_rReference, Rectangle* pHai
case( MetaActionType::FLOATTRANSPARENT ):
{
MetaFloatTransparentAction* pAct = static_cast<MetaFloatTransparentAction*>(pAction);
- // MetaFloatTransparentAction is defined limiting it's content Metafile
- // to it's geometry definition(Point, Size), so use these directly
+ // MetaFloatTransparentAction is defined limiting its content Metafile
+ // to its geometry definition(Point, Size), so use these directly
const Rectangle aRect( pAct->GetPoint(), pAct->GetSize() );
ImplActionBounds( aBound, OutputDevice::LogicToLogic( aRect, aMapVDev->GetMapMode(), GetPrefMapMode() ), aClipStack, nullptr );
}
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 22fa9b6f4245..ed742770a51d 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3274,7 +3274,7 @@ void MetaCommentAction::Move( long nXMove, long nYMove )
}
}
-// SJ: 25.07.06 #i56656# we are not able to mirrorcertain kind of
+// SJ: 25.07.06 #i56656# we are not able to mirror certain kind of
// comments properly, especially the XPATHSTROKE and XPATHFILL lead to
// problems, so it is better to remove these comments when mirroring
// FIXME: fake comment to apply the next hunk in the right location
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 8212f8534338..78304facf2f8 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -670,7 +670,7 @@ void PDFExtOutDevData::SetPageTransition( PDFWriter::PageTransition eType, sal_u
mpGlobalSyncData->mParaInts.push_back( nPageNr == -1 ? mnPage : nPageNr );
}
-/* local (page), actions have to be played synchroniously to the actions of
+/* local (page), actions have to be played synchronously to the actions of
of the recorded metafile (created by each xRenderable->render()) */
sal_Int32 PDFExtOutDevData::BeginStructureElement( PDFWriter::StructElement eType, const OUString& rAlias )
{
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index f9d3fbd755f5..ce3e32f1e33f 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3768,7 +3768,7 @@ sal_Int32 PDFWriterImpl::createToUnicodeCMap( sal_uInt8* pEncoding,
}
aContents.append( "endbfchar\n"
"endcmap\n"
- "CMapName currentdict /CMap defineresource pop\n"
+ "CMapName currentdict /CMap define resource pop\n"
"end\n"
"end\n" );
#ifndef DEBUG_DISABLE_PDFCOMPRESSION
@@ -5570,7 +5570,7 @@ bool PDFWriterImpl::emitWidgetAnnotations()
else if( rWidget.m_nTextStyle & DrawTextFlags::Right )
aLine.append( "/Q 2\n" );
}
- // appearance charactristics for terminal fields
+ // appearance characteristics for terminal fields
// which are supposed to have an appearance constructed
// by the viewer application
if( !rWidget.m_aMKDict.isEmpty() )
@@ -7772,7 +7772,7 @@ sal_Int32 PDFWriterImpl::emitOutputIntent()
appendLiteralStringEncrypt( aComment ,nOIObject, aLine );
aLine.append("/DestOutputProfile ");
aLine.append( nICCObject );
- aLine.append( " 0 R>>\nendobj\n\n" );;
+ aLine.append( " 0 R>>\nendobj\n\n" );
if ( !writeBuffer( aLine.getStr(), aLine.getLength() ) ) return 0;
return nOIObject;
@@ -12257,7 +12257,7 @@ sal_Int32 PDFWriterImpl::setLinkURL( sal_Int32 nLinkId, const OUString& rURL )
if (!m_xTrans.is())
{
uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
- m_xTrans = util::URLTransformer::create(xContext);;
+ m_xTrans = util::URLTransformer::create(xContext);
}
util::URL aURL;
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 781e290a6519..b839fdfa7166 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1234,7 +1234,7 @@ DrawModeFlags PrinterController::removeTransparencies( GDIMetaFile& i_rIn, GDIMe
}
}
- // convert to greysacles
+ // convert to greyscales
if( rPrinterOptions.IsConvertToGreyscales() )
{
mpImplData->mxPrinter->SetDrawMode( mpImplData->mxPrinter->GetDrawMode() |
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index c77e9cd7b374..48a5cc026031 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -36,7 +36,7 @@
namespace
{
- /** Return <TRUE/> when the given polygon is rectiliner and oriented so that
+ /** Return <TRUE/> when the given polygon is rectilinear and oriented so that
all sides are either horizontal or vertical.
*/
bool ImplIsPolygonRectilinear (const tools::PolyPolygon& rPolyPoly)
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index cb9a9629d11c..2405967e6d53 100644
--- a/vcl/source/glyphs/graphite_layout.cxx
+++ b/vcl/source/glyphs/graphite_layout.cxx
@@ -106,7 +106,7 @@ namespace
// This is an extended vector class with methods added to enable
// o Correctly filling with glyphs.
// o Querying clustering relationships.
-// o manipulations that affect neighouring glyphs.
+// o manipulations that affect neighbouring glyphs.
const int GraphiteLayout::EXTRA_CONTEXT_LENGTH = 32;
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index cdffc747b866..7732b2477551 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1418,7 +1418,7 @@ SalLayout* OutputDevice::ImplGlyphFallbackLayout( SalLayout* pSalLayout, ImplLay
if( nFallbackLevel < MAX_FALLBACK-1)
{
// ignore fallback font if it is the same as the original font
- // unless we are looking for a substituion for 0x202F, in which
+ // unless we are looking for a substitution for 0x202F, in which
// case we'll just use a normal space
if( mpFontInstance->maFontSelData.mpFontData == aFontSelData.mpFontData &&
aMissingCodes.indexOf(0x202F) == -1 )
diff --git a/vcl/source/outdev/mask.cxx b/vcl/source/outdev/mask.cxx
index 6223de1c0de3..739cbf18c4da 100644
--- a/vcl/source/outdev/mask.cxx
+++ b/vcl/source/outdev/mask.cxx
@@ -114,7 +114,7 @@ void OutputDevice::DrawDeviceMask( const Bitmap& rMask, const Color& rMaskColor,
ImplLogicWidthToDevicePixel(rDestSize.Width()),
ImplLogicHeightToDevicePixel(rDestSize.Height()));
- // we don't want to mirror via cooridates
+ // we don't want to mirror via coordinates
const BmpMirrorFlags nMirrFlags = AdjustTwoRect( aPosAry, pImpBmp->ImplGetSize() );
// check if output is necessary
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index 3839a3380d4b..86b0fe5b40e8 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -334,7 +334,7 @@ bool OutputDevice::DrawTransparentNatively ( const tools::PolyPolygon& rPolyPoly
// CAUTION: Only non printing (pixel-renderer) VCL commands from OutputDevices
// should be used when printing. Normally this is avoided by the printer being
// non-AAed and thus e.g. on WIN GdiPlus calls are not used. It may be necessary
- // to figure out a way of moving this code to it's own function that is
+ // to figure out a way of moving this code to its own function that is
// overriden by the Print class, which will mean we deliberately override the
// functionality and we use the fallback some lines below (which is not very good,
// though. For now, WinSalGraphics::drawPolyPolygon will detect printer usage and
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 305878e74a53..653b663b328d 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -532,7 +532,7 @@ css::uno::Reference< css::accessibility::XAccessible > ImplPopupFloatWin::Create
// 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
// has to provide accessibility support (as implemented in the toolkit)
- // so the contained toolbar should appear as child of the correponsing toolbar item of the parent toolbar
+ // so the contained toolbar should appear as child of the corresponding toolbar item of the parent toolbar
return css::uno::Reference< css::accessibility::XAccessible >();
}
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index e6d62d305580..36639b1a9364 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -603,7 +603,7 @@ static void ImplCalcSet( ImplSplitSet* pSet,
nMins = 0;
while ( nSizeDelta && (nItems != nMins) )
{
- // determinne which items we can calculate
+ // determine which items we can calculate
nCalcItems = 0;
while ( !nCalcItems )
{
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index c9649aaa8e77..ffd3541da964 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1373,7 +1373,7 @@ void StatusBar::StartProgressMode( const OUString& rText )
void StatusBar::SetProgressValue( sal_uInt16 nNewPercent )
{
- DBG_ASSERT( mbProgressMode, "StatusBar::SetProgressValue(): no progrss mode" );
+ DBG_ASSERT( mbProgressMode, "StatusBar::SetProgressValue(): no progress mode" );
SAL_WARN_IF( nNewPercent > 100, "vcl", "StatusBar::SetProgressValue(): nPercent > 100" );
if ( mbProgressMode
diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx
index c9b84bf9232a..d0c8e8ca375d 100644
--- a/vcl/source/window/syschild.cxx
+++ b/vcl/source/window/syschild.cxx
@@ -229,7 +229,7 @@ sal_IntPtr SystemChildWindow::GetParentWindowHandle( bool bUseJava )
try
{
::rtl::Reference< ::jvmaccess::VirtualMachine > xVM;
- uno::Reference< java::XJavaVM > xJavaVM = java::JavaVirtualMachine::create(xContext);;
+ uno::Reference< java::XJavaVM > xJavaVM = java::JavaVirtualMachine::create(xContext);
uno::Sequence< sal_Int8 > aProcessID( 17 );
rtl_getGlobalProcessId( reinterpret_cast<sal_uInt8*>(aProcessID.getArray()) );
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 5227c2a97788..e61ea101dfcb 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1600,7 +1600,7 @@ static void ImplHandlePaint( vcl::Window* pWindow, const Rectangle& rBoundRect,
// #i87663# trigger possible pending resize notifications
// (GetSizePixel does that for us)
pWindow->GetSizePixel();
- // force drawing inmmediately
+ // force drawing immediately
pWindow->Update();
}
}
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 7fe000b502c9..02efd278e573 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -1455,7 +1455,7 @@ KeySym SalDisplay::GetKeySym( XKeyEvent *pEvent,
// For some X-servers special care is needed for Keypad keys.
// For example Solaris XServer:
// 2, 4, 6, 8 are classified as Cursorkeys (Up, Down, Left, Right)
- // 1, 3, 5, 9 are classified as Funtionkeys (F27,F29,F33,F35)
+ // 1, 3, 5, 9 are classified as Functionkeys (F27,F29,F33,F35)
// 0 as Keypadkey, and the decimal point key not at all (KP_Insert)
KeySym nNewKeySym = XLookupKeysym( pEvent, nNumLockIndex_ );
if( nNewKeySym != NoSymbol )
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index 946aaf0a3b73..1f7d39da63ec 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -399,7 +399,7 @@ void SelectionManager::initialize( const Sequence< Any >& arguments ) throw (css
m_aWindow = XCreateSimpleWindow( m_pDisplay, DefaultRootWindow( m_pDisplay ),
10, 10, 10, 10, 0, 0, 1 );
- // initialize threshold for incremetal transfers
+ // initialize threshold for incremental transfers
// ICCCM says it should be smaller that the max request size
// which in turn is guaranteed to be at least 16k bytes
m_nIncrementalThreshold = XMaxRequestSize( m_pDisplay ) - 1024;
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index 39034a18728f..ba897216a749 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -263,7 +263,7 @@ namespace x11 {
// contains the XdndEnterEvent of a drop action running
// with one of our targets. The data.l[0] member
- // (conatining the drag source ::Window) is set
+ // (containing the drag source ::Window) is set
// to None while that is not the case
XClientMessageEvent m_aDropEnterEvent;
// set to false on XdndEnter
diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx
index 395da5ae5588..91c1f6fcd109 100644
--- a/vcl/unx/generic/gdi/salbmp.cxx
+++ b/vcl/unx/generic/gdi/salbmp.cxx
@@ -980,7 +980,7 @@ bool ImplSalDDB::ImplMatches( SalX11Screen nXScreen, long nDepth, const SalTwoRe
&& rTwoRect.mnDestHeight == maTwoRect.mnDestHeight
)
{
- // absolutely indentically
+ // absolutely identically
bRet = true;
}
else if( rTwoRect.mnSrcWidth == rTwoRect.mnDestWidth
diff --git a/vcl/unx/generic/gdi/x11windowprovider.cxx b/vcl/unx/generic/gdi/x11windowprovider.cxx
index 5f7d289196ec..e8604ad410ee 100644
--- a/vcl/unx/generic/gdi/x11windowprovider.cxx
+++ b/vcl/unx/generic/gdi/x11windowprovider.cxx
@@ -45,7 +45,7 @@ Display *OpenX11Display(OString& rDisplay)
{
/*
* if a -display switch was used, we need
- * to set the environment accoringly since
+ * to set the environment accordingly since
* the clipboard build another connection
* to the xserver using $DISPLAY
*/
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 8ae6e0139b54..823ca7034866 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -1243,7 +1243,7 @@ void PPDParser::parseOrderDependency(const OString& rLine)
OString aSetup = GetCommandLineToken( 1, aLine );
OUString aKey(OStringToOUString(GetCommandLineToken(2, aLine), RTL_TEXTENCODING_MS_1252));
if( aKey[ 0 ] != '*' )
- return; // invalid order dependecy
+ return; // invalid order dependency
aKey = aKey.replaceAt( 0, 1, "" );
PPDKey* pKey;
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 965768d36b08..7221d92fe002 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -707,7 +707,7 @@ uno::Sequence<OUString> SAL_CALL SalGtkFilePicker::getFiles() throw( uno::Runtim
uno::Sequence< OUString > aFiles = getSelectedFiles();
/*
The previous multiselection API design was completely broken
- and unimplementable for some hetrogenous pseudo-URIs eg. search:
+ and unimplementable for some heterogeneous pseudo-URIs eg. search:
Thus crop unconditionally to a single selection.
*/
aFiles.realloc (1);
diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index b5c64e05d302..5f0acfafdf6c 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -733,7 +733,7 @@ void GtkData::Init()
#if !GTK_CHECK_VERSION(3,0,0)
/*
* if a -display switch was used, we need
- * to set the environment accoringly since
+ * to set the environment accordingly since
* the clipboard build another connection
* to the xserver using $DISPLAY
*/
diff --git a/vcl/win/gdi/gdiimpl.cxx b/vcl/win/gdi/gdiimpl.cxx
index 7a1bbdc66026..6cb9e3e9951f 100644
--- a/vcl/win/gdi/gdiimpl.cxx
+++ b/vcl/win/gdi/gdiimpl.cxx
@@ -520,7 +520,7 @@ void WinSalGraphicsImpl::copyArea( long nDestX, long nDestY,
// by excluding hInvalidateRgn from the system's clip region
// we will prevent bitblt from copying useless data
- // epsecially now shadows from overlapping windows will appear (#i36344)
+ // especially now shadows from overlapping windows will appear (#i36344)
hOldClipRgn = CreateRectRgn( 0, 0, 0, 0 );
nOldClipRgnType = GetClipRgn( mrParent.getHDC(), hOldClipRgn );
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx
index 3a705bf20179..9decea8dc69e 100644
--- a/vcl/win/gdi/salfont.cxx
+++ b/vcl/win/gdi/salfont.cxx
@@ -374,7 +374,7 @@ LanguageType MapCharToLanguage( sal_UCS4 uChar )
{
bFirst = false;
- // use method suggested in #i97086# to determnine the systems default language
+ // use method suggested in #i97086# to determine the systems default language
// TODO: move into i18npool or sal/osl/w32/nlsupport.c
LanguageType nDefaultLang = 0;
HKEY hKey = NULL;
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 998865e0eb79..e7800011c8ee 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -861,7 +861,7 @@ bool UniscribeLayout::LayoutText( ImplLayoutArgs& rArgs )
}
// prepare layout
- // TODO: fix case when recyclying old UniscribeLayout object
+ // TODO: fix case when recycling old UniscribeLayout object
mnMinCharPos = rArgs.mnMinCharPos;
mnEndCharPos = rArgs.mnEndCharPos;
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index bb5f8b0ca49d..62883261dfe3 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -3338,7 +3338,7 @@ bool WinSalFrame::MapUnicodeToKeyCode( sal_Unicode aUnicode, LanguageType aLangT
BYTE vkeycode = LOBYTE(scan);
BYTE shiftstate = HIBYTE(scan);
- // Last argument is set to FALSE, because there's no decission made
+ // Last argument is set to FALSE, because there's no decision made
// yet which key should be assigned to MOD3 modifier on Windows.
// Windows key - user's can be confused, because it should display
// Windows menu (applies to both left/right key)