summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-08 08:30:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-09 10:51:20 +0200
commit717ffb7a479b48e8122c34b33685cd855c5ba219 (patch)
treeb49e1047f3fa788d9c429d831a0d207a2784407f /vcl
parent7f8dbdc18cec9ddb45e0ecd543b35b738e0ad13c (diff)
Fix typos
Change-Id: I545154bddfd29194630d744b4aa4f5c385321531 Reviewed-on: https://gerrit.libreoffice.org/77138 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/shaders/lineVertexShader.glsl2
-rw-r--r--vcl/osx/DropTarget.cxx2
-rw-r--r--vcl/osx/salprn.cxx2
-rw-r--r--vcl/qa/cppunit/BackendTest.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx4
-rw-r--r--vcl/unx/gtk/gtkdata.cxx2
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx2
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx4
8 files changed, 10 insertions, 10 deletions
diff --git a/vcl/opengl/shaders/lineVertexShader.glsl b/vcl/opengl/shaders/lineVertexShader.glsl
index 63811cc69bd5..e26be78d0f12 100644
--- a/vcl/opengl/shaders/lineVertexShader.glsl
+++ b/vcl/opengl/shaders/lineVertexShader.glsl
@@ -28,7 +28,7 @@ void main()
float rendered_thickness = (line_width + feather * 2.0) * miter_factor;
- // lengthen the vertex in directon of the extrusion vector by line width.
+ // lengthen the vertex in direction of the extrusion vector by line width.
vec4 position = vec4(position + (extrusion_vector * (rendered_thickness / 2.0) ), 0.0, 1.0);
gl_Position = mvp * position;
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 3c6ea81f386c..9f59043eeb66 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -193,7 +193,7 @@ NSDragOperation DropTarget::draggingEntered(id sender)
// a modifier key will be pressed
mDragSourceSupportedActions = SystemToOfficeDragActions([sender draggingSourceOperationMask]);
- // Only if the drop target is really interessted in the drag actions
+ // Only if the drop target is really interested in the drag actions
// supported by the source
if (mDragSourceSupportedActions & mDefaultActions)
{
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index 27c6735d5c7b..c0c71de2b4b6 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -513,7 +513,7 @@ bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName,
// inform application that it can release its data
// this is awkward, but the XRenderable interface has no method for this,
- // so we need to call XRenderadble::render one last time with IsLastPage = true
+ // so we need to call XRenderable::render one last time with IsLastPage = true
i_rController.setLastPage( true );
GDIMetaFile aPageFile;
if( mrContext )
diff --git a/vcl/qa/cppunit/BackendTest.cxx b/vcl/qa/cppunit/BackendTest.cxx
index 485633e1a91c..741a3dfbd14d 100644
--- a/vcl/qa/cppunit/BackendTest.cxx
+++ b/vcl/qa/cppunit/BackendTest.cxx
@@ -40,7 +40,7 @@ public:
}
// We need to enable tests ONE BY ONE as they fail because of backend bugs
- // it is still improtant to have the test defined so we know the issues
+ // it is still important to have the test defined so we know the issues
// exist and we need to fix them. Consistent behaviour of our backends
// is of highest priority.
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index 569e31a8f174..130ac6709d29 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -158,7 +158,7 @@ namespace x11 {
// INCR protocol is used if the data cannot
// be transported at once but in parts
// IncrementalTransfer holds the bytes to be transmitted
- // as well a the current position
+ // as well as the current position
// INCR triggers the delivery of the next part by deleting the
// property used to transfer the data
struct IncrementalTransfer
@@ -200,7 +200,7 @@ namespace x11 {
bool m_bOwner;
::Window m_aLastOwner;
PixmapHolder* m_pPixmap;
- // m_nOrigTimestamp contains the Timestamp at which the seclection
+ // m_nOrigTimestamp contains the Timestamp at which the selection
// was acquired; needed for TimeSTAMP target
Time m_nOrigTimestamp;
diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index 48f3eeaf2e60..ca7a567f7402 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -496,7 +496,7 @@ bool GtkSalData::Yield( bool bWait, bool bHandleAllCurrentEvents )
{
/* #i41693# in case the dispatch thread hangs in join
* for this thread the condition will never be set
- * workaround: timeout of 1 second a emergency exit
+ * workaround: timeout of 1 second an emergency exit
*/
// we are the dispatch thread
m_aDispatchCondition.reset();
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 1ee50abaebe7..2601d7d675fb 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3318,7 +3318,7 @@ void GtkSalFrame::IMHandler::signalIMCommit( GtkIMContext* pContext, gchar* pTex
pThis->m_aInputFlags.clear();
- /* necessary HACK: all keyboard input comes in here as soon as a IMContext is set
+ /* necessary HACK: all keyboard input comes in here as soon as an IMContext is set
* which is logical and consequent. But since even simple input like
* <space> comes through the commit signal instead of signalKey
* and all kinds of windows only implement KeyInput (e.g. PushButtons,
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 57ba84a75b8d..e9d1c66478ef 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2197,7 +2197,7 @@ public:
virtual VclPtr<VirtualDevice> create_virtual_device() const override
{
- // create with no seperate alpha layer like everything sane does
+ // create with no separate alpha layer like everything sane does
auto xRet = VclPtr<VirtualDevice>::Create();
xRet->SetBackground(COL_TRANSPARENT);
return xRet;
@@ -8515,7 +8515,7 @@ private:
SvNumFormatType::NUMBER == m_pFormatter->GetType(nTempFormat))
// the string is equivalent to a number formatted one (has no % sign) -> append it
sText += "%";
- // (with this, a input of '3' becomes '3%', which then by the formatter is translated
+ // (with this, an input of '3' becomes '3%', which then by the formatter is translated
// into 0.03. Without this, the formatter would give us the double 3 for an input '3',
// which equals 300 percent.
}