summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:13:11 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:39:43 +0000
commit4314fb6418299f28139132d1044f890712c57e8f (patch)
treece7b8f439bb02732f19ee556871f79bc4fb55355 /vcl
parente01ef3e51e931683326aa47022a84c667036524a (diff)
Fix typos
Change-Id: I33385f1395f428c14bf86eff9891b288ddc590de Reviewed-on: https://gerrit.libreoffice.org/18993 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/sgvtext.cxx6
-rw-r--r--vcl/source/filter/wmf/winwmf.cxx4
-rw-r--r--vcl/source/filter/wmf/wmfwr.hxx2
-rw-r--r--vcl/source/gdi/bitmap.cxx2
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
-rw-r--r--vcl/source/gdi/gdimetafiletools.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx6
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/gdi/regband.cxx2
-rw-r--r--vcl/source/gdi/region.cxx2
-rw-r--r--vcl/source/gdi/regionband.cxx2
-rw-r--r--vcl/source/outdev/bitmap.cxx2
-rw-r--r--vcl/source/outdev/font.cxx2
-rw-r--r--vcl/source/outdev/gradient.cxx2
-rw-r--r--vcl/source/outdev/transparent.cxx2
15 files changed, 20 insertions, 20 deletions
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index 62e877bd4d5d..e05ffb365671 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -63,7 +63,7 @@ extern SgfFontLst* pSgfFonts;
#define EscLFeed 'L' /* character spacing 1..32767% of max. text angle of the line*/
// or 1..32767 for 1..16383<<Pt absolute (if bit 15=1)
#define EscSlant 'S' /* italic (angle) 1..8999 for 0.01deg..89.99deg */
-#define EscVPos 'V' /* character vercial position 1..255 for <<Pt..127<<Pt */
+#define EscVPos 'V' /* character vertical position 1..255 for <<Pt..127<<Pt */
#define EscZAbst 'Z' /* character spacing -128..127% */
#define EscHJust 'A' /* H-justify paragraph: left, cent, right, block, aligned, fixed (0..5)*/
@@ -196,8 +196,8 @@ sal_uInt16 GetTopToBaseLine(sal_uInt16 MaxGrad)
// Index is incremented accordingly.
// Parameter Rest should always contain the number of characters,
// the number of remaining characters in that line.
-// Otherwise the hyphenation does not work. If the constand NoTrenn
-// is used instaed, no hyphenation is done. To the contrary then
+// Otherwise the hyphenation does not work. If the constant NoTrenn
+// is used instead, no hyphenation is done. To the contrary then
// constant DoTrenn triggers hyphenation where a soft-break is present.
//
// Soft separators are converted to a minus sign.
diff --git a/vcl/source/filter/wmf/winwmf.cxx b/vcl/source/filter/wmf/winwmf.cxx
index 463e8a808925..e3d59a3011a3 100644
--- a/vcl/source/filter/wmf/winwmf.cxx
+++ b/vcl/source/filter/wmf/winwmf.cxx
@@ -627,7 +627,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
// 10-11 : used width of source bitmap
// 12-13 : destination position y (in pixel)
// 14-15 : destination position x (in pixel)
- // 16-17 : dont know
+ // 16-17 : don't know
// 18-19 : Width Bitmap in Pixel
// 20-21 : Height Bitmap in Pixel
// 22-23 : bytes per scanline
@@ -1293,7 +1293,7 @@ bool WMFReader::ReadHeader()
pWMF->SeekRel( 2 ); // Version (of Windows)
pWMF->SeekRel( 4 ); // Size (of file in words)
pWMF->SeekRel( 2 ); // NoObjects (maximum number of simultaneous objects)
- pWMF->SeekRel( 4 ); // MaxRecord (size of largets record in words)
+ pWMF->SeekRel( 4 ); // MaxRecord (size of largest record in words)
pWMF->SeekRel( 2 ); // NoParameters (Unused
return pWMF->good();
diff --git a/vcl/source/filter/wmf/wmfwr.hxx b/vcl/source/filter/wmf/wmfwr.hxx
index d26cac01ecc7..dd842400a174 100644
--- a/vcl/source/filter/wmf/wmfwr.hxx
+++ b/vcl/source/filter/wmf/wmfwr.hxx
@@ -107,7 +107,7 @@ private:
sal_uLong nWrittenBitmaps; // number of bitmaps written
sal_uLong nActBitmapPercent; // percentage of next bitmap written.
- bool bEmbedEMF; // optionally embedd EMF data into WMF
+ bool bEmbedEMF; // optionally embed EMF data into WMF
void MayCallback();
// this function calculates percentage using the above 5 parameters
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 23b752b4b21b..e8bf0dd23595 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -1478,7 +1478,7 @@ bool Bitmap::Replace( const Bitmap& rMask, const Color& rReplaceColor )
for( sal_uInt16 i = 0UL; i < nMaxColors; i++ )
{
- // Hurray, we do have an unsused entry
+ // Hurray, we do have an unused entry
if( !pFlags[ i ] )
{
pAcc->SetPaletteColor( (sal_uInt16) i, rReplaceColor );
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 9afad3f230ae..e0da9aa91241 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -1566,7 +1566,7 @@ namespace
// #i121233# Added BmpScaleFlag::Lanczos, BmpScaleFlag::BiCubic, BmpScaleFlag::BiLinear and
// BmpScaleFlag::Box derived from the original commit from Tomas Vajngerl (see
-// bugzilla task for deitails) Thanks!
+// bugzilla task for details) Thanks!
bool Bitmap::ImplScaleConvolution(
const double& rScaleX,
const double& rScaleY,
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index 745c9d6146f1..b8adfdf18109 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -959,7 +959,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource)
break;
}
- // need to handle gradient fills (hopefully only unroated ones)
+ // need to handle gradient fills (hopefully only unrotated ones)
case MetaActionType::GRADIENT :
{
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d449d1a7d9a2..0911269ad135 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -637,7 +637,7 @@ static void appendLiteralString( const sal_Char* pStr, sal_Int32 nLength, OStrin
* even though they expose the content of PDF file (e.g. guessing the PDF content from the
* destination name).
*
- * Fhurter limitation: it is advisable to use standard ASCII characters for
+ * Further limitation: it is advisable to use standard ASCII characters for
* OOo bookmarks.
*/
static void appendDestinationName( const OUString& rString, OStringBuffer& rBuffer )
@@ -6119,7 +6119,7 @@ typedef struct {
} TimeStampReq;
// (Partial) ASN.1 for the time stamp response. Very complicated. Pulled
-// together from varuous RFCs.
+// together from various RFCs.
/*
Accuracy ::= SEQUENCE {
@@ -8776,7 +8776,7 @@ void PDFWriterImpl::drawHorizontalGlyphs(
aCurPos += rAlignOffset;
// the first run can be set with "Td" operator
// subsequent use of that operator would move
- // the texline matrix relative to what was set before
+ // the textline matrix relative to what was set before
// making use of that would drive us into rounding issues
Matrix3 aMat;
if( nRun == 0 && fAngle == 0.0 && fXScale == 1.0 && fSkew == 0.0 )
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index ab680127e251..c9fff67ed734 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -601,7 +601,7 @@ bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::Printer
if( GetCapabilities( PrinterCapType::UsePullModel ) )
{
mbJobActive = true;
- // sallayer does all necessary page printing
+ // SAL layer does all necessary page printing
// and also handles showing a dialog
// that also means it must call jobStarted when the dialog is finished
// it also must set the JobState of the Controller
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 87261cfc312c..ecf55c860fb4 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -604,7 +604,7 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight )
// 111100000001111
// Clearly, the leading band sep now goes from 0 to 3, and the
- // trailing band sep from 11 to 14. This mimicks the xor look of a
+ // trailing band sep from 11 to 14. This mimics the xor look of a
// bitmap operation.
// band empty? -> add element
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 0991ac46b34b..4dc3c04db943 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -236,7 +236,7 @@ RegionBand* ImplCreateRegionBandFromPolyPolygon(const tools::PolyPolygon& rPolyP
if(rPolyPolygon.Count())
{
- // ensure to subdivide when bezier segemnts are used, it's going to
+ // ensure to subdivide when bezier segments are used, it's going to
// be expanded to rectangles
tools::PolyPolygon aPolyPolygon;
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx
index 24740920f2ff..32cf3269d56b 100644
--- a/vcl/source/gdi/regionband.cxx
+++ b/vcl/source/gdi/regionband.cxx
@@ -192,7 +192,7 @@ enum StreamEntryType { STREAMENTRY_BANDHEADER, STREAMENTRY_SEPARATION, STREAMENT
void RegionBand::load(SvStream& rIStrm)
{
- // clear this nstance's data
+ // clear this instance data
implReset();
// get all bands
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index aebc7df28ea7..eb342c6529b2 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -1231,7 +1231,7 @@ void OutputDevice::DrawTransformedBitmapEx(
basegfx::B2DRange aVisibleRange(0.0, 0.0, 1.0, 1.0);
// limit maximum area to something looking good for non-pixel-based targets (metafile, printer)
- // by using a fixed minimum (allow at least, but no need to utilize) for good smooting and an area
+ // by using a fixed minimum (allow at least, but no need to utilize) for good smoothing and an area
// dependent of original size for good quality when e.g. rotated/sheared. Still, limit to a maximum
// to avoid crashes/ressource problems (ca. 1500x3000 here)
const Size& rOriginalSizePixel(rBitmapEx.GetSizePixel());
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index a7f8ab9ed9f0..dcd2af30be0d 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1856,7 +1856,7 @@ void ImplFontMetricData::ImplInitTextLineSize( const OutputDevice* pDev )
else
mnWUnderlineSize = ((nWCalcSize*50)+50) / 100;
- // #109280# the following line assures that wavelnes are never placed below the descent, however
+ // #109280# the following line assures that wavelines are never placed below the descent, however
// for most fonts the waveline then is drawn into the text, so we better keep the old solution
// pFontEntry->maMetric.mnWUnderlineOffset = pFontEntry->maMetric.mnDescent + 1 - pFontEntry->maMetric.mnWUnderlineSize;
mnWUnderlineOffset = nUnderlineOffset;
diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx
index 5222c1e60dca..847cce31089d 100644
--- a/vcl/source/outdev/gradient.cxx
+++ b/vcl/source/outdev/gradient.cxx
@@ -562,7 +562,7 @@ void OutputDevice::DrawComplexGradient( const Rectangle& rRect,
nGreen = GetGradientColorValue( nStartGreen + ( ( nGreenSteps * nStepIndex ) / nSteps ) );
nBlue = GetGradientColorValue( nStartBlue + ( ( nBlueSteps * nStepIndex ) / nSteps ) );
- // either slow tools::PolyPolygon output or fast Polygon-Paiting
+ // either slow tools::PolyPolygon output or fast Polygon-Painting
if( xPolyPoly )
{
bPaintLastPolygon = true; // #107349# Paint last polygon only if loop has generated any output
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index 5e4da2f462e0..38df3311f885 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -698,7 +698,7 @@ void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
// For MetaFile replay (see task) it may now be necessary to take
// into account that the content is AntiAlialiased and needs to be masked
// like that. Instead of masking, i will use a copy-modify-paste cycle
- // here (as i already use in the VclPrimiziveRenderer with successs)
+ // here (as i already use in the VclPrimiziveRenderer with success)
xVDev->SetAntialiasing(GetAntialiasing());
// create MapMode for buffer (offset needed) and set