diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-11-27 19:23:22 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-11-28 19:49:27 +0100 |
commit | eba961f518774d467b03c5a77828a2a7c21b42ed (patch) | |
tree | ae65a0d16ae85e5a4227e7a8b34f9df115ba94bb /sc | |
parent | 57c0ccf77627b485e8ed05cad295c4eef5eb16e4 (diff) |
lokdialog: Move the LOKWindowId <-> VclPtr<Window> mapping to Window.
This allows registering & de-registering of non-sfx windows too, and makes the
Calc autofilter popup to appear.
Change-Id: I7cbbe94d208115aabcb6fa5f964646c7b7ce4c93
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 6bc2c5da7ae8..917b211a82a1 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -432,9 +432,6 @@ public: /// @see vcl::ITiledRenderable::getPostItsPos(). OUString getPostItsPos() override; - - /// @see vcl::ITiledRenderable::findWindow(). - VclPtr<vcl::Window> findWindow(vcl::LOKWindowId nLOKWindowId) const override; }; class ScDrawPagesObj : public cppu::WeakImplHelper< diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 629c203399ad..473a8dcb17ac 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1130,12 +1130,6 @@ OUString ScModelObj::getPostItsPos() return OUString::fromUtf8(aStream.str().c_str()); } -VclPtr<vcl::Window> ScModelObj::findWindow(vcl::LOKWindowId nLOKWindowId) const -{ - SfxViewShell* pViewShell = SfxViewShell::Current(); - return pViewShell->GetOpenedDlg(nLOKWindowId); -} - void ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& /*rArguments*/) { SolarMutexGuard aGuard; |