diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-10-02 00:24:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-03 06:15:59 +0000 |
commit | 14d096e2bf7998de55350b8fe53ec511dedcc477 (patch) | |
tree | d542c6496db0b99c7377236ce89edaed9d854bcf /vcl/source | |
parent | ba3521f28831f41c92aa863ba6ba6da7c91c56f7 (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/source')
-rw-r--r-- | vcl/source/window/event.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index ddb5a9168b88..5f145c7875dd 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -359,7 +359,7 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent ) static MouseEvent ImplTranslateMouseEvent( const MouseEvent& rE, vcl::Window* pSource, vcl::Window* pDest ) { - // the mouse event occured in a different window, we need to translate the coordinates of + // the mouse event occurred in a different window, we need to translate the coordinates of // the mouse cursor within that (source) window to the coordinates the mouse cursor would // be in the destination window Point aPos = pSource->OutputToScreenPixel( rE.GetPosPixel() ); @@ -390,7 +390,7 @@ void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt ) } else { - // the mouse event occured in a different window, we need to translate the coordinates of + // the mouse event occurred in a different window, we need to translate the coordinates of // the mouse cursor within that window to the coordinates the mouse cursor would be in the // current window vcl::Window* pSource = rNEvt.GetWindow(); diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 4fca3158e4ea..7b99f2a4597e 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2554,7 +2554,7 @@ bool MenuBar::ImplHandleKeyEvent( const KeyEvent& rKEvent ) { // Except when the event is the F6 cycle pane event and we can put our // focus into it (i.e. the gtk3 menubar case but not the mac/unity case - // where its not part of the application window) + // where it's not part of the application window) if (!TaskPaneList::IsCycleKey(rKEvent.GetKeyCode())) return false; if (!pNativeMenu->CanGetFocus()) |