summaryrefslogtreecommitdiff
path: root/vcl/source/filter
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/source/filter
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/source/filter')
-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
3 files changed, 6 insertions, 6 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