summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-05-08 00:28:37 +0200
committerJan Holesovsky <kendy@collabora.com>2017-05-16 11:22:37 +0200
commit708600e84cb3b20cbbc1f6eea5f7f039cba034a1 (patch)
tree1f19cc22efaf42a13c081d5775ec672dcbf92b5e /include/sfx2
parent838725b62320c6f9aebdeb45558620952abb5bec (diff)
lok: sc: address and formula text field empty on creating a new view
When the client starts the address and formula text field were empty because the updating callbacks occurred before the view callback handler had been registered. So a new method `afterCallbackRegistered` has been added in order to perform any needed updating/initialization soon after the view callback handler has been registered. Change-Id: Ia47234e32796f7e4bc1a8408736102054b4666e2
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/viewsh.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 14466922f461..2c93dd17bcd1 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -339,6 +339,8 @@ public:
void NotifyOtherView(OutlinerViewShell* pOtherShell, int nType, const OString& rKey, const OString& rPayload) override;
/// Ask this view to send its cursor position to pViewShell.
virtual void NotifyCursor(SfxViewShell* /*pViewShell*/) const;
+ /// Where a new view can perform some update/initialization soon after the callback has been registered.
+ virtual void afterCallbackRegistered();
};