summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-08-07 19:15:18 +0200
committerJens Carl <j.carl43@gmx.de>2018-08-08 06:14:10 +0200
commit7bfa1901b677b7014cbce1608a259f203b2e40be (patch)
tree407b1c3a91d36c903ee24912e5bc269d80c5a955
parentf6fa75a9b4cfa5ce46b3ba375750758b2015cd43 (diff)
Fix typos
Change-Id: Ib734b3d578f8036182a2f3e22eb1f3f8951b7fad Reviewed-on: https://gerrit.libreoffice.org/58699 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r--sw/source/core/inc/wrong.hxx2
-rw-r--r--vcl/qt5/Qt5Graphics_Controls.cxx4
2 files changed, 3 insertions, 3 deletions
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;