diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-11-24 11:21:13 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-11-29 10:16:56 +0100 |
commit | 6bc22c34fb3742dc991ec35dc6660d162a39ccf5 (patch) | |
tree | 3d37500666ec754afca2ed77f6f81db1f096e021 /vcl | |
parent | ba8154d857aa815ba3c5b52987dc17be6eba7f48 (diff) |
lokdialog: Make the Autofilter popup notify about its creation.
Change-Id: Ib4062fa887b44eb1368205a414f4ac162f648c5c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 936f55d401e3..b00da3a18a77 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -720,6 +720,13 @@ void FloatingWindow::StartPopupMode( const tools::Rectangle& rRect, FloatWinPopu GrabFocus(); } Show( true, ShowFlags::NoActivate ); + + if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier()) + { + std::vector<vcl::LOKPayloadItem> aItems; + aItems.emplace_back(std::make_pair("size", rRect.GetSize().toString())); + pNotifier->notifyDialog(GetLOKWindowId(), "created", aItems); + } } void FloatingWindow::StartPopupMode( ToolBox* pBox, FloatWinPopupFlags nFlags ) |