From 13fcf6c083de3b4e48d4e4f08ad7f81a9db0a997 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 31 Mar 2018 19:26:38 +0200 Subject: Fix typo Change-Id: I8983e1ef73051febd796d737cba1a58558b80bbf Reviewed-on: https://gerrit.libreoffice.org/52209 Reviewed-by: Julien Nabet Reviewed-by: Adolfo Jayme Barrientos --- vcl/source/window/paint.cxx | 2 +- vcl/source/window/window.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index aaebe10c871d..0bd9caf964a3 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -333,7 +333,7 @@ void RenderTools::DrawSelectionBackground(vcl::RenderContext& rRenderContext, vc if (!bDark && !bBright && std::abs(c2 - c1) < (pPaintColor ? 40 : 75)) { - // constrast too low + // contrast too low sal_uInt16 h, s, b; aSelectionFillColor.RGBtoHSB( h, s, b ); if( b > 50 ) b -= 40; diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 2c2ba81da62a..f5548205b846 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3404,7 +3404,7 @@ void Window::DrawSelectionBackground( const tools::Rectangle& rRect, if( !bDark && !bBright && abs( c2-c1 ) < 75 ) { - // constrast too low + // contrast too low sal_uInt16 h,s,b; aSelectionFillCol.RGBtoHSB( h, s, b ); if( b > 50 ) b -= 40; -- cgit