summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source')
-rw-r--r--canvas/source/cairo/cairo_canvasfont.cxx2
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx2
-rw-r--r--canvas/source/cairo/cairo_quartz_cairo.cxx2
-rw-r--r--canvas/source/cairo/cairo_textlayout.cxx2
-rw-r--r--canvas/source/cairo/cairo_win32_cairo.cxx4
-rw-r--r--canvas/source/cairo/cairo_xlib_cairo.cxx2
-rw-r--r--canvas/source/directx/dx_vcltools.cxx2
-rw-r--r--canvas/source/tools/pagemanager.cxx2
-rw-r--r--canvas/source/tools/surface.hxx2
-rw-r--r--canvas/source/tools/surfaceproxy.hxx2
-rw-r--r--canvas/source/vcl/canvasfont.cxx2
11 files changed, 12 insertions, 12 deletions
diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index b452343aeae7..fd488c82e27f 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -60,7 +60,7 @@ namespace cairocanvas
maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false));
- // adjust to stretched/shrinked font
+ // adjust to stretched/shrunk font
if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) )
{
OutputDevice* pOutDev( mpRefDevice->getOutputDevice() );
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 0612c235c943..f8b851df6652 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -623,7 +623,7 @@ namespace cairocanvas
aColor = pBitmapReadAcc->GetColor( nY, nX );
// cairo need premultiplied color values
- // TODO(rodo) handle endianess
+ // TODO(rodo) handle endianness
#ifdef OSL_BIGENDIAN
if( pAlphaReadAcc )
nAlpha = data[ nOff++ ];
diff --git a/canvas/source/cairo/cairo_quartz_cairo.cxx b/canvas/source/cairo/cairo_quartz_cairo.cxx
index 9c3d5a065a07..07951eeba94c 100644
--- a/canvas/source/cairo/cairo_quartz_cairo.cxx
+++ b/canvas/source/cairo/cairo_quartz_cairo.cxx
@@ -317,7 +317,7 @@ namespace cairo
}
/**
- * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData
+ * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData
* @param OutputDevice (not used)
* @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param rSize width and height of the new surface
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index 48b0d522b0ef..33b687c2da35 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -305,7 +305,7 @@ namespace cairocanvas
/**
* TextLayout::isCairoRenderable
*
- * Features currenly not supported by Cairo (VCL rendering is used as fallback):
+ * Features currently not supported by Cairo (VCL rendering is used as fallback):
* - vertical glyphs
*
* @return true, if text/font can be rendered with cairo
diff --git a/canvas/source/cairo/cairo_win32_cairo.cxx b/canvas/source/cairo/cairo_win32_cairo.cxx
index 89b786cbfb28..a70add9500a2 100644
--- a/canvas/source/cairo/cairo_win32_cairo.cxx
+++ b/canvas/source/cairo/cairo_win32_cairo.cxx
@@ -77,7 +77,7 @@ namespace cairo
}
/**
- * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData
+ * Surface::Surface: Create platform native Canvas surface from BitmapSystemData
* @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
*
* Create a surface based on image data on pBmpData
@@ -247,7 +247,7 @@ namespace cairo
/**
- * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData
+ * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData
* @param OutputDevice (not used)
* @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param rSize width and height of the new surface
diff --git a/canvas/source/cairo/cairo_xlib_cairo.cxx b/canvas/source/cairo/cairo_xlib_cairo.cxx
index e5bb189e54f5..9b49c7e88cbc 100644
--- a/canvas/source/cairo/cairo_xlib_cairo.cxx
+++ b/canvas/source/cairo/cairo_xlib_cairo.cxx
@@ -171,7 +171,7 @@ namespace cairo
}
/**
- * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData
+ * Surface::Surface: Create platform native Canvas surface from BitmapSystemData
* @param pSysData Platform native system environment data (struct SystemEnvData in vcl/inc/sysdata.hxx)
* @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param width width of the new surface
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx
index 401c13fbab46..99432576fdd5 100644
--- a/canvas/source/directx/dx_vcltools.cxx
+++ b/canvas/source/directx/dx_vcltools.cxx
@@ -110,7 +110,7 @@ namespace dxcanvas
!aBmpSysData.pDIB )
{
// first of all, ensure that Bitmap contains a DIB, by
- // aquiring a read access
+ // acquiring a read access
BitmapReadAccess* pReadAcc = rBmp.AcquireReadAccess();
// TODO(P2): Acquiring a read access can actually
diff --git a/canvas/source/tools/pagemanager.cxx b/canvas/source/tools/pagemanager.cxx
index d6ae95fc61a9..aacf8a471e33 100644
--- a/canvas/source/tools/pagemanager.cxx
+++ b/canvas/source/tools/pagemanager.cxx
@@ -165,7 +165,7 @@ namespace canvas
PageContainer_t::iterator it(maPages.begin());
while(it != aEnd)
{
- // if the page at hand takes the fragment, we immediatelly
+ // if the page at hand takes the fragment, we immediately
// call select() to pull the information from the associated
// image to the hardware surface.
if((*it)->nakedFragment(pFragment))
diff --git a/canvas/source/tools/surface.hxx b/canvas/source/tools/surface.hxx
index 4b73eea6e252..2b61b5ae3742 100644
--- a/canvas/source/tools/surface.hxx
+++ b/canvas/source/tools/surface.hxx
@@ -39,7 +39,7 @@ namespace canvas
// Surface
- /** surfaces denote occupied areas withing pages.
+ /** surfaces denote occupied areas within pages.
pages encapsulate the hardware buffers that
contain image data which can be used for texturing.
diff --git a/canvas/source/tools/surfaceproxy.hxx b/canvas/source/tools/surfaceproxy.hxx
index 4ec88e89903d..4b5862bf0967 100644
--- a/canvas/source/tools/surfaceproxy.hxx
+++ b/canvas/source/tools/surfaceproxy.hxx
@@ -37,7 +37,7 @@ namespace canvas
Surface proxies are the connection between *one* source image
and *one or more* hardware surfaces (or textures). in a
- logical structure surface proxies represent soley this
+ logical structure surface proxies represent solely this
dependeny plus some simple cache management.
*/
class SurfaceProxy : public ISurfaceProxy
diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx
index ec4f670afbc0..98fe92d2a3fb 100644
--- a/canvas/source/vcl/canvasfont.cxx
+++ b/canvas/source/vcl/canvasfont.cxx
@@ -62,7 +62,7 @@ namespace vclcanvas
maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false));
- // adjust to stretched/shrinked font
+ // adjust to stretched/shrunk font
if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) )
{
OutputDevice& rOutDev( rOutDevProvider->getOutDev() );