diff options
-rw-r--r-- | include/vcl/window.hxx | 8 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index a0bc04cd4523..4fb9e4ab15e0 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1450,14 +1450,6 @@ public: // a helper method for a Control's Draw method void PaintToDevice( ::OutputDevice* pDevice, const Point& rPos ); - /* tdf#119390 set parent to default window. Typically for use in advance of destroying - * a floating windows which has the current focus so focus will revert to the main - * document window and not the first widget in the current parent of the floating - * window. - */ - SAL_DLLPRIVATE void SetParentToDefaultWindow(); - - // Keyboard access functions /** Query the states of keyboard indicators - Caps Lock, Num Lock and diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 61bcc8ce57a0..41751c015a43 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1782,12 +1782,6 @@ void Window::SetModalHierarchyHdl(const Link<bool, void>& rLink) ImplGetFrame()->SetModalHierarchyHdl(rLink); } -void Window::SetParentToDefaultWindow() -{ - Show(false); - // don't reparent: this window dies anyway and any children must have been disposed already -} - KeyIndicatorState Window::GetIndicatorState() const { return mpWindowImpl->mpFrame->GetIndicatorState(); |