diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 15:51:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | f360244e5ddb6b607e752a0df3c37ccefaec1d9f (patch) | |
tree | 38729115a06d88460ad0a413d1d210bae7889cbd /include | |
parent | 3aa7db4586c53a0815b74cc514ff8a6541dc7e01 (diff) |
drop enum IAccessibleViewForwarderListener::ChangeType
since only one of it's values was in use, and simplify the
ViewForwarderChanged method as a consequence.
Change-Id: I00544c9b0a601c01e49519be5bafe192c6f735f6
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/AccessibleShape.hxx | 3 | ||||
-rw-r--r-- | include/svx/ChildrenManager.hxx | 4 | ||||
-rw-r--r-- | include/svx/IAccessibleViewForwarderListener.hxx | 18 |
3 files changed, 4 insertions, 21 deletions
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index 8bafaec6b53f..8f961fffb111 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -323,8 +323,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; //===== IAccessibleViewForwarderListener ================================ - virtual void ViewForwarderChanged (ChangeType aChangeType, - const IAccessibleViewForwarder* pViewForwarder) override; + virtual void ViewForwarderChanged() override; //===== lang::XEventListener ============================================ diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx index bb1cab720a80..c85bd1b3428e 100644 --- a/include/svx/ChildrenManager.hxx +++ b/include/svx/ChildrenManager.hxx @@ -192,9 +192,7 @@ public: */ void RemoveFocus(); - void ViewForwarderChanged( - IAccessibleViewForwarderListener::ChangeType aChangeType, - const IAccessibleViewForwarder* pViewForwarder); + void ViewForwarderChanged(); private: rtl::Reference<ChildrenManagerImpl> mpImpl; diff --git a/include/svx/IAccessibleViewForwarderListener.hxx b/include/svx/IAccessibleViewForwarderListener.hxx index d9f27e80d415..b4195d1ed025 100644 --- a/include/svx/IAccessibleViewForwarderListener.hxx +++ b/include/svx/IAccessibleViewForwarderListener.hxx @@ -39,25 +39,11 @@ class IAccessibleViewForwarder; class IAccessibleViewForwarderListener { public: - /** Enumeration of the different change types. - */ - enum ChangeType {TRANSFORMATION, VISIBLE_AREA, STATE}; /** This method is called to indicate a change of the specified view - forwarder. - @param aChangeType - The type of the change. TRANSFORMATION indicates a change of - the coordinate transformation with a constant visible area. If - the visible area changes, just use VISIBLE_AREA. This changes - the transformation implicitly. The value STATE indicates a - change of the validity state. Check the IsValid method of the - view forwarder before doing further calls. - @param pViewForwarder - The modified view forwarder. It is specified just in case that - there is more than one view forwarder in use at the same time. + forwarder, specifically, a change in visible area. */ - virtual void ViewForwarderChanged (ChangeType aChangeType, - const IAccessibleViewForwarder* pViewForwarder) = 0; + virtual void ViewForwarderChanged() = 0; protected: ~IAccessibleViewForwarderListener() {} |