summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/salgdi.hxx2
-rw-r--r--vcl/inc/vcl/lazydelete.hxx4
-rw-r--r--vcl/inc/vcl/print.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index 13e764c532bd..9936c8651f05 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -243,7 +243,7 @@ public:
virtual bool AddTempDevFont( ImplDevFontList*, const rtl::OUString& rFileURL, const rtl::OUString& rFontName ) = 0;
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns sal_True if creation of subset was successfull
+ // returns sal_True if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/inc/vcl/lazydelete.hxx b/vcl/inc/vcl/lazydelete.hxx
index 9f616c047a7e..ee818eef8df8 100644
--- a/vcl/inc/vcl/lazydelete.hxx
+++ b/vcl/inc/vcl/lazydelete.hxx
@@ -247,11 +247,11 @@ namespace vcl
T* get() { return m_pT; }
// set contents, returning old contents
- // ownership is transfered !
+ // ownership is transferred !
T* set( T* i_pNew ) { T* pOld = m_pT; m_pT = i_pNew; return pOld; }
// set contents, deleting old contents
- // ownership is transfered !
+ // ownership is transferred !
void reset( T* i_pNew = NULL )
{ OSL_ASSERT( i_pNew != m_pT || i_pNew == NULL ); T* pOld = m_pT; m_pT = i_pNew; delete pOld; }
};
diff --git a/vcl/inc/vcl/print.hxx b/vcl/inc/vcl/print.hxx
index 509e1c6406c0..e0a87e9af088 100644
--- a/vcl/inc/vcl/print.hxx
+++ b/vcl/inc/vcl/print.hxx
@@ -203,7 +203,7 @@ public:
// read printer options from configuration, parameter decides whether the set for
// print "to printer" or "to file" should be read.
- // returns true if config was read, false if an error occured
+ // returns true if config was read, false if an error occurred
bool ReadFromConfig( bool bFile );
};