From f6fa75a9b4cfa5ce46b3ba375750758b2015cd43 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 7 Aug 2018 19:23:48 +0200 Subject: Fix typos Change-Id: I65836b437bbc27d4f6a5862fe436397d858564a2 Reviewed-on: https://gerrit.libreoffice.org/58701 Tested-by: Jenkins Reviewed-by: Jens Carl --- sd/source/ui/view/sdwindow.cxx | 4 ++-- vcl/unx/kde4/KDESalGraphics.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index 4656dfc7f96f..5b3240157bfc 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -423,7 +423,7 @@ long Window::GetZoomForRect( const ::tools::Rectangle& rZoomRect ) // Calculate the new origin. if ( nFact == 0 ) { - // Don't change anything if the scale factor is degenrate. + // Don't change anything if the scale factor is degenerate. nRetZoom = GetZoom(); } else @@ -496,7 +496,7 @@ long Window::SetZoomRect (const ::tools::Rectangle& rZoomRect) // Calculate the new origin. if ( nFact == 0 ) { - // Don't change anything if the scale factor is degenrate. + // Don't change anything if the scale factor is degenerate. nNewZoom = GetZoom(); } else diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index 8c0238c95acc..01da2c5fad8f 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -478,7 +478,7 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, OSL_ASSERT( value.getType() == ControlType::Scrollbar ); const ScrollbarValue* sbVal = static_cast(&value); - //if the scroll bar is active (aka not degenrate...allow for hover events + //if the scroll bar is active (aka not degenerate... allow for hover events) if (sbVal->mnVisibleSize < sbVal->mnMax) option.state = QStyle::State_MouseOver; @@ -497,7 +497,7 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, if (part == ControlPart::DrawBackgroundHorz) option.upsideDown = sbVal->maButton1Rect.Left() > sbVal->maButton2Rect.Left(); - //setup the active control...always the slider + //setup the active control... always the slider if (sbVal->mnThumbState & ControlState::ROLLOVER) option.activeSubControls = QStyle::SC_ScrollBarSlider; -- cgit