sd/source/ui/view/sdwindow.cxx | 4 ++-- vcl/unx/kde4/KDESalGraphics.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit f6fa75a9b4cfa5ce46b3ba375750758b2015cd43 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Tue Aug 7 19:23:48 2018 +0200 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Wed Aug 8 06:13:33 2018 +0200 Fix typos Change-Id: I65836b437bbc27d4f6a5862fe436397d858564a2 Reviewed-on: https://gerrit.libreoffice.org/58701 Tested-by: Jenkins Reviewed-by: Jens Carl <j.car...@gmx.de> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits