summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/printerjob.hxx2
-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
-rw-r--r--vcl/unx/generic/app/i18n_cb.cxx2
-rw-r--r--vcl/unx/generic/printer/printerinfomanager.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx2
-rw-r--r--vcl/unx/gtk/salprn-gtk.cxx2
-rw-r--r--vcl/unx/kde4/KDEXLib.cxx6
-rw-r--r--vcl/win/gdi/winlayout.cxx2
-rw-r--r--vcl/workben/fftester.cxx2
12 files changed, 15 insertions, 15 deletions
diff --git a/vcl/inc/unx/printerjob.hxx b/vcl/inc/unx/printerjob.hxx
index 111e7379ef6c..af9ee71632ca 100644
--- a/vcl/inc/unx/printerjob.hxx
+++ b/vcl/inc/unx/printerjob.hxx
@@ -98,7 +98,7 @@ public:
/* rFileName: if length is greater than 0 save resulting PostScript
* to named file.
* nMode: only meaningful when saving to file: if nonzero, try
- * to impose the mode on the resulting file's inode; for nonexistant
+ * to impose the mode on the resulting file's inode; for nonexistent
* files use open, for existent files try a chmod
* rJobName: text to appear in the %%Title comment
* rAppName: text to appear in the %%Creator comment
diff --git a/vcl/source/filter/sgvmain.hxx b/vcl/source/filter/sgvmain.hxx
index 9ff404016a5e..7b3140c969c0 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;
@@ -243,7 +243,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 b400a344b821..eb7864d47e31 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 f8f049910d85..10d0e9294c12 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -499,7 +499,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 2e4966fc9c52..3ab051d63670 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -12546,7 +12546,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
diff --git a/vcl/unx/generic/app/i18n_cb.cxx b/vcl/unx/generic/app/i18n_cb.cxx
index ee9ec8f0a49f..ee5662ee40a9 100644
--- a/vcl/unx/generic/app/i18n_cb.cxx
+++ b/vcl/unx/generic/app/i18n_cb.cxx
@@ -439,7 +439,7 @@ PreeditCaretCallback ( XIC, XPointer,XIMPreeditCaretCallbackStruct* )
case XIMLineStart: direction = "Line start"; break;
case XIMLineEnd: direction = "Line end"; break;
case XIMAbsolutePosition: direction = "Absolute"; break;
- case XIMDontChange: direction = "Dont change"; break;
+ case XIMDontChange: direction = "Don't change"; break;
}
fprintf (stderr, "PreeditCaretCallback( ic=%p, client=%p,\n",
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx
index eb89e143f044..152e1633eb39 100644
--- a/vcl/unx/generic/printer/printerinfomanager.cxx
+++ b/vcl/unx/generic/printer/printerinfomanager.cxx
@@ -555,7 +555,7 @@ void PrinterInfoManager::changePrinterInfo( const OUString& rPrinter, const Prin
{
std::unordered_map< OUString, Printer, OUStringHash >::iterator it = m_aPrinters.find( rPrinter );
- DBG_ASSERT( it != m_aPrinters.end(), "Do not change nonexistant printers" );
+ DBG_ASSERT( it != m_aPrinters.end(), "Do not change nonexistent printers" );
if( it != m_aPrinters.end() )
{
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 67a16c7d69d3..313af1e34116 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1059,7 +1059,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std
GtkWidget *SalGtkFilePicker::getWidget( sal_Int16 nControlId, GType *pType )
{
OSL_TRACE("control id is %d", nControlId);
- GType tType = GTK_TYPE_TOGGLE_BUTTON; //prevent waring by initializing
+ GType tType = GTK_TYPE_TOGGLE_BUTTON; //prevent warning by initializing
GtkWidget *pWidget = nullptr;
#define MAP_TOGGLE( elem ) \
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index 92dc95524d89..b5f2c1471709 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -750,7 +750,7 @@ GtkPrintDialog::impl_initPrintContent(uno::Sequence<sal_Bool> const& i_rDisabled
GtkPrintUnixDialog* const pDialog(GTK_PRINT_UNIX_DIALOG(m_pDialog));
// XXX: This is a hack that depends on the number and the ordering of
- // the controls in the rDisabled sequence (cf. the intialization of
+ // the controls in the rDisabled sequence (cf. the initialization of
// the "PrintContent" UI option in SwPrintUIOptions::SwPrintUIOptions,
// sw/source/core/view/printdata.cxx)
if (m_xWrapper->supportsPrintSelection() && !i_rDisabled[2])
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 3ae9745301a0..c3c2f56af179 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -206,7 +206,7 @@ void KDEXLib::Init()
// and $QT_NO_GLIB is not set). We mostly do not care which one it is, as QSocketNotifier's
// and QTimer's can handle it transparently, but it matters for the SolarMutex, which
// needs to be unlocked shortly before entering the main sleep (e.g. select()) and locked
-// immediatelly after. So we need to know which event loop implementation is used and
+// immediately after. So we need to know which event loop implementation is used and
// hook accordingly.
#if KDE_HAVE_GLIB
#include <glib.h>
@@ -367,7 +367,7 @@ void KDEXLib::timeoutActivated()
// doesn't check X11, so explicitly check XPending() here.
bool idle = QApplication::hasPendingEvents() && !blockIdleTimeout && !XPending( QX11Info::display());
X11SalData::Timeout( idle );
- // QTimer is not single shot, so will be restarted immediatelly
+ // QTimer is not single shot, so will be restarted immediately
}
void KDEXLib::Wakeup()
@@ -397,7 +397,7 @@ void KDEXLib::userEventActivated()
if( ! SalKDEDisplay::self()->HasUserEvents() )
userEventTimer.stop();
SalKDEDisplay::self()->DispatchInternalEvent();
- // QTimer is not single shot, so will be restarted immediatelly
+ // QTimer is not single shot, so will be restarted immediately
}
void KDEXLib::doStartup()
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index bc03845e3e7f..ecc6b68e77dc 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -347,7 +347,7 @@ bool WinFontInstance::AddChunkOfGlyphs(bool bRealGlyphIndices, int nGlyphIndex,
// 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-aliasing into consideration. Let's hope that leaving
- // "extra" space inbetween glyphs will help.
+ // "extra" space between glyphs will help.
std::vector<int> aDX(nCount);
int totWidth = 0;
for (int i = 0; i < nCount; i++)
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index c57407d661fd..13acc9aedf9e 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -26,7 +26,7 @@
On slower file formats like .doc you can probably drop the -t and rely on the
estimations, on faster file formats ironically not specifing a timeout will
- result in a hillarious dramatic falloff in performance from thousands per second
+ result in a hilarious dramatic falloff in performance from thousands per second
to teens per second as tiny variations from the initial calculated
timeout will trigger a shutdown of the fftester and a restart and the
startup time is woeful (hence the AFL_PERSISTENT mode in the first place)