summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/ios/salios.cxx2
-rw-r--r--vcl/osx/salinst.cxx2
-rw-r--r--vcl/osx/salmacos.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/ios/salios.cxx b/vcl/ios/salios.cxx
index 59474c7443eb..fc925b61cdf3 100644
--- a/vcl/ios/salios.cxx
+++ b/vcl/ios/salios.cxx
@@ -18,7 +18,7 @@
*/
// This file contains the iOS-specific versions of the functions which were touched in the commit to
-// fix tdf#138122. The funtions are here (for now) as they were before that commit. The
+// fix tdf#138122. The functions are here (for now) as they were before that commit. The
// macOS-specific versions of these functions are in vcl/osx/salmacos.cxx.
#include <sal/config.h>
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);