summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-01-02 15:51:30 +0100
committerEike Rathke <erack@redhat.com>2015-01-02 20:23:51 +0000
commit3a2b1af87d629a780f0e98559fb8b409378a80c7 (patch)
treeecf27171a38a2d6d4b05b4acd42e8e98b7f7d70a /vcl
parentd7794d2584cd5d476b011b5344c77ad59c179c58 (diff)
Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/parseAFM.hxx4
-rw-r--r--vcl/inc/unx/wmadaptor.hxx2
-rw-r--r--vcl/opengl/salbmp.cxx2
-rw-r--r--vcl/source/window/split.cxx2
-rw-r--r--vcl/win/source/gdi/gdiimpl.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/vcl/generic/fontmanager/parseAFM.hxx b/vcl/generic/fontmanager/parseAFM.hxx
index 3f9c7d619656..933e2fa7bfda 100644
--- a/vcl/generic/fontmanager/parseAFM.hxx
+++ b/vcl/generic/fontmanager/parseAFM.hxx
@@ -74,7 +74,7 @@
*
* There is a procedure in parseAFM.c, called parseFile, that can be
* called from any application wishing to get information from the AFM File.
- * This procedure expects 3 parameters: a vaild file descriptor, a pointer
+ * This procedure expects 3 parameters: a valid file descriptor, a pointer
* to a (FontInfo *) variable (for which space will be allocated and then
* will be filled in with the data requested), and a mask specifying
* which data from the AFM File should be saved in the FontInfo structure.
@@ -126,7 +126,7 @@ namespace psp {
* parser went on. This could include problems like the count for any given
* section does not add up to how many entries there actually were, or
* there was a key that was not recognized. The return record may contain
- * vaild data or it may not.
+ * valid data or it may not.
*
* earlyEOF means that an End of File was encountered before expected. This
* may mean that the AFM file had been truncated, or improperly formed.
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index d5fcb32cc558..091f4c196446 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -174,7 +174,7 @@ public:
virtual ~WMAdaptor();
/*
- * creates a vaild WMAdaptor instance for the SalDisplay
+ * creates a valid WMAdaptor instance for the SalDisplay
*/
static WMAdaptor* createWMAdaptor( SalDisplay* );
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 61d8358b22d2..bc94939c063b 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -494,7 +494,7 @@ BitmapBuffer* OpenGLSalBitmap::AcquireBuffer( BitmapAccessMode nMode )
if( !maPendingOps.empty() )
{
- SAL_INFO( "vcl.opengl", "** Creating texture and reading it back immediatly" );
+ SAL_INFO( "vcl.opengl", "** Creating texture and reading it back immediately" );
if( !CreateTexture() || !AllocateUserData() || !ReadTexture() )
return NULL;
}
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 60efeb917098..fe8a3f775fad 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -471,7 +471,7 @@ void Splitter::StartDrag()
// Tracking starten
StartTracking();
- // Start-Positon ermitteln
+ // Start-Position ermitteln
maDragPos = mpRefWin->GetPointerPosPixel();
ImplSplitMousePos( maDragPos );
Splitting( maDragPos );
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index 6c133e6ef678..9601643f9518 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -513,7 +513,7 @@ void WinSalGraphicsImpl::copyArea( long nDestX, long nDestY,
{
// hInvalidateRgn contains the fully visible parts of the original srcRect
hTempRgn = CreateRectRgnIndirect( &aSrcRect );
- // substract it from the original rect to get the occluded parts
+ // subtract it from the original rect to get the occluded parts
int nRgnType = CombineRgn( hInvalidateRgn, hTempRgn, hInvalidateRgn, RGN_DIFF );
DeleteRegion( hTempRgn );
@@ -942,7 +942,7 @@ SalBitmap* WinSalGraphicsImpl::getBitmap( long nX, long nY, long nDX, long nDY )
}
else
{
- // #124826# avoid resource leak ! happens when runing without desktop access (remote desktop, service, may be screensavers)
+ // #124826# avoid resource leak! Happens when running without desktop access (remote desktop, service, may be screensavers)
DeleteBitmap( hBmpBitmap );
}