diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-11-16 00:48:35 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-11-16 07:19:18 +0100 |
commit | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (patch) | |
tree | b76b8f97b2dfc3d1825f39255da04939aedda134 /vcl | |
parent | 25c61d782d64fb3d63484e69c7e362a0c8faf106 (diff) |
Fix typos
Change-Id: I033731251c4fffd759144f5bd9d6b9737de48c80
Reviewed-on: https://gerrit.libreoffice.org/63455
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 8 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 8af6a6010dcf..349d4d0b5787 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -2549,7 +2549,7 @@ void Window::EnableInput( bool bEnable, const vcl::Window* pExcludeWindow ) EnableInput( bEnable ); // pExecuteWindow is the first Overlap-Frame --> if this - // shouldn't be the case, than this must be changed in dialog.cxx + // shouldn't be the case, then this must be changed in dialog.cxx if( pExcludeWindow ) pExcludeWindow = pExcludeWindow->ImplGetFirstOverlapWindow(); vcl::Window* pSysWin = mpWindowImpl->mpFrameWindow->mpWindowImpl->mpFrameData->mpFirstOverlap; @@ -2559,7 +2559,7 @@ void Window::EnableInput( bool bEnable, const vcl::Window* pExcludeWindow ) if ( ImplGetFirstOverlapWindow()->ImplIsWindowOrChild( pSysWin, true ) ) { // Is Window not in the exclude window path or not the - // exclude window, than change the status + // exclude window, then change the status if ( !pExcludeWindow || !pExcludeWindow->ImplIsWindowOrChild( pSysWin, true ) ) pSysWin->EnableInput( bEnable ); } @@ -2576,7 +2576,7 @@ void Window::EnableInput( bool bEnable, const vcl::Window* pExcludeWindow ) if ( ImplGetFirstOverlapWindow()->ImplIsWindowOrChild( pFrameWin, true ) ) { // Is Window not in the exclude window path or not the - // exclude window, than change the status + // exclude window, then change the status if ( !pExcludeWindow || !pExcludeWindow->ImplIsWindowOrChild( pFrameWin, true ) ) pFrameWin->EnableInput( bEnable ); } @@ -2594,7 +2594,7 @@ void Window::EnableInput( bool bEnable, const vcl::Window* pExcludeWindow ) if ( ImplGetFirstOverlapWindow()->ImplIsWindowOrChild( elem, true ) ) { // Is Window not in the exclude window path or not the - // exclude window, than change the status + // exclude window, then change the status if ( !pExcludeWindow || !pExcludeWindow->ImplIsWindowOrChild( elem, true ) ) elem->EnableInput( bEnable ); } diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 0079d85a8dab..247b6443e366 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -832,7 +832,7 @@ static vcl::Window* ImplGetKeyInputWindow( vcl::Window* pWindow ) pChild = pChild->ImplGetWindowImpl()->mpFrameData->mpFocusWin; - // no child - than no input + // no child - then no input if ( !pChild ) return nullptr; |