summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-02 00:24:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-03 06:15:59 +0000
commit14d096e2bf7998de55350b8fe53ec511dedcc477 (patch)
treed542c6496db0b99c7377236ce89edaed9d854bcf /vcl/unx
parentba3521f28831f41c92aa863ba6ba6da7c91c56f7 (diff)
Fix typos
Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527 Reviewed-on: https://gerrit.libreoffice.org/29440 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/window/salframe.cxx2
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx2
-rw-r--r--vcl/unx/gtk/gtksalmenu.cxx4
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 491d6295171a..29f0b4e89887 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -3046,7 +3046,7 @@ long X11SalFrame::HandleKeyEvent( XKeyEvent *pEvent )
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
- // event its the other way round: it does contain the Control mask.
+ // event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
sal_uInt16 nExtModMask = 0;
sal_uInt16 nModMask = 0;
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 529128ec68d6..d83ebe48e7a6 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3119,7 +3119,7 @@ gboolean GtkSalFrame::signalKey( GtkWidget*, GdkEventKey* pEvent, gpointer frame
sal_uInt16 nModMask = 0;
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
- // event its the other way round: it does contain the Control mask.
+ // event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
switch( pEvent->keyval )
{
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 9e4547b35acb..6a9ac73175af 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -312,7 +312,7 @@ void GtkSalMenu::ImplUpdate(bool bRecurse, bool bRemoveDisabledEntries)
void GtkSalMenu::Update()
{
- //find out if top level is a menubar or not, if not, then its a popup menu
+ //find out if top level is a menubar or not, if not, then it's a popup menu
//hierarchy and in those we hide (most) disabled entries
const GtkSalMenu* pMenu = this;
while (pMenu->mpParentSalMenu)
@@ -972,7 +972,7 @@ bool GtkSalMenu::NativeSetItemCommand( unsigned nSection,
bSubMenuAddedOrRemoved = bOldHasSubmenu != bIsSubmenu;
if (bSubMenuAddedOrRemoved)
{
- //tdf#98636 its not good enough to unset the "submenu-action" attribute to change something
+ //tdf#98636 it's not good enough to unset the "submenu-action" attribute to change something
//from a submenu to a non-submenu item, so remove the old one entirely and re-add it to
//support achieving that
gchar* pLabel = g_lo_menu_get_label_from_item_in_section(pMenu, nSection, nItemPos);
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 3d3fc9e24105..5d4b92b0f11a 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3007,7 +3007,7 @@ gboolean GtkSalFrame::signalKey(GtkWidget* pWidget, GdkEventKey* pEvent, gpointe
sal_uInt16 nModMask = 0;
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
- // event its the other way round: it does contain the Control mask.
+ // event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
switch( pEvent->keyval )
{