summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx5
-rw-r--r--vcl/source/window/debugevent.cxx2
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);