summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-16 13:54:40 +0200
committerNoel Grandin <noel@peralex.com>2015-10-16 14:12:51 +0200
commit08e7bc6abd93947627e7a38646a02f9d44ddabed (patch)
treeadc16b593ba5a05a08bc5bbe0817a7dc586fa1bd /sw/source/uibase
parent945965e525afb4b86d235822fff39de43b5f3f9a (diff)
convert Link<> to typed
Change-Id: Iea90c0e46902936bde3b51475292999fa0ead934
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx4
-rw-r--r--sw/source/uibase/inc/mailmergehelper.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index f6da0d2596de..22160a2bec9c 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -379,7 +379,7 @@ void SwAddressPreview::MouseButtonDown( const MouseEvent& rMEvt )
pImpl->nSelectedAddress != (sal_uInt16)nSelect)
{
pImpl->nSelectedAddress = (sal_uInt16)nSelect;
- m_aSelectHdl.Call(this);
+ m_aSelectHdl.Call(nullptr);
}
Invalidate();
}
@@ -422,7 +422,7 @@ void SwAddressPreview::KeyInput( const KeyEvent& rKEvt )
pImpl->nSelectedAddress != (sal_uInt16)nSelect)
{
pImpl->nSelectedAddress = (sal_uInt16)nSelect;
- m_aSelectHdl.Call(this);
+ m_aSelectHdl.Call(nullptr);
Invalidate();
}
}
diff --git a/sw/source/uibase/inc/mailmergehelper.hxx b/sw/source/uibase/inc/mailmergehelper.hxx
index a707fa5cdcda..a1cdbf66f2a9 100644
--- a/sw/source/uibase/inc/mailmergehelper.hxx
+++ b/sw/source/uibase/inc/mailmergehelper.hxx
@@ -61,7 +61,7 @@ class SW_DLLPUBLIC SwAddressPreview : public vcl::Window
{
VclPtr<ScrollBar> aVScrollBar;
SwAddressPreview_Impl* pImpl;
- Link<> m_aSelectHdl;
+ Link<LinkParamNone*,void> m_aSelectHdl;
void DrawText_Impl(vcl::RenderContext& rRenderContext, const OUString& rAddress,
const Point& rTopLeft, const Size& rSize, bool bIsSelected);
@@ -109,7 +109,7 @@ public:
static OUString FillData(const OUString& rAddress, SwMailMergeConfigItem& rConfigItem,
const css::uno::Sequence<OUString>* pAssignments = 0);
- void SetSelectHdl (const Link<>& rLink) { m_aSelectHdl = rLink; }
+ void SetSelectHdl (const Link<LinkParamNone*,void>& rLink) { m_aSelectHdl = rLink; }
};
// iterate over an address block or a greeting line the iterator returns the