From e2ae221f6164ba240da7d6470fd52c1982fa07d2 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 24 Nov 2017 18:50:05 +0100 Subject: lokdialog: Move the painting down to Window, and enable Calc and Impress. Tested with .uno:FormatCellDialog in Calc, Impress not tested. Change-Id: I6d911c29616988db0625be9e2a63cf2172c69ee8 --- include/sfx2/lokhelper.hxx | 4 ++-- include/sfx2/viewsh.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/sfx2') diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx index 170d65a794d0..00288d04faac 100644 --- a/include/sfx2/lokhelper.hxx +++ b/include/sfx2/lokhelper.hxx @@ -42,11 +42,11 @@ public: /// Same as notifyOtherViews(), but works on a selected "other" view, not on all of them. static void notifyOtherView(SfxViewShell* pThisView, SfxViewShell const* pOtherView, int nType, const OString& rKey, const OString& rPayload); /// Emits a LOK_CALLBACK_DIALOG - static void notifyDialog(vcl::LOKWindowId nDialogId, + static void notifyWindow(vcl::LOKWindowId nDialogId, const OUString& rAction, const std::vector& rPayload = std::vector()); /// Emits a LOK_CALLBACK_DIALOG_CHILD - static void notifyDialogChild(vcl::LOKWindowId nDialogId, const OUString& rAction, const Point& rPos); + static void notifyWindowChild(vcl::LOKWindowId nDialogId, const OUString& rAction, const Point& rPos); /// Emits a LOK_CALLBACK_INVALIDATE_TILES, but tweaks it according to setOptionalFeatures() if needed. static void notifyInvalidation(SfxViewShell const* pThisView, const OString& rPayload); /// A special value to signify 'infinity'. diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 2fcf7283399a..d0d68b3b48ae 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -227,8 +227,8 @@ public: void UnregisterDlg(vcl::LOKWindowId nDialogId); // ILibreOfficeKitNotifier - virtual void notifyDialog(const vcl::LOKWindowId& rDialogId, const OUString& rAction, const std::vector& rPayload = std::vector()) const override; - virtual void notifyDialogChild(const vcl::LOKWindowId& rDialogId, const OUString& rAction, const Point& rPos) const override; + virtual void notifyWindow(vcl::LOKWindowId nLOKWindowId, const OUString& rAction, const std::vector& rPayload = std::vector()) const override; + virtual void notifyWindowChild(vcl::LOKWindowId nLOKWindowId, const OUString& rAction, const Point& rPos) const override; // Focus, KeyInput, Cursor virtual void ShowCursor( bool bOn = true ); -- cgit