From d90e9c19ffef5a645f5ad3080c25cb4eb98674c0 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 18 Jan 2021 17:01:20 +0100 Subject: Fix typos Change-Id: I8bab3efcd63c0f950bc3176e0d26cc896d601083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109559 Tested-by: Jenkins Reviewed-by: Dante DM Reviewed-by: Julien Nabet --- vcl/ios/salios.cxx | 2 +- vcl/osx/salinst.cxx | 2 +- vcl/osx/salmacos.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl') 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 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); -- cgit