Kaydet (Commit) 5535ccc8 authored tarafından Pranav Kant's avatar Pranav Kant Kaydeden (comit) Jan Holesovsky

lokdialog: new callback size_changed with new size of the dialog

Change-Id: Ibb864cb588ae7db92381c5578701d3ce09185f34
üst 6c19b971
......@@ -1235,9 +1235,12 @@ void Dialog::Resize()
if (comphelper::LibreOfficeKit::isDialogPainting())
return;
// inform LOK clients
if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier())
pNotifier->notifyWindow(GetLOKWindowId(), "invalidate");
{
std::vector<vcl::LOKPayloadItem> aItems;
aItems.emplace_back(std::make_pair("size", GetOptimalSize().toString()));
pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems);
}
}
bool Dialog::set_property(const OString &rKey, const OString &rValue)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment