summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:57 -0400
commit32da3e000cec3a2045f1a33b7549d64c673a67da (patch)
tree3da3fbce823604bfb9ef2b772764385071aa7f19 /vcl/source
parent4e779bffa2ae86ba2bf7d537b0f9b2c1c0e59b64 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 534b2a4b58ba765dbc256d6297e33453524915e2)
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/sgvmain.hxx4
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx2
-rw-r--r--vcl/source/gdi/gdimtf.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/filter/sgvmain.hxx b/vcl/source/filter/sgvmain.hxx
index cb5e1b3dc7a9..08450f1be117 100644
--- a/vcl/source/filter/sgvmain.hxx
+++ b/vcl/source/filter/sgvmain.hxx
@@ -137,7 +137,7 @@ public:
};
#define ObjkSize 20 /* should be 21. due to alignment we shifted the flag */
-class ObjkType { // basic componenents of all Stardraw objects
+class ObjkType { // basic components of all Stardraw objects
public:
sal_uInt32 Last;
sal_uInt32 Next;
@@ -242,7 +242,7 @@ public:
class TextType: public ObjkType {
public:
sal_uInt8 Flags; // (cheat due to alignment in NT)
- sal_uInt8 Reserve; // for Word Allign
+ sal_uInt8 Reserve; // for Word Align
ObjTextType T; // 64 bytes << DWord-Allign needed for FontID
PointType Pos1; // reference point (upper left)
PointType Pos2; // (lower right)
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index f583729c0b11..c5978b02fb0f 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -291,7 +291,7 @@ bool EMFWriter::WriteEMF(const GDIMetaFile& rMtf)
maVDev->EnableOutput( false );
maVDev->SetMapMode( rMtf.GetPrefMapMode() );
- // don't work with pixel as destination map mode -> higher resolution preferrable
+ // don't work with pixel as destination map mode -> higher resolution preferable
maDestMapMode.SetMapUnit( MAP_100TH_MM );
mpHandlesUsed = new bool[ MAXHANDLES ];
memset( mpHandlesUsed, 0, MAXHANDLES * sizeof( bool ) );
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 006aa95a24d9..a770a959e6b3 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -498,7 +498,7 @@ void GDIMetaFile::ImplDelegate2PluggableRenderer( const MetaCommentAction* pAct,
if(xGraphic.is() && xRenderer.is() && xInit.is())
{
- // delay intialization of XGraphic, to only expose
+ // delay initialization of XGraphic, to only expose
// XGraphic-generating services to arbitrary binary data
uno::Sequence< sal_Int8 > aSeq(
reinterpret_cast<sal_Int8 const *>(pData), pEndData-pData );
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 39cd9a301e4e..d9813cd7fee1 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -12576,7 +12576,7 @@ sal_Int32 PDFWriterImpl::beginStructureElement( PDFWriter::StructElement eType,
// check whether to emit structure henceforth
m_bEmitStructure = checkEmitStructure();
- if( m_bEmitStructure ) // don't create nonexistant objects
+ if( m_bEmitStructure ) // don't create nonexistent objects
{
rEle.m_nObject = createObject();
// update parent's kids list