summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:13:35 +0200
committerJoren De Cuyper <jorendc@libreoffice.org>2015-09-29 22:16:00 +0000
commit3406ae78a5bcd02551ce518ca1affba021dbab04 (patch)
tree4dc22c8f4b2bc78a46d63f1100ccd92a83e2ab85 /vcl
parent79797f8e594650ca422a4236d033205f654c035c (diff)
Fix typos
Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6 Reviewed-on: https://gerrit.libreoffice.org/18995 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/a11y/atktextattributes.cxx2
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx4
-rw-r--r--vcl/unx/kde/UnxFilePicker.cxx2
-rw-r--r--vcl/win/source/gdi/gdiimpl.cxx2
-rw-r--r--vcl/win/source/gdi/salprn.cxx2
-rw-r--r--vcl/win/source/gdi/winlayout.cxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index 734200568eae..cff769c25941 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -565,7 +565,7 @@ CMM2UnitString(const uno::Any& rAny)
static bool
UnitString2CMM( uno::Any& rAny, const gchar * value )
{
- float fValue = 0.0; // pb: dont use double here because of warning on linux
+ float fValue = 0.0; // pb: don't use double here because of warning on linux
if( 1 != sscanf( value, "%gmm", &fValue ) )
return false;
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 1a406c33a877..d6f71589de51 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -579,7 +579,7 @@ void GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents )
blockIdleTimeout = !bWait;
/* #i33212# only enter g_main_context_iteration in one thread at any one
* time, else one of them potentially will never end as long as there is
- * another thread in there. Having only one yieldin thread actually dispatch
+ * another thread in there. Having only one yielding thread actually dispatch
* fits the vcl event model (see e.g. the generic plugin).
*/
bool bDispatchThread = false;
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 4efce45d6f49..ac9f8d171d50 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -925,7 +925,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std
uno::Reference < awt::XTopWindowListener > xLifeCycle(pRunDialog);
while( GTK_RESPONSE_NO == btn )
{
- btn = GTK_RESPONSE_YES; // we dont want to repeat unless user clicks NO for file save.
+ btn = GTK_RESPONSE_YES; // we don't want to repeat unless user clicks NO for file save.
gint nStatus = pRunDialog->run();
switch( nStatus )
@@ -1794,7 +1794,7 @@ case_insensitive_filter (const GtkFileFilterInfo *filter_info, gpointer data)
if( !g_ascii_strcasecmp( pFilter, pExtn ) )
bRetval = true;
- SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yeilds " << bRetval );
+ SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yields " << bRetval );
return bRetval;
}
diff --git a/vcl/unx/kde/UnxFilePicker.cxx b/vcl/unx/kde/UnxFilePicker.cxx
index a3bf19c1967c..60b1b46ae1a7 100644
--- a/vcl/unx/kde/UnxFilePicker.cxx
+++ b/vcl/unx/kde/UnxFilePicker.cxx
@@ -860,7 +860,7 @@ void UnxFilePicker::checkFilePicker() throw( ::com::sun::star::uno::RuntimeExcep
{
if ( m_nFilePickerPid > 0 )
{
- // TODO check if external file picker is runnning
+ // TODO check if external file picker is running
}
else
{
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index ec55573ac0a6..07d8f4e2d41f 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -1606,7 +1606,7 @@ void WinSalGraphicsImpl::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAr
POINT* pWinPtAry = (POINT*)pPtAry;
- // we assume there are at least 2 points (Polyline requres at least 2 point, see MSDN)
+ // we assume there are at least 2 points (Polyline requires at least 2 point, see MSDN)
// we must paint the endpoint for last line
BOOL bPaintEnd = TRUE;
if ( pWinPtAry[nPoints-2].x == pWinPtAry[nPoints-1].x )
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
index 7179e8cbefcc..cf6a4c6bcac1 100644
--- a/vcl/win/source/gdi/salprn.cxx
+++ b/vcl/win/source/gdi/salprn.cxx
@@ -1498,7 +1498,7 @@ bool WinSalPrinter::StartJob( const OUString* pFileName,
mnError = 0;
mbAbort = FALSE;
- // As the Telocom Balloon Fax driver tends to send messages repeatedly
+ // As the Telecom Balloon Fax driver tends to send messages repeatedly
// we try to process first all, and then insert a dummy message
bool bWhile = TRUE;
int i = 0;
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index ac9ec6f68c09..66c9dd68b7e2 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -310,7 +310,7 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
// Try hard to avoid overlap as we want to be able to use
// individual rectangles for each glyph. The ABC widths don't
- // take anti-alising into consideration. Let's hope that leaving
+ // take anti-aliasing into consideration. Let's hope that leaving
// "extra" space inbetween glyphs will help.
std::vector<int> aDX(nCount);
int totWidth = 0;