diff options
-rw-r--r-- | vcl/source/window/dialog.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 2ae4cf305530..e0bfc6cc1b06 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -1224,9 +1224,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 OUString &rValue) |