diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-15 21:26:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-16 10:27:30 +0100 |
commit | 3fcee07aa7edb927eec77ea865ad1c33f6bdabfa (patch) | |
tree | f2706d4fe8d5871cfe6f0ecea7db758e12159f11 /vcl | |
parent | 477bfa9c974ec2cb4101881d0085edae39acd40b (diff) |
drop Application::GetAppWindow
Change-Id: I8f1640b0ed816101305a893646de8ed9750d1247
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86889
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/svapp.cxx | 5 | ||||
-rw-r--r-- | vcl/source/window/debugevent.cxx | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index f295c634543c..dcb35069e0cd 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1042,11 +1042,6 @@ void Application::LockFontUpdates(bool bLock) OutputDevice::LockFontUpdates(bLock); } -WorkWindow* Application::GetAppWindow() -{ - return ImplGetSVData()->maFrameData.mpAppWin; -} - vcl::Window* Application::GetFocusWindow() { return ImplGetSVData()->mpWinData->mpFocusWin; diff --git a/vcl/source/window/debugevent.cxx b/vcl/source/window/debugevent.cxx index 5a5c164abc30..bb0d54b1150e 100644 --- a/vcl/source/window/debugevent.cxx +++ b/vcl/source/window/debugevent.cxx @@ -45,8 +45,6 @@ vcl::Window *DebugEventInjector::ChooseWindow() // select a top window at random long nIdx = Application::GetTopWindowCount() * getRandom(); pParent = Application::GetTopWindow( nIdx ); - if (!pParent) - pParent = Application::GetAppWindow(); } assert (pParent != nullptr); |