diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-08-07 19:23:48 +0200 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-08-08 06:13:33 +0200 |
commit | f6fa75a9b4cfa5ce46b3ba375750758b2015cd43 (patch) | |
tree | 4ed5791cdb812c7a2250e11250fdce9d6198f2fd | |
parent | 3a81fcbf9de1385d65b4d7a7932543dba65618cd (diff) |
Fix typos
Change-Id: I65836b437bbc27d4f6a5862fe436397d858564a2
Reviewed-on: https://gerrit.libreoffice.org/58701
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 4 | ||||
-rw-r--r-- | 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<const ScrollbarValue *>(&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; |