summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-12-04 17:55:21 +0100
committerJan Holesovsky <kendy@collabora.com>2017-12-06 12:16:22 +0100
commit5df0f751d8b117eeb9b1df8d1bc34e36659d1492 (patch)
treebc005ca9fe6dec2ddef0368db1a5a92fd1090564 /include/vcl
parent86393f03702fd4c695612754fa89f80dac69eab9 (diff)
lokdialog: Window* -> VclPtr<Window>, and a small simplification.
Change-Id: I853e2d6ec2e55c78894a9942aa201763a57fe195 Reviewed-on: https://gerrit.libreoffice.org/45900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/window.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 9af0a918435f..f02acf125d23 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1207,13 +1207,15 @@ public:
void SetLOKNotifier(const vcl::ILibreOfficeKitNotifier* pNotifier);
const vcl::ILibreOfficeKitNotifier* GetLOKNotifier() const;
vcl::LOKWindowId GetLOKWindowId() const;
- vcl::Window* GetParentWithLOKNotifier();
+
+ /// Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set.
+ VclPtr<vcl::Window> GetParentWithLOKNotifier();
/// Indicate that LOK is not going to use this dialog any more.
void ReleaseLOKNotifier();
/// Find an existing Window based on the LOKWindowId.
- static VclPtr<Window> FindLOKWindow(vcl::LOKWindowId nWindowId);
+ static VclPtr<vcl::Window> FindLOKWindow(vcl::LOKWindowId nWindowId);
/// Dialog / window tunneling related methods.
Size PaintActiveFloatingWindow(VirtualDevice& rDevice) const;