summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-11-24 11:21:13 +0100
committerJan Holesovsky <kendy@collabora.com>2017-11-28 17:59:34 +0100
commit474e534738ae147eec450dfbca5e1ddbc86069cb (patch)
treef67bc2696c6152f05c91b4a264741e10ebd771bf /vcl
parent9df590be66324884e3e0e4eb9b255cd35103b06b (diff)
lokdialog: Make the Autofilter popup notify about its creation.
Change-Id: Ib4062fa887b44eb1368205a414f4ac162f648c5c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/floatwin.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 995183ebd5d0..9ce9cd378b59 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -729,6 +729,13 @@ void FloatingWindow::StartPopupMode( const Rectangle& rRect, FloatWinPopupFlags
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 )