diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-10-26 13:39:06 -0700 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-11-15 17:07:16 +0100 |
commit | df8f50170b502a8ad4a528507740f4f15ce1bc6d (patch) | |
tree | d68537eda1b146fe7ce3a7e89a96592787e574a3 /sw/source/uibase | |
parent | 1418849287f07443603feefe11c0aa51fc312c06 (diff) |
lokdialog: Use UNO name as dialog id when invoking lok callbacks
... not the frame id from the .ui file
Remove temporary hacks introduced earlier in GTV also.
Change-Id: I71290a5fac6547a5584094da21e2301ef8fbce0c
Reviewed-on: https://gerrit.libreoffice.org/43957
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index d29e9a593194..99921da44b47 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3735,7 +3735,7 @@ void SwXTextDocument::paintDialog(const vcl::DialogID& rDialogID, VirtualDevice& Dialog* pDlg = static_cast<Dialog*>(pChild->GetWindow()); // register the instance so that vcl::Dialog can emit LOK callbacks - pDlg->registerDialogRenderable(this); + pDlg->registerDialogRenderable(this, rDialogID); pDlg->paintDialog(rDevice); const Size aSize = pDlg->GetOptimalSize(); nWidth = aSize.getWidth(); |