summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
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/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/source/gdi/gdiimpl.cxx2
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx2
-rw-r--r--vcl/win/source/gdi/winlayout.cxx2
-rw-r--r--vcl/win/source/window/salframe.cxx2
47 files changed, 55 insertions, 55 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 bbb7517e9ca1..7f11f1ac2a41 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 e383c030835a..b69f07398d20 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 1cb85da3f5ed..773c52e337ee 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -637,7 +637,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 32bbb4fe61a1..f72d5e7781a7 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -501,7 +501,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 0de16d9b4fb8..23e3fd9957ca 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -561,7 +561,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 e6dc5b808a64..f2040421c735 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 7b34014d8ee8..3b6b5b106190 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1067,7 +1067,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 2e9780ad9149..84e65e3316e8 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 185e2fab9086..e440a60b6e38 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -498,7 +498,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 fbd5225bde6a..006aa95a24d9 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -1676,8 +1676,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 75ce7de43b2a..9e6d8050b8ba 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -687,7 +687,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 ee0bad4d45b1..06e077ceb441 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3791,7 +3791,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
@@ -5593,7 +5593,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() )
@@ -7796,7 +7796,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;
@@ -12282,7 +12282,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 db90affa61bb..7e97e845073f 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1237,7 +1237,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 22eaf94dc3aa..dcdd31dafd1b 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 e15f2df55be4..e7f866d4c475 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -2160,7 +2160,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( mpFontEntry->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 4c8a4050f862..6f33f58806f9 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 20950c6f23e6..c4ca45b33ae7 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 46ba15e5ef63..9d6ac777df9a 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 1982a7053132..9a45ee6d9d6a 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1374,7 +1374,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 fce0d799cf79..4cbf6fdcc514 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1630,7 +1630,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 9296a6fd3f5e..be82b331e502 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/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 22ac4319b39d..d212259bc6ac 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -743,7 +743,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/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index 6ed1f4257d18..affc752dd6e5 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/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/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index b99914f8a73d..7a9d4a623b94 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.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/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 776dee4522fc..81dc60705ba5 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1755,7 +1755,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/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index ea2abb20feb8..b3b7cb35f017 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -3344,7 +3344,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)