summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools/SlotStateListener.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/tools/SlotStateListener.cxx')
-rw-r--r--sd/source/ui/tools/SlotStateListener.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/tools/SlotStateListener.cxx b/sd/source/ui/tools/SlotStateListener.cxx
index 017ff5e215ec..b508abdd4ae3 100644
--- a/sd/source/ui/tools/SlotStateListener.cxx
+++ b/sd/source/ui/tools/SlotStateListener.cxx
@@ -32,7 +32,7 @@ using namespace ::com::sun::star;
namespace sd { namespace tools {
SlotStateListener::SlotStateListener (
- Link& rCallback,
+ Link<>& rCallback,
const uno::Reference<frame::XDispatchProvider>& rxDispatchProvider,
const OUString& rSlotName)
: SlotStateListenerInterfaceBase(maMutex),
@@ -49,7 +49,7 @@ SlotStateListener::~SlotStateListener()
ReleaseListeners();
}
-void SlotStateListener::SetCallback (const Link& rCallback)
+void SlotStateListener::SetCallback (const Link<>& rCallback)
{
ThrowIfDisposed();
@@ -90,7 +90,7 @@ void SlotStateListener::disposing()
{
ReleaseListeners();
mxDispatchProviderWeak = uno::WeakReference<frame::XDispatchProvider>(NULL);
- maCallback = Link();
+ maCallback = Link<>();
}
util::URL SlotStateListener::MakeURL (const OUString& rSlotName) const