summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-03-31 19:26:38 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-04-01 08:45:54 -0500
commit13fcf6c083de3b4e48d4e4f08ad7f81a9db0a997 (patch)
tree6de3ea7224ab67c008edfae13ac051625f32b1fb /vcl
parentc42db71056c381e84622d7a5347b437d8dab22f1 (diff)
Fix typo
Change-Id: I8983e1ef73051febd796d737cba1a58558b80bbf Reviewed-on: https://gerrit.libreoffice.org/52209 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/paint.cxx2
-rw-r--r--vcl/source/window/window.cxx2
2 files changed, 2 insertions, 2 deletions
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;