summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-29 16:56:44 +0200
committerAndras Timar <andras.timar@collabora.com>2015-06-30 15:57:12 +0000
commit1a8915ef8302b13b781977209ae1fa41f5f659dc (patch)
treee9215b569101c82e3e94dee17f38b5a1a9f5b3f9 /vcl
parentf82e6424075cbc5f4a3766f5f6e28314c249f3f0 (diff)
Fix typos
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/quartz/common.h2
-rw-r--r--vcl/inc/window.h2
-rw-r--r--vcl/source/control/menubtn.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/inc/quartz/common.h b/vcl/inc/quartz/common.h
index 8e3f28669628..c596ef22addc 100644
--- a/vcl/inc/quartz/common.h
+++ b/vcl/inc/quartz/common.h
@@ -35,7 +35,7 @@
// CoreFoundation designers, in their wisdom, decided that CFRelease of NULL
// cause a Crash, yet few API can return NULL when asking for the creation
-// of an object, which force us to peper the code with egly if construct everywhere
+// of an object, which force us to peper the code with ugly if construct everywhere
// and open the door to very nasty crash on rare occasion
// this macro hide the mess
#define SafeCFRelease(a) do { if(a) { CFRelease(a); (a)=NULL; } } while(false)
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index dfa9a5ff90b7..0748760acbdc 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -133,7 +133,7 @@ struct ImplFrameData
InputContext maOldInputContext; //< last set Input Context
VclPtr<vcl::Window> mpNextFrame; //< next frame window
VclPtr<vcl::Window> mpFirstOverlap; //< first overlap vcl::Window
- VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focous)
+ VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focus)
VclPtr<vcl::Window> mpMouseMoveWin; //< last window, where MouseMove() called
VclPtr<vcl::Window> mpMouseDownWin; //< last window, where MouseButtonDown() called
VclPtr<vcl::Window> mpFirstBackWin; //< first overlap-window with saved background
diff --git a/vcl/source/control/menubtn.cxx b/vcl/source/control/menubtn.cxx
index c77663fb8a11..7da797e51a50 100644
--- a/vcl/source/control/menubtn.cxx
+++ b/vcl/source/control/menubtn.cxx
@@ -94,7 +94,7 @@ void MenuButton::dispose()
IMPL_LINK_NOARG_TYPED(MenuButton, ImplMenuTimeoutHdl, Timer *, void)
{
- // See if Button Tracking is still active, as it could've been cancelled earler
+ // See if Button Tracking is still active, as it could've been cancelled earlier
if ( IsTracking() )
{
if ( !(GetStyle() & WB_NOPOINTERFOCUS) )
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index d038d2c605f1..0100068259d2 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3633,8 +3633,8 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
++it;
}
- // was a new entery selected ?
- // don't change selection if keyboard selection is active and
+ // was a new entry selected?
+ // don't change selection if keyboard selection is active and
// mouse leaves the toolbox
if ( nNewPos != mnCurPos && !( HasFocus() && nNewPos == TOOLBOX_ITEM_NOTFOUND ) )
{