diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-02-02 19:47:20 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:57 -0400 |
commit | 32da3e000cec3a2045f1a33b7549d64c673a67da (patch) | |
tree | 3da3fbce823604bfb9ef2b772764385071aa7f19 /vcl | |
parent | 4e779bffa2ae86ba2bf7d537b0f9b2c1c0e59b64 (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')
-rw-r--r-- | vcl/inc/generic/printerjob.hxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/sgvmain.hxx | 4 | ||||
-rw-r--r-- | vcl/source/filter/wmf/emfwr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/i18n_cb.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/printerinfomanager.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/salprn-gtk.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/kde4/KDEXLib.cxx | 6 | ||||
-rw-r--r-- | vcl/workben/fftester.cxx | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/vcl/inc/generic/printerjob.hxx b/vcl/inc/generic/printerjob.hxx index c3738a5c3bef..cc608d7b9428 100644 --- a/vcl/inc/generic/printerjob.hxx +++ b/vcl/inc/generic/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 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 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 3bb9475e32be..ff261a2ef5ad 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 7221d92fe002..65d08431c2cf 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx @@ -1062,7 +1062,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 b0732720ab8f..b7da4f14ebda 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 8060fb5028c0..0d4e42706ea9 100644 --- a/vcl/unx/kde4/KDEXLib.cxx +++ b/vcl/unx/kde4/KDEXLib.cxx @@ -208,7 +208,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> @@ -369,7 +369,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() @@ -399,7 +399,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/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) |