summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 12:57:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-29 11:20:17 +0200
commit4cfa88a60893f7bd0303ddf077efcedea76d4b5c (patch)
tree264091a1c307c02aba9af2e02c18905947cf2ee1 /vcl/source/window
parent2c11d73ccce3e705c88c877c167be0acaef5b350 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I261b3dedd78494ec22a6903f0ab65231965881c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101604 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/window.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index a0b4441e966a..523dc5bdde77 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -403,11 +403,11 @@ void Window::dispose()
}
// check if the focus window is our child
- bool bHasFocussedChild = false;
+ bool bHasFocusedChild = false;
if (pSVData->mpWinData->mpFocusWin && ImplIsRealParentPath(pSVData->mpWinData->mpFocusWin))
{
// #122232#, this must not happen and is an application bug ! but we try some cleanup to hopefully avoid crashes, see below
- bHasFocussedChild = true;
+ bHasFocusedChild = true;
#if OSL_DEBUG_LEVEL > 0
OUString aTempStr = "Window (" + GetText() +
") with focused child window destroyed ! THIS WILL LEAD TO CRASHES AND MUST BE FIXED !";
@@ -419,7 +419,7 @@ void Window::dispose()
// if we get focus pass focus to another window
vcl::Window* pOverlapWindow = ImplGetFirstOverlapWindow();
if (pSVData->mpWinData->mpFocusWin == this
- || bHasFocussedChild) // #122232#, see above, try some cleanup
+ || bHasFocusedChild) // #122232#, see above, try some cleanup
{
if ( mpWindowImpl->mbFrame )
{