diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-26 17:32:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-27 20:14:36 +0100 |
commit | 15b86b9dc15afbb5cc3c318f57f500a6a77b67c9 (patch) | |
tree | 2a2554cc42af634e7da15e9daff8240413d8a82d /sfx2/source/appl | |
parent | 6d21adad1cf0c6b5a61e7540af9d0f6bdaff099b (diff) |
hide some FloatingWindow details
Change-Id: I1dc8cb7adc9a26efb74634353b9d75286e31ebb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111663
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/childwin.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index b07dc5b5bb40..72e469a04403 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -29,7 +29,6 @@ #include <sal/log.hxx> #include <tools/debug.hxx> -#include <vcl/floatwin.hxx> #include <vcl/svapp.hxx> #include <sfx2/childwin.hxx> #include <sfx2/app.hxx> @@ -530,7 +529,7 @@ SfxChildWindowContext::~SfxChildWindowContext() pWindow.disposeAndClear(); } -FloatingWindow* SfxChildWindowContext::GetFloatingWindow(vcl::Window *pParent) +SystemWindow* SfxChildWindowContext::GetFloatingWindow(vcl::Window *pParent) { if (pParent->GetType() == WindowType::DOCKINGWINDOW || pParent->GetType() == WindowType::TOOLBOX) { @@ -538,7 +537,7 @@ FloatingWindow* SfxChildWindowContext::GetFloatingWindow(vcl::Window *pParent) } if (pParent->GetType() == WindowType::FLOATINGWINDOW) { - return static_cast<FloatingWindow*>(pParent); + return static_cast<SystemWindow*>(pParent); } return nullptr; } |