summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-18 15:53:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-18 20:09:04 +0200
commita7e0e800c5d1d13db81963b5295b21fb2bfd3ad7 (patch)
treea0ef070be4acafeb530d5e698569125b35c88916 /vcl
parentd44a5250a4996bcfb2c66b8510f8a01a5888dd9f (diff)
Fix typos
Change-Id: I85a91d24943430b42217ac91611f182059d8ec69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100919 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/DragSource.cxx2
-rw-r--r--vcl/source/filter/igif/gifread.cxx2
-rw-r--r--vcl/source/outdev/text.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index bfe990d73c8f..bcb4cb43543a 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -306,7 +306,7 @@ unsigned int DragSource::getSupportedDragOperations(bool isLocal) const
{
// Support NSDragOperation generic which means we can
// decide which D&D operation to choose. We map
- // NSDragOperationGenric to DNDConstants::ACTION_DEFAULT
+ // NSDragOperationGeneric to DNDConstants::ACTION_DEFAULT
// in SystemToOfficeDragActions to signal this and
// use it in DropTarget::determineDropAction
srcActions |= NSDragOperationGeneric;
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index f2ad9bd1132c..ddbf7ae0aea6 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -496,7 +496,7 @@ bool GIFReader::ReadLocalHeader()
// if we could read everything, we will create the local image;
// if the global colour table is valid for the image, we will
- // consider the BackGroudColorIndex.
+ // consider the BackGroundColorIndex.
if( NO_PENDING( rIStm ) )
{
CreateBitmaps( nImageWidth, nImageHeight, pPal, bGlobalPalette && ( pPal == &aGPalette ) );
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index c4c24439a84d..6de59729d91e 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -530,7 +530,7 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
sal_Int32 nWordLen = nWordEnd - nWordStart;
if ( ( nWordEnd >= nSoftBreak ) && ( nWordLen > 3 ) )
{
- // #104415# May happen, because getLineBreak may differ from getWordBoudary with DICTIONARY_WORD
+ // #104415# May happen, because getLineBreak may differ from getWordBoundary with DICTIONARY_WORD
// SAL_WARN_IF( nWordEnd < nMaxBreakPos, "vcl", "Hyph: Break?" );
OUString aWord = rStr.copy( nWordStart, nWordLen );
sal_Int32 nMinTrail = nWordEnd-nSoftBreak+1; //+1: Before the "broken off" char