summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 13:59:54 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 14:41:59 +0200
commit1fccdc3435604d4521f4e395ebeb80b637da92e6 (patch)
tree79620f670e90941816b811babb641c3ab45e0ea8 /sd/source/ui/inc
parentdbd4c01975adf306932766adcba0ecbb9d6a6e1b (diff)
convert Link<> to typed
Change-Id: Icb335b68df33eccf0b972fad64954806cd93b68d
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/MasterPageObserver.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx
index 8ac9096e2394..057ef8e99ab1 100644
--- a/sd/source/ui/inc/MasterPageObserver.hxx
+++ b/sd/source/ui/inc/MasterPageObserver.hxx
@@ -30,6 +30,8 @@ class SdDrawDocument;
namespace sd {
+class MasterPageObserverEvent;
+
/** This singleton observes all registered documents for changes in the used
master pages and in turn informs its listeners about it. One such
listener is the master page selector control in the tool panel that
@@ -61,7 +63,7 @@ public:
The event listener to call for future events. Call
RemoveEventListener() before the listener is destroyed.
*/
- void AddEventListener (const Link<>& rEventListener);
+ void AddEventListener (const Link<MasterPageObserverEvent&,void>& rEventListener);
/** Remove the given listener from the list of listeners.
@param rEventListener
@@ -69,7 +71,7 @@ public:
from this object. Passing a listener that has not
been registered before is safe and is silently ignored.
*/
- void RemoveEventListener (const Link<>& rEventListener);
+ void RemoveEventListener (const Link<MasterPageObserverEvent&,void>& rEventListener);
private:
static ::osl::Mutex maMutex;