summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-01-18 17:01:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-01-20 13:39:33 +0100
commitd90e9c19ffef5a645f5ad3080c25cb4eb98674c0 (patch)
tree502f16794c7e210f088e8b46a532b00922f7d8d3 /vcl/osx
parentfdc10ceabccba463c0aca9dfba8c10d22f197025 (diff)
Fix typos
Change-Id: I8bab3efcd63c0f950bc3176e0d26cc896d601083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109559 Tested-by: Jenkins Reviewed-by: Dante DM <dante19031999@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salinst.cxx2
-rw-r--r--vcl/osx/salmacos.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 1ab962284918..f44bf282a9cd 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -304,7 +304,7 @@ VCLPLUG_OSX_PUBLIC SalInstance* create_SalInstance()
// Dark mode is disabled as long as it is not implemented completely. For development purposes, it may be controlled by
// environment variables: VCL_MACOS_FORCE_DARK_MODE enable dark mode independent of system settings,
- // VCL_MACOS_USE_SYSTEM_APPEARANCE to use system settings (light mode oder dark mode as configured within system preferences).
+ // VCL_MACOS_USE_SYSTEM_APPEARANCE to use system settings (light mode or the dark mode as configured within system preferences).
// TODO: After implementation of dark mode, this code has to be removed.
diff --git a/vcl/osx/salmacos.cxx b/vcl/osx/salmacos.cxx
index bc91c2885339..0f41dd9e8c4a 100644
--- a/vcl/osx/salmacos.cxx
+++ b/vcl/osx/salmacos.cxx
@@ -193,7 +193,7 @@ void AquaSalGraphics::copyScaledArea(tools::Long nDstX, tools::Long nDstY,tools:
CGContextSetBlendMode(xSourceContext, kCGBlendModeCopy);
CGContextDrawLayerAtPoint(xSourceContext, aSrcPoint, pSrc->maLayer.get());
- // Copy source area from additional layer to traget area
+ // Copy source area from additional layer to target area
const CGRect aTargetRect = CGRectMake(nScaledTargetX, nScaledTargetY, nScaledSourceWidth, nScaledSourceHeight);
CGContextSetBlendMode(xCopyContext, kCGBlendModeCopy);