diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-08-10 16:44:06 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-10-02 11:01:39 +0530 |
commit | 3ebaaebf544be4f7f39b7fcbbbc377418a897442 (patch) | |
tree | afc4a518aa954a7450d049344a4d733331380359 /sw | |
parent | 77bb77aedee4b4596f769df8e334b8063c5846b0 (diff) |
Change CB_DIALOG_INVALIDATE to CB_DIALOG
We can specify whether it is an invalidation or something else in the
payload.
Change-Id: I95c5fc0a0a88b5277eaa93c8d1f9b937bddce7b3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unotxdoc.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index a803a6aa8e16..868dbabbcb72 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -442,7 +442,7 @@ public: void postDialogChildMouseEvent(const vcl::DialogID& rDialogID, int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override; - void notifyDialogInvalidation(const vcl::DialogID& rDialogID) override; + void notifyDialog(const vcl::DialogID& rDialogID, const OUString& rAction) override; void notifyDialogChild(const vcl::DialogID& rDialogID, const OUString& rAction, const Point& rPos) override; diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index c148f09ef873..ec2d09c9d915 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3783,9 +3783,9 @@ void SwXTextDocument::postDialogChildMouseEvent(const vcl::DialogID& rDialogID, } } -void SwXTextDocument::notifyDialogInvalidation(const vcl::DialogID& rDialogID) +void SwXTextDocument::notifyDialog(const vcl::DialogID& rDialogID, const OUString& rAction) { - SfxLokHelper::notifyDialogInvalidation(rDialogID); + SfxLokHelper::notifyDialog(rDialogID, rAction); } void SwXTextDocument::notifyDialogChild(const vcl::DialogID& rDialogID, const OUString& rAction, const Point& rPos) |