summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-01 13:20:07 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-01 11:24:24 +0000
commit33d165a9f18c4bfcf5b878adf7057195cda4194f (patch)
tree2659ab993124affff6cc57eba3ac47e126c533d4 /vcl/quartz
parent28803c28bda0c4bc3d94acf023d8eb96990c8f14 (diff)
Fix typos
Change-Id: I8fd769ca61d1ec1a915a012c0c2244056dc5bcb8 Reviewed-on: https://gerrit.libreoffice.org/18992 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salbmp.cxx2
-rw-r--r--vcl/quartz/salgdicommon.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 6699e8038308..ea6b6f616fb3 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -615,7 +615,7 @@ void QuartzSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight,
if( !bConverted )
{
- // TODO: this implementation is for clarety, not for speed
+ // TODO: this implementation is for clarity, not for speed
ImplPixelFormat* pD = ImplPixelFormat::GetFormat( nDestBits, rDestPalette );
ImplPixelFormat* pS = ImplPixelFormat::GetFormat( nSrcBits, rSrcPalette );
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 6a6efb52097a..6135eff3bae7 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -400,7 +400,7 @@ void AquaSalGraphics::copyBits( const SalTwoRect& rPosAry, SalGraphics *pSrcGrap
if( (rPosAry.mnSrcWidth == rPosAry.mnDestWidth &&
rPosAry.mnSrcHeight == rPosAry.mnDestHeight) &&
(!mnBitmapDepth || (aDstPoint.x + pSrc->mnWidth) <= mnWidth)
- && pSrc->mxLayer ) // workaround a Quartz crasher
+ && pSrc->mxLayer ) // workaround for a Quartz crash
{
// in XOR mode the drawing context is redirected to the XOR mask
// if source and target are identical then copyBits() paints onto the target context though