[Libreoffice-commits] core.git: sw/source vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 8 04:14:34 UTC 2018


 sw/source/core/inc/wrong.hxx     |    2 +-
 vcl/qt5/Qt5Graphics_Controls.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7bfa1901b677b7014cbce1608a259f203b2e40be
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Aug 7 19:15:18 2018 +0200
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Wed Aug 8 06:14:10 2018 +0200

    Fix typos
    
    Change-Id: Ib734b3d578f8036182a2f3e22eb1f3f8951b7fad
    Reviewed-on: https://gerrit.libreoffice.org/58699
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 17c83c7fb033..13f1f50507cf 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -36,7 +36,7 @@
 
 #if defined _MSC_VER
 // For MSVC (without /vmg) SwTextNode must consistently be defined for
-// WrongListIterator::m_pGetWrongList of pointer-to-SwTextNode-member type to consitently have the
+// WrongListIterator::m_pGetWrongList of pointer-to-SwTextNode-member type to consistently have the
 // same size in all translation units that include this file:
 #include <ndtxt.hxx>
 #endif
diff --git a/vcl/qt5/Qt5Graphics_Controls.cxx b/vcl/qt5/Qt5Graphics_Controls.cxx
index c6e71250b49e..18be768c04c0 100644
--- a/vcl/qt5/Qt5Graphics_Controls.cxx
+++ b/vcl/qt5/Qt5Graphics_Controls.cxx
@@ -470,7 +470,7 @@ bool Qt5Graphics_Controls::drawNativeControl(ControlType type, ControlPart part,
             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;
 
@@ -489,7 +489,7 @@ bool Qt5Graphics_Controls::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;
 


More information about the Libreoffice-commits mailing list