summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-28 16:59:26 +0530
committerMichael Meeks <michael.meeks@collabora.com>2017-12-09 13:54:35 +0100
commit8366c736bce1afe398286374ea36c844634f1cd4 (patch)
tree6d7c5957b5cfa9abb58b863e55cd4fa70dbe50da /sfx2
parent0d5f4668e2b006eb4ca72bdf905393947d935cae (diff)
lokdialog: Make hyperlink dialog work
(partially cherry picked from commit 7bcb9a8416d61bdd3c7fc345f87de5aa8c3054f9) Change-Id: Ifd8c721b001b09ddab8d4fe06ae6818980d6ee76 Reviewed-on: https://gerrit.libreoffice.org/46017 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/basedlgs.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index bc0968f67f67..8bbf8bd3dee6 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -224,6 +224,7 @@ void SfxModalDialog::StateChanged( StateChangedType nType )
SetLOKNotifier(SfxViewShell::Current());
const Size aSize = GetOptimalSize();
std::vector<vcl::LOKPayloadItem> aItems;
+ aItems.emplace_back(std::make_pair("type", "dialog"));
aItems.emplace_back(std::make_pair("size", aSize.toString()));
SfxViewShell::Current()->notifyWindow(GetLOKWindowId(), "created", aItems);
}