summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/DropDownFieldDialog.hxx4
-rw-r--r--sw/source/uibase/inc/HeaderFooterWin.hxx2
-rw-r--r--sw/source/uibase/inc/PageBreakWin.hxx4
-rw-r--r--sw/source/uibase/inc/ascfldlg.hxx4
-rw-r--r--sw/source/uibase/inc/basesh.hxx4
-rw-r--r--sw/source/uibase/inc/bookmark.hxx14
-rw-r--r--sw/source/uibase/inc/break.hxx10
-rw-r--r--sw/source/uibase/inc/changedb.hxx6
-rw-r--r--sw/source/uibase/inc/chldwrap.hxx2
-rw-r--r--sw/source/uibase/inc/chrdlg.hxx4
-rw-r--r--sw/source/uibase/inc/column.hxx24
-rw-r--r--sw/source/uibase/inc/conttree.hxx14
-rw-r--r--sw/source/uibase/inc/convert.hxx8
-rw-r--r--sw/source/uibase/inc/cption.hxx10
-rw-r--r--sw/source/uibase/inc/dbinsdlg.hxx16
-rw-r--r--sw/source/uibase/inc/dbtree.hxx2
-rw-r--r--sw/source/uibase/inc/docfnote.hxx2
-rw-r--r--sw/source/uibase/inc/docstdlg.hxx2
-rw-r--r--sw/source/uibase/inc/drpcps.hxx8
-rw-r--r--sw/source/uibase/inc/drwbassh.hxx4
-rw-r--r--sw/source/uibase/inc/edtwin.hxx10
-rw-r--r--sw/source/uibase/inc/envlop.hxx6
-rw-r--r--sw/source/uibase/inc/fldedt.hxx6
-rw-r--r--sw/source/uibase/inc/fldtdlg.hxx4
-rw-r--r--sw/source/uibase/inc/frmpage.hxx32
-rw-r--r--sw/source/uibase/inc/glosbib.hxx12
-rw-r--r--sw/source/uibase/inc/glossary.hxx22
-rw-r--r--sw/source/uibase/inc/inpdlg.hxx2
-rw-r--r--sw/source/uibase/inc/inputwin.hxx8
-rw-r--r--sw/source/uibase/inc/insfnote.hxx10
-rw-r--r--sw/source/uibase/inc/instable.hxx14
-rw-r--r--sw/source/uibase/inc/javaedit.hxx12
-rw-r--r--sw/source/uibase/inc/linenum.hxx6
-rw-r--r--sw/source/uibase/inc/mailconfigpage.hxx6
-rw-r--r--sw/source/uibase/inc/mailmergehelper.hxx2
-rw-r--r--sw/source/uibase/inc/mailmrge.hxx12
-rw-r--r--sw/source/uibase/inc/multmrk.hxx2
-rw-r--r--sw/source/uibase/inc/navipi.hxx24
-rw-r--r--sw/source/uibase/inc/num.hxx28
-rw-r--r--sw/source/uibase/inc/numfmtlb.hxx2
-rw-r--r--sw/source/uibase/inc/numpara.hxx10
-rw-r--r--sw/source/uibase/inc/optcomp.hxx4
-rw-r--r--sw/source/uibase/inc/optload.hxx16
-rw-r--r--sw/source/uibase/inc/optpage.hxx28
-rw-r--r--sw/source/uibase/inc/outline.hxx22
-rw-r--r--sw/source/uibase/inc/pgfnote.hxx10
-rw-r--r--sw/source/uibase/inc/pggrid.hxx16
-rw-r--r--sw/source/uibase/inc/pview.hxx4
-rw-r--r--sw/source/uibase/inc/redlndlg.hxx22
-rw-r--r--sw/source/uibase/inc/regionsw.hxx54
-rw-r--r--sw/source/uibase/inc/selglos.hxx2
-rw-r--r--sw/source/uibase/inc/srcedtw.hxx4
-rw-r--r--sw/source/uibase/inc/srtdlg.hxx8
-rw-r--r--sw/source/uibase/inc/swrenamexnameddlg.hxx4
-rw-r--r--sw/source/uibase/inc/swruler.hxx2
-rw-r--r--sw/source/uibase/inc/swuiccoll.hxx12
-rw-r--r--sw/source/uibase/inc/swuicnttab.hxx78
-rw-r--r--sw/source/uibase/inc/swuiidxmrk.hxx42
-rw-r--r--sw/source/uibase/inc/syncbtn.hxx2
-rw-r--r--sw/source/uibase/inc/tautofmt.hxx12
-rw-r--r--sw/source/uibase/inc/textsh.hxx4
-rw-r--r--sw/source/uibase/inc/titlepage.hxx14
-rw-r--r--sw/source/uibase/inc/unotools.hxx4
-rw-r--r--sw/source/uibase/inc/wordcountdialog.hxx2
-rw-r--r--sw/source/uibase/inc/workctrl.hxx4
-rw-r--r--sw/source/uibase/inc/wrap.hxx8
-rw-r--r--sw/source/uibase/inc/wrtsh.hxx4
67 files changed, 378 insertions, 378 deletions
diff --git a/sw/source/uibase/inc/DropDownFieldDialog.hxx b/sw/source/uibase/inc/DropDownFieldDialog.hxx
index 7b18b6bc918c..d670afb55c70 100644
--- a/sw/source/uibase/inc/DropDownFieldDialog.hxx
+++ b/sw/source/uibase/inc/DropDownFieldDialog.hxx
@@ -43,9 +43,9 @@ class DropDownFieldDialog : public SvxStandardDialog
SwWrtShell &rSh;
SwDropDownField* pDropField;
- DECL_LINK_TYPED(ButtonHdl, Button*, void);
+ DECL_LINK(ButtonHdl, Button*, void);
virtual void Apply() override;
- DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void);
+ DECL_LINK(DoubleClickHdl, ListBox&, void);
public:
DropDownFieldDialog( vcl::Window *pParent, SwWrtShell &rSh,
SwField* pField, bool bNextButton );
diff --git a/sw/source/uibase/inc/HeaderFooterWin.hxx b/sw/source/uibase/inc/HeaderFooterWin.hxx
index 9a451b9a0bdf..6e9fec7be6a1 100644
--- a/sw/source/uibase/inc/HeaderFooterWin.hxx
+++ b/sw/source/uibase/inc/HeaderFooterWin.hxx
@@ -50,7 +50,7 @@ public:
void SetReadonly( bool bReadonly ) override;
private:
- DECL_LINK_TYPED( FadeHandler, Timer *, void );
+ DECL_LINK( FadeHandler, Timer *, void );
};
#endif
diff --git a/sw/source/uibase/inc/PageBreakWin.hxx b/sw/source/uibase/inc/PageBreakWin.hxx
index 8d2ff93610ae..0f2e7dc8a04f 100644
--- a/sw/source/uibase/inc/PageBreakWin.hxx
+++ b/sw/source/uibase/inc/PageBreakWin.hxx
@@ -53,8 +53,8 @@ public:
private:
/// Hide the button (used when the popup menu is closed by clicking outside)
- DECL_LINK_TYPED( HideHandler, Menu *, bool );
- DECL_LINK_TYPED( FadeHandler, Timer *, void );
+ DECL_LINK( HideHandler, Menu *, bool );
+ DECL_LINK( FadeHandler, Timer *, void );
};
#endif
diff --git a/sw/source/uibase/inc/ascfldlg.hxx b/sw/source/uibase/inc/ascfldlg.hxx
index c85a0ca5fff3..99fbba32833f 100644
--- a/sw/source/uibase/inc/ascfldlg.hxx
+++ b/sw/source/uibase/inc/ascfldlg.hxx
@@ -42,8 +42,8 @@ class SwAsciiFilterDlg : public SfxModalDialog
VclPtr<RadioButton> m_pLF_RB;
bool m_bSaveLineStatus;
- DECL_LINK_TYPED( CharSetSelHdl, ListBox&, void );
- DECL_LINK_TYPED( LineEndHdl, RadioButton&, void );
+ DECL_LINK( CharSetSelHdl, ListBox&, void );
+ DECL_LINK( LineEndHdl, RadioButton&, void );
void SetCRLF( LineEnd eEnd );
LineEnd GetCRLF() const;
diff --git a/sw/source/uibase/inc/basesh.hxx b/sw/source/uibase/inc/basesh.hxx
index 694ccc47ec7d..52133ede7095 100644
--- a/sw/source/uibase/inc/basesh.hxx
+++ b/sw/source/uibase/inc/basesh.hxx
@@ -50,7 +50,7 @@ class SwBaseShell: public SfxShell
// Update-Timer for graphic
std::set<sal_uInt16> aGrfUpdateSlots;
- DECL_LINK_TYPED( GraphicArrivedHdl, SwCursorShell&, void );
+ DECL_LINK( GraphicArrivedHdl, SwCursorShell&, void );
protected:
SwWrtShell& GetShell();
@@ -60,7 +60,7 @@ protected:
inline void SetGetStateSet( SfxItemSet* p ) { pGetStateSet = p; }
inline bool AddGrfUpdateSlot( sal_uInt16 nSlot ){ return aGrfUpdateSlots.insert( nSlot ).second; }
- DECL_LINK_TYPED( InsertDBTextHdl, void*, void );
+ DECL_LINK( InsertDBTextHdl, void*, void );
void InsertURLButton( const OUString& rURL, const OUString& rTarget, const OUString& rText );
void InsertTable( SfxRequest& _rRequest );
diff --git a/sw/source/uibase/inc/bookmark.hxx b/sw/source/uibase/inc/bookmark.hxx
index c7fbd5c5b53b..9d6d471222d9 100644
--- a/sw/source/uibase/inc/bookmark.hxx
+++ b/sw/source/uibase/inc/bookmark.hxx
@@ -63,13 +63,13 @@ class SwInsertBookmarkDlg: public SvxStandardDialog
std::vector<std::pair<sw::mark::IMark*, OUString>> aTableBookmarks;
sal_Int32 m_nLastBookmarksCount;
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
- DECL_LINK_TYPED(InsertHdl, Button*, void);
- DECL_LINK_TYPED(DeleteHdl, Button*, void);
- DECL_LINK_TYPED(RenameHdl, Button*, void);
- DECL_LINK_TYPED(GotoHdl, Button*, void);
- DECL_LINK_TYPED(SelectionChangedHdl, SvTreeListBox*, void);
- DECL_LINK_TYPED(DoubleClickHdl, SvTreeListBox*, bool);
+ DECL_LINK(ModifyHdl, Edit&, void);
+ DECL_LINK(InsertHdl, Button*, void);
+ DECL_LINK(DeleteHdl, Button*, void);
+ DECL_LINK(RenameHdl, Button*, void);
+ DECL_LINK(GotoHdl, Button*, void);
+ DECL_LINK(SelectionChangedHdl, SvTreeListBox*, void);
+ DECL_LINK(DoubleClickHdl, SvTreeListBox*, bool);
// Fill table with bookmarks
void PopulateTable();
diff --git a/sw/source/uibase/inc/break.hxx b/sw/source/uibase/inc/break.hxx
index e77362b66603..822e0e436bde 100644
--- a/sw/source/uibase/inc/break.hxx
+++ b/sw/source/uibase/inc/break.hxx
@@ -51,11 +51,11 @@ class SwBreakDlg: public SvxStandardDialog
bool bHtmlMode;
- DECL_LINK_TYPED( ClickHdl, Button*, void );
- DECL_LINK_TYPED( SelectHdl, ListBox&, void );
- DECL_LINK_TYPED( PageNumHdl, Button*, void );
- DECL_LINK_TYPED(PageNumModifyHdl, Edit&, void);
- DECL_LINK_TYPED(OkHdl, Button*, void);
+ DECL_LINK( ClickHdl, Button*, void );
+ DECL_LINK( SelectHdl, ListBox&, void );
+ DECL_LINK( PageNumHdl, Button*, void );
+ DECL_LINK(PageNumModifyHdl, Edit&, void);
+ DECL_LINK(OkHdl, Button*, void);
void CheckEnable();
diff --git a/sw/source/uibase/inc/changedb.hxx b/sw/source/uibase/inc/changedb.hxx
index cc742de2f208..0696c1ff456f 100644
--- a/sw/source/uibase/inc/changedb.hxx
+++ b/sw/source/uibase/inc/changedb.hxx
@@ -45,9 +45,9 @@ class SwChangeDBDlg: public SvxStandardDialog
SwWrtShell *pSh;
- DECL_LINK_TYPED(TreeSelectHdl, SvTreeListBox*, void);
- DECL_LINK_TYPED(ButtonHdl, Button*, void);
- DECL_LINK_TYPED(AddDBHdl, Button*, void);
+ DECL_LINK(TreeSelectHdl, SvTreeListBox*, void);
+ DECL_LINK(ButtonHdl, Button*, void);
+ DECL_LINK(AddDBHdl, Button*, void);
virtual void Apply() override;
void UpdateFields();
diff --git a/sw/source/uibase/inc/chldwrap.hxx b/sw/source/uibase/inc/chldwrap.hxx
index ac457f1f8a31..7f0b46e4f13e 100644
--- a/sw/source/uibase/inc/chldwrap.hxx
+++ b/sw/source/uibase/inc/chldwrap.hxx
@@ -29,7 +29,7 @@ class SwChildWinWrapper : public SfxChildWindow
Timer m_aUpdateTimer;
SwDocShell* m_pDocSh;
- DECL_LINK_TYPED( UpdateHdl, Timer*, void );
+ DECL_LINK( UpdateHdl, Timer*, void );
// Implementation in fldtdlg.cxx
protected:
diff --git a/sw/source/uibase/inc/chrdlg.hxx b/sw/source/uibase/inc/chrdlg.hxx
index 97534091109f..5a955aa3dd60 100644
--- a/sw/source/uibase/inc/chrdlg.hxx
+++ b/sw/source/uibase/inc/chrdlg.hxx
@@ -70,8 +70,8 @@ class SwCharURLPage : public SfxTabPage
SvxMacroItem* pINetItem;
bool bModified;
- DECL_LINK_TYPED(InsertFileHdl, Button*, void);
- DECL_LINK_TYPED(EventHdl, Button*, void);
+ DECL_LINK(InsertFileHdl, Button*, void);
+ DECL_LINK(EventHdl, Button*, void);
public:
SwCharURLPage( vcl::Window* pParent,
diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx
index 446221c6681e..bbaaef6cad08 100644
--- a/sw/source/uibase/inc/column.hxx
+++ b/sw/source/uibase/inc/column.hxx
@@ -60,8 +60,8 @@ class SwColumnDlg : public SfxModalDialog
bool bSelSectionChanged : 1;
bool bFrameChanged : 1;
- DECL_LINK_TYPED(ObjectListBoxHdl, ListBox&, void);
- DECL_LINK_TYPED(OkHdl, Button*, void);
+ DECL_LINK(ObjectListBoxHdl, ListBox&, void);
+ DECL_LINK(OkHdl, Button*, void);
void ObjectHdl(ListBox*);
public:
@@ -135,17 +135,17 @@ class SwColumnPage : public SfxTabPage
bool m_bLockUpdate;
// Handler
- DECL_LINK_TYPED( ColModify, Edit&, void );
+ DECL_LINK( ColModify, Edit&, void );
void ColModify(NumericField*);
- DECL_LINK_TYPED( GapModify, Edit&, void );
- DECL_LINK_TYPED( EdModify, Edit&, void );
- DECL_LINK_TYPED( AutoWidthHdl, Button *, void );
- DECL_LINK_TYPED( SetDefaultsHdl, ValueSet *, void );
-
- DECL_LINK_TYPED( Up, Button *, void );
- DECL_LINK_TYPED( Down, Button *, void );
- DECL_LINK_TYPED( UpdateColMgr, Edit&, void );
- DECL_LINK_TYPED( UpdateColMgrListBox, ListBox&, void );
+ DECL_LINK( GapModify, Edit&, void );
+ DECL_LINK( EdModify, Edit&, void );
+ DECL_LINK( AutoWidthHdl, Button *, void );
+ DECL_LINK( SetDefaultsHdl, ValueSet *, void );
+
+ DECL_LINK( Up, Button *, void );
+ DECL_LINK( Down, Button *, void );
+ DECL_LINK( UpdateColMgr, Edit&, void );
+ DECL_LINK( UpdateColMgrListBox, ListBox&, void );
void Timeout();
void Update(MetricField *pInteractiveField);
diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx
index 3138f90c873c..9598b76e6999 100644
--- a/sw/source/uibase/inc/conttree.hxx
+++ b/sw/source/uibase/inc/conttree.hxx
@@ -212,8 +212,8 @@ public:
const SwWrtShell* GetActiveWrtShell() {return m_pActiveShell;}
SwWrtShell* GetHiddenWrtShell() {return m_pHiddenShell;}
- DECL_LINK_TYPED( ContentDoubleClickHdl, SvTreeListBox*, bool );
- DECL_LINK_TYPED( TimerUpdate, Timer *, void );
+ DECL_LINK( ContentDoubleClickHdl, SvTreeListBox*, bool );
+ DECL_LINK( TimerUpdate, Timer *, void );
virtual sal_IntPtr GetTabPos( SvTreeListEntry*, SvLBoxTab* ) override;
virtual void RequestingChildren( SvTreeListEntry* pParent ) override;
@@ -269,7 +269,7 @@ private:
void InsertRegion( const SwGlblDocContent* _pContent,
const css::uno::Sequence< OUString >& _rFiles );
- DECL_LINK_TYPED( DialogClosedHdl, sfx2::FileDialogHelper*, void );
+ DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void );
using SvTreeListBox::DoubleClickHdl;
using SvTreeListBox::ExecuteDrop;
@@ -312,9 +312,9 @@ protected:
void Clear();
- DECL_LINK_TYPED( PopupHdl, Menu*, bool );
- DECL_LINK_TYPED( Timeout, Timer*, void );
- DECL_LINK_TYPED( DoubleClickHdl, SvTreeListBox*, bool );
+ DECL_LINK( PopupHdl, Menu*, bool );
+ DECL_LINK( Timeout, Timer*, void );
+ DECL_LINK( DoubleClickHdl, SvTreeListBox*, bool );
SwNavigationPI* GetParentWindow();
@@ -324,7 +324,7 @@ protected:
static const SfxObjectShell* GetShowShell() {return pShowShell;}
static void SetShowShell(const SfxObjectShell*pSet) {pShowShell = pSet;}
- DECL_STATIC_LINK_TYPED(SwGlobalTree, ShowFrameHdl, void*, void);
+ DECL_STATIC_LINK(SwGlobalTree, ShowFrameHdl, void*, void);
virtual VclPtr<PopupMenu> CreateContextMenu() override;
virtual void ExecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ) override;
diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx
index d8bfbebd406b..d28bd47cc4b8 100644
--- a/sw/source/uibase/inc/convert.hxx
+++ b/sw/source/uibase/inc/convert.hxx
@@ -55,10 +55,10 @@ class SwConvertTableDlg: public SfxModalDialog
SwTableAutoFormat* pTAutoFormat;
SwWrtShell* pShell;
- DECL_LINK_TYPED( AutoFormatHdl, Button*, void );
- DECL_LINK_TYPED( BtnHdl, Button*, void );
- DECL_LINK_TYPED( CheckBoxHdl, Button* = nullptr, void );
- DECL_LINK_TYPED( ReapeatHeaderCheckBoxHdl, Button* = nullptr, void );
+ DECL_LINK( AutoFormatHdl, Button*, void );
+ DECL_LINK( BtnHdl, Button*, void );
+ DECL_LINK( CheckBoxHdl, Button* = nullptr, void );
+ DECL_LINK( ReapeatHeaderCheckBoxHdl, Button* = nullptr, void );
public:
SwConvertTableDlg( SwView& rView, bool bToTable );
diff --git a/sw/source/uibase/inc/cption.hxx b/sw/source/uibase/inc/cption.hxx
index 36b5d2c98226..75d664c1a60d 100644
--- a/sw/source/uibase/inc/cption.hxx
+++ b/sw/source/uibase/inc/cption.hxx
@@ -93,11 +93,11 @@ class SwCaptionDialog : public SvxStandardDialog
css::uno::Reference< css::container::XNameAccess > xNameAccess;
- DECL_LINK_TYPED(SelectHdl, ComboBox&, void);
- DECL_LINK_TYPED(SelectListBoxHdl, ListBox&, void);
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
- DECL_LINK_TYPED(OptionHdl, Button *, void);
- DECL_LINK_TYPED(CaptionHdl, Button *, void);
+ DECL_LINK(SelectHdl, ComboBox&, void);
+ DECL_LINK(SelectListBoxHdl, ListBox&, void);
+ DECL_LINK(ModifyHdl, Edit&, void);
+ DECL_LINK(OptionHdl, Button *, void);
+ DECL_LINK(CaptionHdl, Button *, void);
virtual void Apply() override;
diff --git a/sw/source/uibase/inc/dbinsdlg.hxx b/sw/source/uibase/inc/dbinsdlg.hxx
index d7d9bf953d79..ef71b6492e9e 100644
--- a/sw/source/uibase/inc/dbinsdlg.hxx
+++ b/sw/source/uibase/inc/dbinsdlg.hxx
@@ -132,14 +132,14 @@ class SwInsertDBColAutoPilot : public SfxModalDialog, public utl::ConfigItem
SwTableRep* pRep;
sal_Int32 nGBFormatLen;
- DECL_LINK_TYPED( PageHdl, Button*, void );
- DECL_LINK_TYPED( AutoFormatHdl, Button*, void );
- DECL_LINK_TYPED( TableFormatHdl, Button*, void );
- DECL_LINK_TYPED( DBFormatHdl, Button*, void );
- DECL_LINK_TYPED( TableToFromHdl, Button*, void );
- DECL_LINK_TYPED( SelectHdl, ListBox&, void );
- DECL_LINK_TYPED( DblClickHdl, ListBox&, void );
- DECL_LINK_TYPED( HeaderHdl, Button*, void );
+ DECL_LINK( PageHdl, Button*, void );
+ DECL_LINK( AutoFormatHdl, Button*, void );
+ DECL_LINK( TableFormatHdl, Button*, void );
+ DECL_LINK( DBFormatHdl, Button*, void );
+ DECL_LINK( TableToFromHdl, Button*, void );
+ DECL_LINK( SelectHdl, ListBox&, void );
+ DECL_LINK( DblClickHdl, ListBox&, void );
+ DECL_LINK( HeaderHdl, Button*, void );
bool SplitTextToColArr( const OUString& rText, DB_Columns& rColArr, bool bInsField );
using SfxModalDialog::Notify;
diff --git a/sw/source/uibase/inc/dbtree.hxx b/sw/source/uibase/inc/dbtree.hxx
index a12a0f7fddb5..fb94bc51aa86 100644
--- a/sw/source/uibase/inc/dbtree.hxx
+++ b/sw/source/uibase/inc/dbtree.hxx
@@ -37,7 +37,7 @@ class SW_DLLPUBLIC SwDBTreeList : public SvTreeListBox
SwDBTreeList_Impl* pImpl;
- DECL_DLLPRIVATE_LINK_TYPED( DBCompare, const SvSortData&, sal_Int32 );
+ DECL_DLLPRIVATE_LINK( DBCompare, const SvSortData&, sal_Int32 );
SAL_DLLPRIVATE void InitTreeList();
SAL_DLLPRIVATE virtual void RequestingChildren( SvTreeListEntry* pParent ) override;
diff --git a/sw/source/uibase/inc/docfnote.hxx b/sw/source/uibase/inc/docfnote.hxx
index 3a66f8bc4637..61393659cc51 100644
--- a/sw/source/uibase/inc/docfnote.hxx
+++ b/sw/source/uibase/inc/docfnote.hxx
@@ -33,7 +33,7 @@ class SwFootNoteOptionDlg :public SfxTabDialog
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) override;
- DECL_LINK_TYPED( OkHdl, Button *, void );
+ DECL_LINK( OkHdl, Button *, void );
public:
SwFootNoteOptionDlg(vcl::Window *pParent, SwWrtShell &rSh );
diff --git a/sw/source/uibase/inc/docstdlg.hxx b/sw/source/uibase/inc/docstdlg.hxx
index ef9505685598..a238c1c2b7f1 100644
--- a/sw/source/uibase/inc/docstdlg.hxx
+++ b/sw/source/uibase/inc/docstdlg.hxx
@@ -40,7 +40,7 @@ protected:
virtual bool FillItemSet( SfxItemSet *rSet) override;
virtual void Reset (const SfxItemSet *rSet) override;
- DECL_LINK_TYPED(UpdateHdl, Button*, void);
+ DECL_LINK(UpdateHdl, Button*, void);
private:
VclPtr<FixedText> m_pPageNo;
diff --git a/sw/source/uibase/inc/drpcps.hxx b/sw/source/uibase/inc/drpcps.hxx
index ca92eb943f5f..c5e698b926f3 100644
--- a/sw/source/uibase/inc/drpcps.hxx
+++ b/sw/source/uibase/inc/drpcps.hxx
@@ -69,10 +69,10 @@ friend class SwDropCapsPict;
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
void FillSet( SfxItemSet &rSet );
- DECL_LINK_TYPED( ClickHdl, Button*, void );
- DECL_LINK_TYPED( ModifyHdl, Edit&, void );
- DECL_LINK_TYPED( SelectHdl, ListBox&, void );
- DECL_LINK_TYPED( WholeWordHdl, Button*, void );
+ DECL_LINK( ClickHdl, Button*, void );
+ DECL_LINK( ModifyHdl, Edit&, void );
+ DECL_LINK( SelectHdl, ListBox&, void );
+ DECL_LINK( WholeWordHdl, Button*, void );
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
diff --git a/sw/source/uibase/inc/drwbassh.hxx b/sw/source/uibase/inc/drwbassh.hxx
index 9ae0f9fd28a3..65565443dd66 100644
--- a/sw/source/uibase/inc/drwbassh.hxx
+++ b/sw/source/uibase/inc/drwbassh.hxx
@@ -30,8 +30,8 @@ struct SvxSwFrameValidation;
class SwDrawBaseShell: public SwBaseShell
{
- DECL_LINK_TYPED( CheckGroupShapeNameHdl, AbstractSvxObjectNameDialog&, bool );
- DECL_LINK_TYPED(ValidatePosition, SvxSwFrameValidation&, void );
+ DECL_LINK( CheckGroupShapeNameHdl, AbstractSvxObjectNameDialog&, bool );
+ DECL_LINK(ValidatePosition, SvxSwFrameValidation&, void );
public:
SwDrawBaseShell(SwView &rShell);
virtual ~SwDrawBaseShell() override;
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx
index a988735e88ac..bc390609a41b 100644
--- a/sw/source/uibase/inc/edtwin.hxx
+++ b/sw/source/uibase/inc/edtwin.hxx
@@ -167,19 +167,19 @@ friend void PageNumNotify( SwViewShell* pVwSh,
* The selection is regularly increased towards the mouse
* position.
*/
- DECL_LINK_TYPED( TimerHandler, Timer *, void );
+ DECL_LINK( TimerHandler, Timer *, void );
void StartDDTimer();
void StopDDTimer(SwWrtShell *, const Point &);
- DECL_LINK_TYPED( DDHandler, Timer *, void );
+ DECL_LINK( DDHandler, Timer *, void );
// timer for ANY-KeyInut question without a following KeyInputEvent
- DECL_LINK_TYPED( KeyInputFlushHandler, Timer *, void );
+ DECL_LINK( KeyInputFlushHandler, Timer *, void );
// timer for overlapping KeyInputs (e.g. for tables)
- DECL_LINK_TYPED( KeyInputTimerHandler, Timer *, void );
+ DECL_LINK( KeyInputTimerHandler, Timer *, void );
// timer for ApplyTemplates via mouse (in disguise Drag&Drop)
- DECL_LINK_TYPED( TemplateTimerHdl, Idle *, void );
+ DECL_LINK( TemplateTimerHdl, Idle *, void );
void MoveCursor( SwWrtShell &rSh, const Point& rDocPos,
const bool bOnlyText, bool bLockView );
diff --git a/sw/source/uibase/inc/envlop.hxx b/sw/source/uibase/inc/envlop.hxx
index 33edd2b73acb..d454715ec010 100644
--- a/sw/source/uibase/inc/envlop.hxx
+++ b/sw/source/uibase/inc/envlop.hxx
@@ -90,9 +90,9 @@ class SwEnvPage : public SfxTabPage
SwWrtShell* pSh;
OUString sActDBName;
- DECL_LINK_TYPED( DatabaseHdl, ListBox&, void );
- DECL_LINK_TYPED(FieldHdl, Button*, void );
- DECL_LINK_TYPED(SenderHdl, Button*, void );
+ DECL_LINK( DatabaseHdl, ListBox&, void );
+ DECL_LINK(FieldHdl, Button*, void );
+ DECL_LINK(SenderHdl, Button*, void );
void InitDatabaseBox();
diff --git a/sw/source/uibase/inc/fldedt.hxx b/sw/source/uibase/inc/fldedt.hxx
index 7673e6231e59..54e8b05df01a 100644
--- a/sw/source/uibase/inc/fldedt.hxx
+++ b/sw/source/uibase/inc/fldedt.hxx
@@ -32,8 +32,8 @@ class SwFieldEditDlg : public SfxSingleTabDialog
VclPtr<PushButton> m_pNextBT;
VclPtr<PushButton> m_pAddressBT;
- DECL_LINK_TYPED(AddressHdl, Button *, void);
- DECL_LINK_TYPED(NextPrevHdl, Button *, void);
+ DECL_LINK(AddressHdl, Button *, void);
+ DECL_LINK(NextPrevHdl, Button *, void);
void Init();
VclPtr<SfxTabPage> CreatePage(sal_uInt16 nGroup);
@@ -45,7 +45,7 @@ public:
virtual ~SwFieldEditDlg() override;
virtual void dispose() override;
- DECL_LINK_TYPED(OKHdl, Button*, void);
+ DECL_LINK(OKHdl, Button*, void);
virtual short Execute() override;
diff --git a/sw/source/uibase/inc/fldtdlg.hxx b/sw/source/uibase/inc/fldtdlg.hxx
index fd4de61d23c2..59972d880000 100644
--- a/sw/source/uibase/inc/fldtdlg.hxx
+++ b/sw/source/uibase/inc/fldtdlg.hxx
@@ -50,8 +50,8 @@ public:
SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, vcl::Window *pParent);
virtual ~SwFieldDlg() override;
- DECL_LINK_TYPED(OKHdl, Button*, void);
- DECL_LINK_TYPED(CancelHdl, Button*, void);
+ DECL_LINK(OKHdl, Button*, void);
+ DECL_LINK(CancelHdl, Button*, void);
void Initialize(SfxChildWinInfo *pInfo);
void ReInitDlg();
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index 7978ef994198..cd49e402dbad 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -130,26 +130,26 @@ class SwFramePage: public SfxTabPage
virtual void ActivatePage(const SfxItemSet& rSet) override;
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
- DECL_LINK_TYPED(RangeModifyLoseFocusHdl, Control&, void);
- DECL_LINK_TYPED(RangeModifyClickHdl, Button*, void);
+ DECL_LINK(RangeModifyLoseFocusHdl, Control&, void);
+ DECL_LINK(RangeModifyClickHdl, Button*, void);
void RangeModifyHdl();
- DECL_LINK_TYPED(AnchorTypeHdl, Button*, void);
- DECL_LINK_TYPED( PosHdl, ListBox&, void );
- DECL_LINK_TYPED( RelHdl, ListBox&, void );
+ DECL_LINK(AnchorTypeHdl, Button*, void);
+ DECL_LINK( PosHdl, ListBox&, void );
+ DECL_LINK( RelHdl, ListBox&, void );
void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel,
sal_Int16 nV, sal_Int16 nVRel,
long nX, long nY);
- DECL_LINK_TYPED(RealSizeHdl, Button *, void);
- DECL_LINK_TYPED( RelSizeClickHdl, Button *, void );
- DECL_LINK_TYPED(MirrorHdl, Button *, void);
+ DECL_LINK(RealSizeHdl, Button *, void);
+ DECL_LINK( RelSizeClickHdl, Button *, void );
+ DECL_LINK(MirrorHdl, Button *, void);
- DECL_LINK_TYPED( AutoWidthClickHdl, Button *, void);
- DECL_LINK_TYPED( AutoHeightClickHdl, Button *, void);
+ DECL_LINK( AutoWidthClickHdl, Button *, void);
+ DECL_LINK( AutoHeightClickHdl, Button *, void);
// update example
void UpdateExample();
- DECL_LINK_TYPED( ModifyHdl, Edit&, void );
+ DECL_LINK( ModifyHdl, Edit&, void );
void Init(const SfxItemSet& rSet, bool bReset = false);
// OD 12.11.2003 #i22341# - adjustment to handle maps, that are ambigous
@@ -223,8 +223,8 @@ class SwGrfExtPage: public SfxTabPage
bool bHtmlMode;
// handler for mirroring
- DECL_LINK_TYPED(MirrorHdl, Button*, void);
- DECL_LINK_TYPED(BrowseHdl, Button*, void);
+ DECL_LINK(MirrorHdl, Button*, void);
+ DECL_LINK(BrowseHdl, Button*, void);
virtual void ActivatePage(const SfxItemSet& rSet) override;
virtual ~SwGrfExtPage() override;
@@ -255,7 +255,7 @@ class SwFrameURLPage : public SfxTabPage
VclPtr<CheckBox> pServerCB;
VclPtr<CheckBox> pClientCB;
- DECL_LINK_TYPED(InsertFileHdl, Button*, void);
+ DECL_LINK(InsertFileHdl, Button*, void);
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
@@ -304,8 +304,8 @@ class SwFrameAddPage : public SfxTabPage
bool m_bFormat;
bool m_bNew;
- DECL_LINK_TYPED(EditModifyHdl, Edit&, void);
- DECL_LINK_TYPED(ChainModifyHdl, ListBox&, void);
+ DECL_LINK(EditModifyHdl, Edit&, void);
+ DECL_LINK(ChainModifyHdl, ListBox&, void);
static const sal_uInt16 aAddPgRg[];
diff --git a/sw/source/uibase/inc/glosbib.hxx b/sw/source/uibase/inc/glosbib.hxx
index 34cf12a19cda..eb2ca5888665 100644
--- a/sw/source/uibase/inc/glosbib.hxx
+++ b/sw/source/uibase/inc/glosbib.hxx
@@ -86,12 +86,12 @@ class SwGlossaryGroupDlg : public SvxStandardDialog
protected:
virtual void Apply() override;
- DECL_LINK_TYPED( SelectHdl, SvTreeListBox*, void );
- DECL_LINK_TYPED( NewHdl, Button *, void );
- DECL_LINK_TYPED( DeleteHdl, Button*, void );
- DECL_LINK_TYPED( ModifyHdl, Edit&, void );
- DECL_LINK_TYPED( ModifyListBoxHdl, ListBox&, void );
- DECL_LINK_TYPED( RenameHdl, Button *, void );
+ DECL_LINK( SelectHdl, SvTreeListBox*, void );
+ DECL_LINK( NewHdl, Button *, void );
+ DECL_LINK( DeleteHdl, Button*, void );
+ DECL_LINK( ModifyHdl, Edit&, void );
+ DECL_LINK( ModifyListBoxHdl, ListBox&, void );
+ DECL_LINK( RenameHdl, Button *, void );
public:
SwGlossaryGroupDlg(vcl::Window * pParent,
diff --git a/sw/source/uibase/inc/glossary.hxx b/sw/source/uibase/inc/glossary.hxx
index bbf7f1fc57e7..9cefe618c554 100644
--- a/sw/source/uibase/inc/glossary.hxx
+++ b/sw/source/uibase/inc/glossary.hxx
@@ -125,17 +125,17 @@ class SwGlossaryDlg : public SvxStandardDialog
void EnableShortName(bool bOn = true);
void ShowPreview();
- DECL_LINK_TYPED( NameModify, Edit&, void );
- DECL_LINK_TYPED( NameDoubleClick, SvTreeListBox*, bool );
- DECL_LINK_TYPED( GrpSelect, SvTreeListBox *, void );
- DECL_LINK_TYPED( MenuHdl, Menu *, bool );
- DECL_LINK_TYPED( EnableHdl, Menu *, bool );
- DECL_LINK_TYPED( BibHdl, Button *, void );
- DECL_LINK_TYPED( EditHdl, MenuButton *, void );
- DECL_LINK_TYPED( InsertHdl, Button *, void );
- DECL_LINK_TYPED( PathHdl, Button *, void );
- DECL_LINK_TYPED( CheckBoxHdl, Button*, void );
- DECL_LINK_TYPED( PreviewLoadedHdl, SwOneExampleFrame&, void );
+ DECL_LINK( NameModify, Edit&, void );
+ DECL_LINK( NameDoubleClick, SvTreeListBox*, bool );
+ DECL_LINK( GrpSelect, SvTreeListBox *, void );
+ DECL_LINK( MenuHdl, Menu *, bool );
+ DECL_LINK( EnableHdl, Menu *, bool );
+ DECL_LINK( BibHdl, Button *, void );
+ DECL_LINK( EditHdl, MenuButton *, void );
+ DECL_LINK( InsertHdl, Button *, void );
+ DECL_LINK( PathHdl, Button *, void );
+ DECL_LINK( CheckBoxHdl, Button*, void );
+ DECL_LINK( PreviewLoadedHdl, SwOneExampleFrame&, void );
virtual void Apply() override;
void Init();
diff --git a/sw/source/uibase/inc/inpdlg.hxx b/sw/source/uibase/inc/inpdlg.hxx
index 1c75245edf55..505ed6d52958 100644
--- a/sw/source/uibase/inc/inpdlg.hxx
+++ b/sw/source/uibase/inc/inpdlg.hxx
@@ -49,7 +49,7 @@ class SwFieldInputDlg: public SvxStandardDialog
VclPtr<OKButton> m_pOKBT;
VclPtr<PushButton> m_pNextBT;
- DECL_LINK_TYPED(NextHdl, Button*, void);
+ DECL_LINK(NextHdl, Button*, void);
public:
SwFieldInputDlg( vcl::Window *pParent, SwWrtShell &rSh,
SwField* pField, bool bNextButton );
diff --git a/sw/source/uibase/inc/inputwin.hxx b/sw/source/uibase/inc/inputwin.hxx
index 0f999eb61565..8f1249d7800b 100644
--- a/sw/source/uibase/inc/inputwin.hxx
+++ b/sw/source/uibase/inc/inputwin.hxx
@@ -66,15 +66,15 @@ friend class InputEdit;
void CleanupUglyHackWithUndo();
void DelBoxContent();
- DECL_LINK_TYPED( ModifyHdl, Edit&, void );
+ DECL_LINK( ModifyHdl, Edit&, void );
using Window::IsActive;
protected:
virtual void Resize() override;
virtual void Click() override;
- DECL_LINK_TYPED( MenuHdl, Menu *, bool );
- DECL_LINK_TYPED( DropdownClickHdl, ToolBox*, void );
+ DECL_LINK( MenuHdl, Menu *, bool );
+ DECL_LINK( DropdownClickHdl, ToolBox*, void );
void ApplyFormula();
void CancelFormula();
@@ -87,7 +87,7 @@ public:
void ShowWin();
- DECL_LINK_TYPED( SelTableCellsNotify, SwWrtShell&, void );
+ DECL_LINK( SelTableCellsNotify, SwWrtShell&, void );
void SetFormula( const OUString& rFormula );
const SwView* GetView() const{return pView;}
diff --git a/sw/source/uibase/inc/insfnote.hxx b/sw/source/uibase/inc/insfnote.hxx
index f8c24464d0ab..9f83638fd88d 100644
--- a/sw/source/uibase/inc/insfnote.hxx
+++ b/sw/source/uibase/inc/insfnote.hxx
@@ -54,11 +54,11 @@ class SwInsFootNoteDlg: public SvxStandardDialog
VclPtr<PushButton> m_pPrevBT;
VclPtr<PushButton> m_pNextBT;
- DECL_LINK_TYPED(NumberCharHdl, Button *, void);
- DECL_LINK_TYPED(NumberEditHdl, Edit&, void);
- DECL_LINK_TYPED(NumberAutoBtnHdl, Button *, void);
- DECL_LINK_TYPED(NumberExtCharHdl, Button *, void);
- DECL_LINK_TYPED(NextPrevHdl, Button *, void);
+ DECL_LINK(NumberCharHdl, Button *, void);
+ DECL_LINK(NumberEditHdl, Edit&, void);
+ DECL_LINK(NumberAutoBtnHdl, Button *, void);
+ DECL_LINK(NumberExtCharHdl, Button *, void);
+ DECL_LINK(NextPrevHdl, Button *, void);
virtual void Apply() override;
diff --git a/sw/source/uibase/inc/instable.hxx b/sw/source/uibase/inc/instable.hxx
index 51523e42b8a5..c1698b02654a 100644
--- a/sw/source/uibase/inc/instable.hxx
+++ b/sw/source/uibase/inc/instable.hxx
@@ -55,13 +55,13 @@ class SwInsTableDlg : public SfxModalDialog
SwTableAutoFormat* pTAutoFormat;
sal_Int64 nEnteredValRepeatHeaderNF;
- DECL_LINK_TYPED( ModifyName, Edit&, void );
- DECL_LINK_TYPED( ModifyRowCol, Edit&, void );
- DECL_LINK_TYPED( AutoFormatHdl, Button*, void );
- DECL_LINK_TYPED( OKHdl, Button*, void);
- DECL_LINK_TYPED( CheckBoxHdl, Button* = nullptr, void);
- DECL_LINK_TYPED( ReapeatHeaderCheckBoxHdl, Button* = nullptr, void);
- DECL_LINK_TYPED( ModifyRepeatHeaderNF_Hdl, Edit&, void );
+ DECL_LINK( ModifyName, Edit&, void );
+ DECL_LINK( ModifyRowCol, Edit&, void );
+ DECL_LINK( AutoFormatHdl, Button*, void );
+ DECL_LINK( OKHdl, Button*, void);
+ DECL_LINK( CheckBoxHdl, Button* = nullptr, void);
+ DECL_LINK( ReapeatHeaderCheckBoxHdl, Button* = nullptr, void);
+ DECL_LINK( ModifyRepeatHeaderNF_Hdl, Edit&, void );
public:
SwInsTableDlg( SwView& rView );
diff --git a/sw/source/uibase/inc/javaedit.hxx b/sw/source/uibase/inc/javaedit.hxx
index 14d1a4b8ff9c..22b8c4ce7c4f 100644
--- a/sw/source/uibase/inc/javaedit.hxx
+++ b/sw/source/uibase/inc/javaedit.hxx
@@ -55,12 +55,12 @@ private:
SwWrtShell* pSh;
sfx2::FileDialogHelper* pFileDlg;
- DECL_LINK_TYPED(OKHdl, Button*, void);
- DECL_LINK_TYPED(PrevHdl, Button*, void);
- DECL_LINK_TYPED(NextHdl, Button*, void);
- DECL_LINK_TYPED(RadioButtonHdl, Button*, void);
- DECL_LINK_TYPED(InsertFileHdl, Button *, void);
- DECL_LINK_TYPED(DlgClosedHdl, sfx2::FileDialogHelper *, void);
+ DECL_LINK(OKHdl, Button*, void);
+ DECL_LINK(PrevHdl, Button*, void);
+ DECL_LINK(NextHdl, Button*, void);
+ DECL_LINK(RadioButtonHdl, Button*, void);
+ DECL_LINK(InsertFileHdl, Button *, void);
+ DECL_LINK(DlgClosedHdl, sfx2::FileDialogHelper *, void);
virtual void Apply() override;
diff --git a/sw/source/uibase/inc/linenum.hxx b/sw/source/uibase/inc/linenum.hxx
index 387b2b647197..92dcf8eaf616 100644
--- a/sw/source/uibase/inc/linenum.hxx
+++ b/sw/source/uibase/inc/linenum.hxx
@@ -48,9 +48,9 @@ private:
VclPtr<CheckBox> m_pRestartEachPageCB;
VclPtr<CheckBox> m_pNumberingOnCB;
VclPtr<CheckBox> m_pNumberingOnFooterHeader;
- DECL_LINK_TYPED(OKHdl, Button*, void);
- DECL_LINK_TYPED(LineOnOffHdl, Button* = nullptr, void);
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
+ DECL_LINK(OKHdl, Button*, void);
+ DECL_LINK(LineOnOffHdl, Button* = nullptr, void);
+ DECL_LINK(ModifyHdl, Edit&, void);
public:
SwLineNumberingDlg(SwView *pVw);
diff --git a/sw/source/uibase/inc/mailconfigpage.hxx b/sw/source/uibase/inc/mailconfigpage.hxx
index f00b0a55caf0..063712110d89 100644
--- a/sw/source/uibase/inc/mailconfigpage.hxx
+++ b/sw/source/uibase/inc/mailconfigpage.hxx
@@ -50,9 +50,9 @@ class SwMailConfigPage : public SfxTabPage
SwMailMergeConfigItem* m_pConfigItem;
- DECL_LINK_TYPED(ReplyToHdl, Button*, void);
- DECL_LINK_TYPED(AuthenticationHdl, Button*, void);
- DECL_LINK_TYPED(TestHdl, Button*, void);
+ DECL_LINK(ReplyToHdl, Button*, void);
+ DECL_LINK(AuthenticationHdl, Button*, void);
+ DECL_LINK(TestHdl, Button*, void);
public:
SwMailConfigPage( vcl::Window* pParent, const SfxItemSet& rSet );
diff --git a/sw/source/uibase/inc/mailmergehelper.hxx b/sw/source/uibase/inc/mailmergehelper.hxx
index cb9b4a20789b..11f5c00ded6e 100644
--- a/sw/source/uibase/inc/mailmergehelper.hxx
+++ b/sw/source/uibase/inc/mailmergehelper.hxx
@@ -73,7 +73,7 @@ class SW_DLLPUBLIC SwAddressPreview : public vcl::Window
virtual void StateChanged( StateChangedType nStateChange ) override;
void UpdateScrollBar();
- DECL_LINK_TYPED(ScrollHdl, ScrollBar*,void);
+ DECL_LINK(ScrollHdl, ScrollBar*,void);
public:
SwAddressPreview(vcl::Window* pParent, WinBits nStyle);
diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx
index a0d801fb7654..d2a9d2bc2856 100644
--- a/sw/source/uibase/inc/mailmrge.hxx
+++ b/sw/source/uibase/inc/mailmrge.hxx
@@ -105,12 +105,12 @@ class SwMailMergeDlg : public SvxStandardDialog
OUString m_sSaveFilter;
OUString m_sFilename;
- DECL_LINK_TYPED( ButtonHdl, Button*, void );
- DECL_LINK_TYPED( InsertPathHdl, Button*, void );
- DECL_LINK_TYPED( OutputTypeHdl, Button*, void );
- DECL_LINK_TYPED( FilenameHdl, Button*, void );
- DECL_LINK_TYPED( ModifyHdl, Edit&, void );
- DECL_LINK_TYPED( SaveTypeHdl, Button*, void );
+ DECL_LINK( ButtonHdl, Button*, void );
+ DECL_LINK( InsertPathHdl, Button*, void );
+ DECL_LINK( OutputTypeHdl, Button*, void );
+ DECL_LINK( FilenameHdl, Button*, void );
+ DECL_LINK( ModifyHdl, Edit&, void );
+ DECL_LINK( SaveTypeHdl, Button*, void );
virtual void Apply() override;
bool ExecQryShell();
diff --git a/sw/source/uibase/inc/multmrk.hxx b/sw/source/uibase/inc/multmrk.hxx
index 0134db097567..2d69df0f18af 100644
--- a/sw/source/uibase/inc/multmrk.hxx
+++ b/sw/source/uibase/inc/multmrk.hxx
@@ -31,7 +31,7 @@ class SwTOXMgr;
// insert mark for index entry
class SwMultiTOXMarkDlg : public SvxStandardDialog
{
- DECL_LINK_TYPED( SelectHdl, ListBox&, void );
+ DECL_LINK( SelectHdl, ListBox&, void );
VclPtr<FixedText> m_pTextFT;
VclPtr<ListBox> m_pTOXLB;
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx
index daeed3fc94f1..7e50ebf19aeb 100644
--- a/sw/source/uibase/inc/navipi.hxx
+++ b/sw/source/uibase/inc/navipi.hxx
@@ -100,18 +100,18 @@ class SwNavigationPI : public vcl::Window,
void FillBox();
void MakeMark();
- DECL_LINK_TYPED( DocListBoxSelectHdl, ListBox&, void );
- DECL_LINK_TYPED( ToolBoxSelectHdl, ToolBox *, void );
- DECL_LINK_TYPED( ToolBoxClickHdl, ToolBox *, void );
- DECL_LINK_TYPED( ToolBoxDropdownClickHdl, ToolBox*, void );
- DECL_LINK_TYPED( EditAction, NumEditAction&, void );
- DECL_LINK_TYPED( EditGetFocus, Control&, void );
- DECL_LINK_TYPED( DoneLink, SfxPoolItem *, void );
- DECL_LINK_TYPED( MenuSelectHdl, Menu *, bool );
- DECL_LINK_TYPED( ChangePageHdl, Idle*, void );
- DECL_LINK_TYPED( PageEditModifyHdl, SpinField&, void );
- DECL_LINK_TYPED( PopupModeEndHdl, FloatingWindow*, void );
- DECL_LINK_TYPED( ClosePopupWindow, SfxPopupWindow *, void );
+ DECL_LINK( DocListBoxSelectHdl, ListBox&, void );
+ DECL_LINK( ToolBoxSelectHdl, ToolBox *, void );
+ DECL_LINK( ToolBoxClickHdl, ToolBox *, void );
+ DECL_LINK( ToolBoxDropdownClickHdl, ToolBox*, void );
+ DECL_LINK( EditAction, NumEditAction&, void );
+ DECL_LINK( EditGetFocus, Control&, void );
+ DECL_LINK( DoneLink, SfxPoolItem *, void );
+ DECL_LINK( MenuSelectHdl, Menu *, bool );
+ DECL_LINK( ChangePageHdl, Idle*, void );
+ DECL_LINK( PageEditModifyHdl, SpinField&, void );
+ DECL_LINK( PopupModeEndHdl, FloatingWindow*, void );
+ DECL_LINK( ClosePopupWindow, SfxPopupWindow *, void );
void UsePage();
void InitImageList();
diff --git a/sw/source/uibase/inc/num.hxx b/sw/source/uibase/inc/num.hxx
index 5d98778ee079..a93d2095692e 100644
--- a/sw/source/uibase/inc/num.hxx
+++ b/sw/source/uibase/inc/num.hxx
@@ -84,23 +84,23 @@ class SwNumPositionTabPage : public SfxTabPage
void InitControls();
- DECL_LINK_TYPED( LevelHdl, ListBox&, void );
- DECL_LINK_TYPED(EditModifyHdl, ListBox&, void);
- DECL_LINK_TYPED( DistanceHdl, SpinField&, void );
- DECL_LINK_TYPED( DistanceLoseFocusHdl, Control&, void );
- DECL_LINK_TYPED( RelativeHdl, Button*, void );
- DECL_LINK_TYPED(StandardHdl, Button*, void);
+ DECL_LINK( LevelHdl, ListBox&, void );
+ DECL_LINK(EditModifyHdl, ListBox&, void);
+ DECL_LINK( DistanceHdl, SpinField&, void );
+ DECL_LINK( DistanceLoseFocusHdl, Control&, void );
+ DECL_LINK( RelativeHdl, Button*, void );
+ DECL_LINK(StandardHdl, Button*, void);
void InitPosAndSpaceMode();
void ShowControlsDependingOnPosAndSpaceMode();
- DECL_LINK_TYPED(LabelFollowedByHdl_Impl, ListBox&, void);
- DECL_LINK_TYPED( ListtabPosHdl_Impl, SpinField&, void );
- DECL_LINK_TYPED( ListtabPosFocusHdl_Impl, Control&, void );
- DECL_LINK_TYPED( AlignAtHdl_Impl, SpinField&, void );
- DECL_LINK_TYPED( AlignAtFocusHdl_Impl, Control&, void );
- DECL_LINK_TYPED( IndentAtHdl_Impl, SpinField&, void );
- DECL_LINK_TYPED( IndentAtFocusHdl_Impl, Control&, void );
+ DECL_LINK(LabelFollowedByHdl_Impl, ListBox&, void);
+ DECL_LINK( ListtabPosHdl_Impl, SpinField&, void );
+ DECL_LINK( ListtabPosFocusHdl_Impl, Control&, void );
+ DECL_LINK( AlignAtHdl_Impl, SpinField&, void );
+ DECL_LINK( AlignAtFocusHdl_Impl, Control&, void );
+ DECL_LINK( IndentAtHdl_Impl, SpinField&, void );
+ DECL_LINK( IndentAtFocusHdl_Impl, Control&, void );
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
@@ -144,7 +144,7 @@ class SwSvxNumBulletTabDialog : public SfxTabDialog
protected:
virtual short Ok() override;
virtual void PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage) override;
- DECL_LINK_TYPED(RemoveNumberingHdl, Button*, void);
+ DECL_LINK(RemoveNumberingHdl, Button*, void);
public:
SwSvxNumBulletTabDialog(vcl::Window* pParent,
const SfxItemSet* pSwItemSet,
diff --git a/sw/source/uibase/inc/numfmtlb.hxx b/sw/source/uibase/inc/numfmtlb.hxx
index 8214b6ddcb3f..d5c69e645599 100644
--- a/sw/source/uibase/inc/numfmtlb.hxx
+++ b/sw/source/uibase/inc/numfmtlb.hxx
@@ -38,7 +38,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox
//to be shown in the number format dialog
bool bUseAutomaticLanguage;//determine whether language is automatically assigned
- DECL_DLLPRIVATE_LINK_TYPED( SelectHdl, ListBox&, void );
+ DECL_DLLPRIVATE_LINK( SelectHdl, ListBox&, void );
SAL_DLLPRIVATE double GetDefValue(const short nFormatType) const;
SAL_DLLPRIVATE void Init();
diff --git a/sw/source/uibase/inc/numpara.hxx b/sw/source/uibase/inc/numpara.hxx
index 1a2b9dbd18ad..a60dba1c0aa5 100644
--- a/sw/source/uibase/inc/numpara.hxx
+++ b/sw/source/uibase/inc/numpara.hxx
@@ -53,11 +53,11 @@ class SwParagraphNumTabPage : public SfxTabPage
bool bModified : 1;
bool bCurNumrule : 1;
- DECL_LINK_TYPED(NewStartHdl_Impl, Button*, void);
- DECL_LINK_TYPED( StyleHdl_Impl, ListBox&,void );
- DECL_LINK_TYPED(LineCountHdl_Impl, Button*, void);
- DECL_LINK_TYPED(EditNumStyleHdl_Impl, Button*, void);
- DECL_LINK_TYPED(EditNumStyleSelectHdl_Impl, ListBox&, void);
+ DECL_LINK(NewStartHdl_Impl, Button*, void);
+ DECL_LINK( StyleHdl_Impl, ListBox&,void );
+ DECL_LINK(LineCountHdl_Impl, Button*, void);
+ DECL_LINK(EditNumStyleHdl_Impl, Button*, void);
+ DECL_LINK(EditNumStyleSelectHdl_Impl, ListBox&, void);
static const sal_uInt16 aPageRg[];
diff --git a/sw/source/uibase/inc/optcomp.hxx b/sw/source/uibase/inc/optcomp.hxx
index 27119d3caad7..370abbd660ec 100644
--- a/sw/source/uibase/inc/optcomp.hxx
+++ b/sw/source/uibase/inc/optcomp.hxx
@@ -50,8 +50,8 @@ private:
sal_uLong m_nSavedOptions;
// handler
- DECL_LINK_TYPED(SelectHdl, ListBox&, void);
- DECL_LINK_TYPED(UseAsDefaultHdl, Button*, void);
+ DECL_LINK(SelectHdl, ListBox&, void);
+ DECL_LINK(UseAsDefaultHdl, Button*, void);
// private methods
void InitControls( const SfxItemSet& rSet );
diff --git a/sw/source/uibase/inc/optload.hxx b/sw/source/uibase/inc/optload.hxx
index e9ecea4448c4..829008b26a2a 100644
--- a/sw/source/uibase/inc/optload.hxx
+++ b/sw/source/uibase/inc/optload.hxx
@@ -59,8 +59,8 @@ private:
sal_uInt16 m_nLastTab;
sal_Int32 m_nOldLinkMode;
- DECL_LINK_TYPED(MetricHdl, ListBox&, void);
- DECL_LINK_TYPED(StandardizedPageCountCheckHdl, Button*, void);
+ DECL_LINK(MetricHdl, ListBox&, void);
+ DECL_LINK(StandardizedPageCountCheckHdl, Button*, void);
public:
SwLoadOptPage(vcl::Window* pParent, const SfxItemSet& rSet);
@@ -153,12 +153,12 @@ private:
SwFieldMgr* pMgr;
bool bHTMLMode;
- DECL_LINK_TYPED(SelectHdl, ComboBox&, void);
- DECL_LINK_TYPED(SelectListBoxHdl, ListBox&, void);
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
- DECL_LINK_TYPED( OrderHdl, ListBox&, void );
- DECL_LINK_TYPED(ShowEntryHdl, SvTreeListBox*, void);
- DECL_LINK_TYPED(SaveEntryHdl, SvTreeListBox*, void);
+ DECL_LINK(SelectHdl, ComboBox&, void);
+ DECL_LINK(SelectListBoxHdl, ListBox&, void);
+ DECL_LINK(ModifyHdl, Edit&, void);
+ DECL_LINK( OrderHdl, ListBox&, void );
+ DECL_LINK(ShowEntryHdl, SvTreeListBox*, void);
+ DECL_LINK(SaveEntryHdl, SvTreeListBox*, void);
void DelUserData();
void SetOptions(const sal_uLong nPos, const SwCapObjType eType, const SvGlobalName *pOleId = nullptr);
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index bf7df696d0e4..a76a1fc27f93 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -60,7 +60,7 @@ class SwContentOptPage : public SfxTabPage
VclPtr<FixedText> m_pMetricLabel;
VclPtr<ListBox> m_pMetricLB;
- DECL_LINK_TYPED(VertRulerHdl, Button*, void);
+ DECL_LINK(VertRulerHdl, Button*, void);
public:
SwContentOptPage( vcl::Window* pParent, const SfxItemSet& rSet);
virtual ~SwContentOptPage() override;
@@ -105,8 +105,8 @@ class SwAddPrinterTabPage : public SfxTabPage
bool bAttrModified;
bool bPreview;
- DECL_LINK_TYPED(AutoClickHdl, Button*, void);
- DECL_LINK_TYPED(SelectHdl, ListBox&, void);
+ DECL_LINK(AutoClickHdl, Button*, void);
+ DECL_LINK(SelectHdl, ListBox&, void);
public:
SwAddPrinterTabPage(vcl::Window* pParent, const SfxItemSet& rSet);
@@ -172,10 +172,10 @@ class SwStdFontTabPage : public SfxTabPage
OUString m_sScriptAsian;
OUString m_sScriptComplex;
- DECL_LINK_TYPED(StandardHdl, Button*, void );
- DECL_LINK_TYPED(ModifyHdl, Edit&, void );
- DECL_LINK_TYPED(ModifyHeightHdl, Edit&, void );
- DECL_LINK_TYPED(LoseFocusHdl, Control&, void );
+ DECL_LINK(StandardHdl, Button*, void );
+ DECL_LINK(ModifyHdl, Edit&, void );
+ DECL_LINK(ModifyHeightHdl, Edit&, void );
+ DECL_LINK(LoseFocusHdl, Control&, void );
SwStdFontTabPage(vcl::Window* pParent, const SfxItemSet& rSet);
virtual ~SwStdFontTabPage() override;
@@ -218,7 +218,7 @@ class SwTableOptionsTabPage : public SfxTabPage
SwWrtShell* m_pWrtShell;
bool m_bHTMLMode;
- DECL_LINK_TYPED(CheckBoxHdl, Button*, void);
+ DECL_LINK(CheckBoxHdl, Button*, void);
public:
SwTableOptionsTabPage(vcl::Window* pParent, const SfxItemSet& rSet);
@@ -339,9 +339,9 @@ class SwRedlineOptionsTabPage : public SfxTabPage
OUString sAuthor;
OUString sNone;
- DECL_LINK_TYPED(AttribHdl, ListBox&, void);
- DECL_LINK_TYPED(ChangedMaskPrevHdl, ListBox&, void);
- DECL_LINK_TYPED(ColorHdl, ListBox&, void);
+ DECL_LINK(AttribHdl, ListBox&, void);
+ DECL_LINK(ChangedMaskPrevHdl, ListBox&, void);
+ DECL_LINK(ColorHdl, ListBox&, void);
static void InitFontStyle(SvxFontPrevWindow& rExampleWin);
@@ -387,7 +387,7 @@ private:
bool bAttrModified;
void Init();
- DECL_LINK_TYPED(AutoClickHdl, Button*, void);
+ DECL_LINK(AutoClickHdl, Button*, void);
};
#endif // DBG_UTIL
@@ -402,8 +402,8 @@ class SwCompareOptionsTabPage : public SfxTabPage
VclPtr<NumericField> m_pLenNF;
VclPtr<CheckBox> m_pStoreRsidCB;
- DECL_LINK_TYPED(ComparisonHdl, Button*, void);
- DECL_LINK_TYPED(IgnoreHdl, Button*, void);
+ DECL_LINK(ComparisonHdl, Button*, void);
+ DECL_LINK(IgnoreHdl, Button*, void);
public:
SwCompareOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx
index a6faad129f4c..0c8701f455aa 100644
--- a/sw/source/uibase/inc/outline.hxx
+++ b/sw/source/uibase/inc/outline.hxx
@@ -59,9 +59,9 @@ class SwOutlineTabDialog : public SfxTabDialog
bool bModified : 1;
protected:
- DECL_LINK_TYPED(CancelHdl, Button*, void);
- DECL_LINK_TYPED( FormHdl, Button *, void );
- DECL_LINK_TYPED( MenuSelectHdl, Menu *, bool );
+ DECL_LINK(CancelHdl, Button*, void);
+ DECL_LINK( FormHdl, Button *, void );
+ DECL_LINK( MenuSelectHdl, Menu *, bool );
virtual void PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage) override;
virtual short Ok() override;
@@ -102,14 +102,14 @@ class SwOutlineSettingsTabPage : public SfxTabPage
OUString* pCollNames;
sal_uInt16 nActLevel;
- DECL_LINK_TYPED( LevelHdl, ListBox&, void );
- DECL_LINK_TYPED( ToggleComplete, Edit&, void );
- DECL_LINK_TYPED( CollSelect, ListBox&, void );
- DECL_LINK_TYPED( CollSelectGetFocus, Control&, void );
- DECL_LINK_TYPED( NumberSelect, ListBox&, void );
- DECL_LINK_TYPED( DelimModify, Edit&, void );
- DECL_LINK_TYPED( StartModified, Edit&, void );
- DECL_LINK_TYPED( CharFormatHdl, ListBox&, void );
+ DECL_LINK( LevelHdl, ListBox&, void );
+ DECL_LINK( ToggleComplete, Edit&, void );
+ DECL_LINK( CollSelect, ListBox&, void );
+ DECL_LINK( CollSelectGetFocus, Control&, void );
+ DECL_LINK( NumberSelect, ListBox&, void );
+ DECL_LINK( DelimModify, Edit&, void );
+ DECL_LINK( StartModified, Edit&, void );
+ DECL_LINK( CharFormatHdl, ListBox&, void );
void Update();
diff --git a/sw/source/uibase/inc/pgfnote.hxx b/sw/source/uibase/inc/pgfnote.hxx
index b1f72c8f42cc..4ca6e8d8edc1 100644
--- a/sw/source/uibase/inc/pgfnote.hxx
+++ b/sw/source/uibase/inc/pgfnote.hxx
@@ -57,11 +57,11 @@ private:
VclPtr<MetricField> m_pLineLengthEdit;
VclPtr<MetricField> m_pLineDistEdit;
- DECL_LINK_TYPED( HeightPage, Button*, void );
- DECL_LINK_TYPED( HeightMetric, Button*, void );
- DECL_LINK_TYPED( HeightModify, Control&, void );
- DECL_LINK_TYPED( LineWidthChanged_Impl, Edit&, void );
- DECL_LINK_TYPED( LineColorSelected_Impl, ListBox&, void );
+ DECL_LINK( HeightPage, Button*, void );
+ DECL_LINK( HeightMetric, Button*, void );
+ DECL_LINK( HeightModify, Control&, void );
+ DECL_LINK( LineWidthChanged_Impl, Edit&, void );
+ DECL_LINK( LineColorSelected_Impl, ListBox&, void );
long lMaxHeight;
diff --git a/sw/source/uibase/inc/pggrid.hxx b/sw/source/uibase/inc/pggrid.hxx
index f139b7376667..be73daec9483 100644
--- a/sw/source/uibase/inc/pggrid.hxx
+++ b/sw/source/uibase/inc/pggrid.hxx
@@ -71,14 +71,14 @@ class SwTextGridPage: public SfxTabPage
void PutGridItem(SfxItemSet& rSet);
static void SetLinesOrCharsRanges(FixedText & rField, const sal_Int32 nValue );
- DECL_LINK_TYPED(GridTypeHdl, Button*, void);
- DECL_LINK_TYPED(CharorLineChangedHdl, SpinField&, void);
- DECL_LINK_TYPED(CharorLineLoseFocusdHdl, Control&, void);
- DECL_LINK_TYPED(TextSizeChangedHdl, SpinField&, void);
- DECL_LINK_TYPED(TextSizeLoseFocusHdl, Control&, void);
- DECL_LINK_TYPED(GridModifyHdl, ListBox&, void);
- DECL_LINK_TYPED(GridModifyClickHdl, Button*, void);
- DECL_LINK_TYPED(DisplayGridHdl, Button*, void);
+ DECL_LINK(GridTypeHdl, Button*, void);
+ DECL_LINK(CharorLineChangedHdl, SpinField&, void);
+ DECL_LINK(CharorLineLoseFocusdHdl, Control&, void);
+ DECL_LINK(TextSizeChangedHdl, SpinField&, void);
+ DECL_LINK(TextSizeLoseFocusHdl, Control&, void);
+ DECL_LINK(GridModifyHdl, ListBox&, void);
+ DECL_LINK(GridModifyClickHdl, Button*, void);
+ DECL_LINK(DisplayGridHdl, Button*, void);
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx
index 2ddeee6ac546..4f62b6c1ca58 100644
--- a/sw/source/uibase/inc/pview.hxx
+++ b/sw/source/uibase/inc/pview.hxx
@@ -194,8 +194,8 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell
SAL_DLLPRIVATE Point AlignToPixel(const Point& rPt) const;
SAL_DLLPRIVATE void CreateScrollbar( bool bHori);
- DECL_DLLPRIVATE_LINK_TYPED(ScrollHdl, ScrollBar*, void);
- DECL_DLLPRIVATE_LINK_TYPED(EndScrollHdl, ScrollBar*, void);
+ DECL_DLLPRIVATE_LINK(ScrollHdl, ScrollBar*, void);
+ DECL_DLLPRIVATE_LINK(EndScrollHdl, ScrollBar*, void);
SAL_DLLPRIVATE bool ChgPage( int eMvMode, bool bUpdateScrollbar = true );
SAL_DLLPRIVATE virtual SfxPrinter* GetPrinter( bool bCreate = false ) override;
diff --git a/sw/source/uibase/inc/redlndlg.hxx b/sw/source/uibase/inc/redlndlg.hxx
index 7b55dfc1a3cd..ddd7f0007fd6 100644
--- a/sw/source/uibase/inc/redlndlg.hxx
+++ b/sw/source/uibase/inc/redlndlg.hxx
@@ -92,16 +92,16 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg
Image m_aTableChgd;
Image m_aFormatCollSet;
- DECL_DLLPRIVATE_LINK_TYPED( AcceptHdl, SvxTPView*, void );
- DECL_DLLPRIVATE_LINK_TYPED( AcceptAllHdl, SvxTPView*, void );
- DECL_DLLPRIVATE_LINK_TYPED( RejectHdl, SvxTPView*, void );
- DECL_DLLPRIVATE_LINK_TYPED( RejectAllHdl, SvxTPView*, void );
- DECL_DLLPRIVATE_LINK_TYPED( UndoHdl, SvxTPView*, void );
- DECL_DLLPRIVATE_LINK_TYPED( DeselectHdl, SvTreeListBox*, void );
- DECL_DLLPRIVATE_LINK_TYPED( SelectHdl, SvTreeListBox*, void );
- DECL_DLLPRIVATE_LINK_TYPED( SelectTimerHdl, Timer*, void );
- DECL_DLLPRIVATE_LINK_TYPED( GotoHdl, Timer*, void );
- DECL_DLLPRIVATE_LINK_TYPED( CommandHdl, SvSimpleTable*, void );
+ DECL_DLLPRIVATE_LINK( AcceptHdl, SvxTPView*, void );
+ DECL_DLLPRIVATE_LINK( AcceptAllHdl, SvxTPView*, void );
+ DECL_DLLPRIVATE_LINK( RejectHdl, SvxTPView*, void );
+ DECL_DLLPRIVATE_LINK( RejectAllHdl, SvxTPView*, void );
+ DECL_DLLPRIVATE_LINK( UndoHdl, SvxTPView*, void );
+ DECL_DLLPRIVATE_LINK( DeselectHdl, SvTreeListBox*, void );
+ DECL_DLLPRIVATE_LINK( SelectHdl, SvTreeListBox*, void );
+ DECL_DLLPRIVATE_LINK( SelectTimerHdl, Timer*, void );
+ DECL_DLLPRIVATE_LINK( GotoHdl, Timer*, void );
+ DECL_DLLPRIVATE_LINK( CommandHdl, SvSimpleTable*, void );
SAL_DLLPRIVATE sal_uInt16 CalcDiff(sal_uInt16 nStart, bool bChild);
SAL_DLLPRIVATE void InsertChildren(SwRedlineDataParent *pParent, const SwRangeRedline& rRedln, const sal_uInt16 nAutoFormat);
@@ -121,7 +121,7 @@ public:
SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer *pBuilder, vcl::Window *pContentArea, bool bAutoFormat = false);
virtual ~SwRedlineAcceptDlg();
- DECL_LINK_TYPED( FilterChangedHdl, SvxTPFilter*, void );
+ DECL_LINK( FilterChangedHdl, SvxTPFilter*, void );
inline SvxAcceptChgCtr& GetChgCtrl() { return *m_aTabPagesCTRL.get(); }
inline bool HasRedlineAutoFormat() const { return m_bRedlnAutoFormat; }
diff --git a/sw/source/uibase/inc/regionsw.hxx b/sw/source/uibase/inc/regionsw.hxx
index e674c491a1bb..8bc5e03e54a8 100644
--- a/sw/source/uibase/inc/regionsw.hxx
+++ b/sw/source/uibase/inc/regionsw.hxx
@@ -104,26 +104,26 @@ class SwEditRegionDlg : public SfxModalDialog
void RecurseList( const SwSectionFormat* pFormat, SvTreeListEntry* pEntry);
size_t FindArrPos(const SwSectionFormat* pFormat);
- DECL_LINK_TYPED( GetFirstEntryHdl, SvTreeListBox *, void );
- DECL_LINK_TYPED( DeselectHdl, SvTreeListBox *, void );
+ DECL_LINK( GetFirstEntryHdl, SvTreeListBox *, void );
+ DECL_LINK( DeselectHdl, SvTreeListBox *, void );
- DECL_LINK_TYPED( OkHdl, Button*, void );
- DECL_LINK_TYPED( NameEditHdl, Edit&, void );
- DECL_LINK_TYPED( ConditionEditHdl, Edit&, void );
+ DECL_LINK( OkHdl, Button*, void );
+ DECL_LINK( NameEditHdl, Edit&, void );
+ DECL_LINK( ConditionEditHdl, Edit&, void );
- DECL_LINK_TYPED( ChangePasswdHdl, Button *, void );
- DECL_LINK_TYPED( ChangeProtectHdl, Button *, void );
- DECL_LINK_TYPED( ChangeHideHdl, Button *, void );
+ DECL_LINK( ChangePasswdHdl, Button *, void );
+ DECL_LINK( ChangeProtectHdl, Button *, void );
+ DECL_LINK( ChangeHideHdl, Button *, void );
// #114856# edit in readonly sections
- DECL_LINK_TYPED( ChangeEditInReadonlyHdl, Button *, void );
- DECL_LINK_TYPED( ChangeDismissHdl, Button*, void);
- DECL_LINK_TYPED( UseFileHdl, Button*, void );
- DECL_LINK_TYPED( FileSearchHdl, Button*, void );
- DECL_LINK_TYPED( OptionsHdl, Button*, void );
- DECL_LINK_TYPED( FileNameHdl, Edit&, void );
- DECL_LINK_TYPED( DDEHdl, Button*, void );
- DECL_LINK_TYPED( DlgClosedHdl, sfx2::FileDialogHelper*, void );
- DECL_LINK_TYPED( SubRegionEventHdl, VclWindowEvent&, void );
+ DECL_LINK( ChangeEditInReadonlyHdl, Button *, void );
+ DECL_LINK( ChangeDismissHdl, Button*, void);
+ DECL_LINK( UseFileHdl, Button*, void );
+ DECL_LINK( FileSearchHdl, Button*, void );
+ DECL_LINK( OptionsHdl, Button*, void );
+ DECL_LINK( FileNameHdl, Edit&, void );
+ DECL_LINK( DDEHdl, Button*, void );
+ DECL_LINK( DlgClosedHdl, sfx2::FileDialogHelper*, void );
+ DECL_LINK( SubRegionEventHdl, VclWindowEvent&, void );
bool CheckPasswd(CheckBox* pBox = nullptr);
@@ -169,14 +169,14 @@ class SwInsertSectionTabPage : public SfxTabPage
SwWrtShell* m_pWrtSh;
sfx2::DocumentInserter* m_pDocInserter;
- DECL_LINK_TYPED( ChangeHideHdl, Button *, void );
- DECL_LINK_TYPED( ChangeProtectHdl, Button *, void );
- DECL_LINK_TYPED( ChangePasswdHdl, Button *, void );
- DECL_LINK_TYPED( NameEditHdl, Edit&, void );
- DECL_LINK_TYPED( UseFileHdl, Button*, void );
- DECL_LINK_TYPED( FileSearchHdl, Button*, void );
- DECL_LINK_TYPED( DDEHdl, Button*, void );
- DECL_LINK_TYPED( DlgClosedHdl, sfx2::FileDialogHelper*, void );
+ DECL_LINK( ChangeHideHdl, Button *, void );
+ DECL_LINK( ChangeProtectHdl, Button *, void );
+ DECL_LINK( ChangePasswdHdl, Button *, void );
+ DECL_LINK( NameEditHdl, Edit&, void );
+ DECL_LINK( UseFileHdl, Button*, void );
+ DECL_LINK( FileSearchHdl, Button*, void );
+ DECL_LINK( DDEHdl, Button*, void );
+ DECL_LINK( DlgClosedHdl, sfx2::FileDialogHelper*, void );
public:
SwInsertSectionTabPage(vcl::Window *pParent, const SfxItemSet &rAttrSet);
@@ -220,7 +220,7 @@ class SwSectionFootnoteEndTabPage : public SfxTabPage
VclPtr<FixedText> m_pEndSuffixFT;
VclPtr<Edit> m_pEndSuffixED;
- DECL_LINK_TYPED( FootEndHdl, Button*, void );
+ DECL_LINK( FootEndHdl, Button*, void );
void ResetState( bool bFootnote, const SwFormatFootnoteEndAtTextEnd& );
public:
@@ -241,7 +241,7 @@ class SwSectionIndentTabPage : public SfxTabPage
VclPtr<MetricField> m_pAfterMF;
VclPtr<SvxParaPrevWindow> m_pPreviewWin;
- DECL_LINK_TYPED(IndentModifyHdl, Edit&, void);
+ DECL_LINK(IndentModifyHdl, Edit&, void);
public:
SwSectionIndentTabPage( vcl::Window *pParent, const SfxItemSet &rAttrSet );
virtual ~SwSectionIndentTabPage() override;
diff --git a/sw/source/uibase/inc/selglos.hxx b/sw/source/uibase/inc/selglos.hxx
index 32784f684480..0fa5e8a6b058 100644
--- a/sw/source/uibase/inc/selglos.hxx
+++ b/sw/source/uibase/inc/selglos.hxx
@@ -31,7 +31,7 @@ class SwSelGlossaryDlg : public ModalDialog
protected:
VclPtr<ListBox> m_pGlosBox;
- DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void);
+ DECL_LINK(DoubleClickHdl, ListBox&, void);
public:
SwSelGlossaryDlg(vcl::Window * pParent, const OUString &rShortName);
virtual ~SwSelGlossaryDlg() override;
diff --git a/sw/source/uibase/inc/srcedtw.hxx b/sw/source/uibase/inc/srcedtw.hxx
index 3e04eb77a7d9..c78199b89b4b 100644
--- a/sw/source/uibase/inc/srcedtw.hxx
+++ b/sw/source/uibase/inc/srcedtw.hxx
@@ -92,7 +92,7 @@ private:
using OutputDevice::SetFont;
void SetFont();
- DECL_LINK_TYPED( SyntaxTimerHdl, Idle *, void );
+ DECL_LINK( SyntaxTimerHdl, Idle *, void );
using Window::Notify;
using Window::Invalidate;
@@ -109,7 +109,7 @@ protected:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- DECL_LINK_TYPED(ScrollHdl, ScrollBar*, void);
+ DECL_LINK(ScrollHdl, ScrollBar*, void);
public:
SwSrcEditWindow( vcl::Window* pParent, SwSrcView* pParentView );
diff --git a/sw/source/uibase/inc/srtdlg.hxx b/sw/source/uibase/inc/srtdlg.hxx
index d83649eba3a6..c280a917db4e 100644
--- a/sw/source/uibase/inc/srtdlg.hxx
+++ b/sw/source/uibase/inc/srtdlg.hxx
@@ -77,11 +77,11 @@ class SwSortDlg : public SvxStandardDialog
virtual void Apply() override;
sal_Unicode GetDelimChar() const;
- DECL_LINK_TYPED( CheckHdl, Button*, void );
- DECL_LINK_TYPED( DelimHdl, Button*, void );
- DECL_LINK_TYPED( LanguageListBoxHdl, ListBox&, void );
+ DECL_LINK( CheckHdl, Button*, void );
+ DECL_LINK( DelimHdl, Button*, void );
+ DECL_LINK( LanguageListBoxHdl, ListBox&, void );
void LanguageHdl(ListBox*);
- DECL_LINK_TYPED(DelimCharHdl, Button*,void);
+ DECL_LINK(DelimCharHdl, Button*,void);
public:
SwSortDlg(vcl::Window * pParent, SwWrtShell &rSh);
diff --git a/sw/source/uibase/inc/swrenamexnameddlg.hxx b/sw/source/uibase/inc/swrenamexnameddlg.hxx
index cdbfad81251a..af29999fe0c3 100644
--- a/sw/source/uibase/inc/swrenamexnameddlg.hxx
+++ b/sw/source/uibase/inc/swrenamexnameddlg.hxx
@@ -41,8 +41,8 @@ class SwRenameXNamedDlg : public ModalDialog
css::uno::Reference< css::container::XNameAccess > xSecondAccess;
css::uno::Reference< css::container::XNameAccess > xThirdAccess;
- DECL_LINK_TYPED(OkHdl, Button*, void);
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
+ DECL_LINK(OkHdl, Button*, void);
+ DECL_LINK(ModifyHdl, Edit&, void);
public:
SwRenameXNamedDlg( vcl::Window* pParent,
diff --git a/sw/source/uibase/inc/swruler.hxx b/sw/source/uibase/inc/swruler.hxx
index e5adb77b6ff9..824eaca10642 100644
--- a/sw/source/uibase/inc/swruler.hxx
+++ b/sw/source/uibase/inc/swruler.hxx
@@ -107,7 +107,7 @@ protected:
Color GetFadedColor(const Color &rHighColor, const Color &rLowColor);
/// Fade timer callback.
- DECL_LINK_TYPED(FadeHandler, Timer *, void);
+ DECL_LINK(FadeHandler, Timer *, void);
};
#endif
diff --git a/sw/source/uibase/inc/swuiccoll.hxx b/sw/source/uibase/inc/swuiccoll.hxx
index eae1ef00933c..a74362bf8135 100644
--- a/sw/source/uibase/inc/swuiccoll.hxx
+++ b/sw/source/uibase/inc/swuiccoll.hxx
@@ -52,12 +52,12 @@ class SwCondCollPage : public SfxTabPage
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
- DECL_LINK_TYPED( OnOffHdl, Button*, void );
- DECL_LINK_TYPED( AssignRemoveHdl, ListBox&, void);
- DECL_LINK_TYPED( AssignRemoveTreeListBoxHdl, SvTreeListBox*, bool);
- DECL_LINK_TYPED( AssignRemoveClickHdl, Button*, void);
- DECL_LINK_TYPED( SelectTreeListBoxHdl, SvTreeListBox*, void );
- DECL_LINK_TYPED( SelectListBoxHdl, ListBox&, void );
+ DECL_LINK( OnOffHdl, Button*, void );
+ DECL_LINK( AssignRemoveHdl, ListBox&, void);
+ DECL_LINK( AssignRemoveTreeListBoxHdl, SvTreeListBox*, bool);
+ DECL_LINK( AssignRemoveClickHdl, Button*, void);
+ DECL_LINK( SelectTreeListBoxHdl, SvTreeListBox*, void );
+ DECL_LINK( SelectListBoxHdl, ListBox&, void );
void AssignRemove(void*);
void SelectHdl(void*);
diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx
index f6e6d1dd14c6..aafae34192d2 100644
--- a/sw/source/uibase/inc/swuicnttab.hxx
+++ b/sw/source/uibase/inc/swuicnttab.hxx
@@ -93,8 +93,8 @@ class SwMultiTOXTabDialog : public SfxTabDialog
virtual short Ok() override;
SwTOXDescription* CreateTOXDescFromTOXBase(const SwTOXBase*pCurTOX);
- DECL_LINK_TYPED(CreateExample_Hdl, SwOneExampleFrame&, void);
- DECL_LINK_TYPED(ShowPreviewHdl, Button*, void);
+ DECL_LINK(CreateExample_Hdl, SwOneExampleFrame&, void);
+ DECL_LINK(ShowPreviewHdl, Button*, void);
public:
SwMultiTOXTabDialog(vcl::Window* pParent, const SfxItemSet& rSet,
@@ -202,16 +202,16 @@ class SwTOXSelectTabPage : public SfxTabPage
bool m_bWaitingInitialSettings;
- DECL_LINK_TYPED(TOXTypeHdl, ListBox&, void );
- DECL_LINK_TYPED(AddStylesHdl, Button*, void );
- DECL_LINK_TYPED(MenuEnableHdl, Menu*, bool);
- DECL_LINK_TYPED(MenuExecuteHdl, Menu*, bool);
- DECL_LINK_TYPED(LanguageListBoxHdl, ListBox&, void);
+ DECL_LINK(TOXTypeHdl, ListBox&, void );
+ DECL_LINK(AddStylesHdl, Button*, void );
+ DECL_LINK(MenuEnableHdl, Menu*, bool);
+ DECL_LINK(MenuExecuteHdl, Menu*, bool);
+ DECL_LINK(LanguageListBoxHdl, ListBox&, void);
void LanguageHdl(ListBox*);
- DECL_LINK_TYPED(CheckBoxHdl, Button*, void );
- DECL_LINK_TYPED(RadioButtonHdl, Button*, void);
- DECL_LINK_TYPED(ModifyHdl, Edit&, void);
- DECL_LINK_TYPED(ModifyListBoxHdl, ListBox&, void);
+ DECL_LINK(CheckBoxHdl, Button*, void );
+ DECL_LINK(RadioButtonHdl, Button*, void);
+ DECL_LINK(ModifyHdl, Edit&, void);
+ DECL_LINK(ModifyListBoxHdl, ListBox&, void);
void ApplyTOXDescription();
void FillTOXDescription();
@@ -268,12 +268,12 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer
VclPtr<SwTOXEntryTabPage> m_pParent;
- DECL_LINK_TYPED( EditResize, Edit&, void );
- DECL_LINK_TYPED( NextItemHdl, SwTOXEdit&, void );
- DECL_LINK_TYPED( TbxFocusHdl, Control&, void );
- DECL_LINK_TYPED( NextItemBtnHdl, SwTOXButton&, void );
- DECL_LINK_TYPED( TbxFocusBtnHdl, Control&, void );
- DECL_LINK_TYPED( ScrollHdl, Button*, void );
+ DECL_LINK( EditResize, Edit&, void );
+ DECL_LINK( NextItemHdl, SwTOXEdit&, void );
+ DECL_LINK( TbxFocusHdl, Control&, void );
+ DECL_LINK( NextItemBtnHdl, SwTOXButton&, void );
+ DECL_LINK( TbxFocusBtnHdl, Control&, void );
+ DECL_LINK( ScrollHdl, Button*, void );
void SetActiveControl(Control* pSet);
@@ -410,27 +410,27 @@ class SwTOXEntryTabPage : public SfxTabPage
CurTOXType aLastTOXType;
bool bInLevelHdl;
- DECL_LINK_TYPED(StyleSelectHdl, ListBox&, void);
- DECL_LINK_TYPED(EditStyleHdl, Button*, void);
- DECL_LINK_TYPED(InsertTokenHdl, Button*, void);
- DECL_LINK_TYPED(LevelHdl, SvTreeListBox*, void);
- DECL_LINK_TYPED(AutoRightHdl, Button*, void);
- DECL_LINK_TYPED(TokenSelectedHdl, SwFormToken&, void);
- DECL_LINK_TYPED(TabPosHdl, Edit&, void);
- DECL_LINK_TYPED(FillCharHdl, Edit&, void);
- DECL_LINK_TYPED(RemoveInsertAuthHdl, Button*, void);
- DECL_LINK_TYPED(SortKeyHdl, Button*, void);
- DECL_LINK_TYPED(ChapterInfoHdl, ListBox&, void);
- DECL_LINK_TYPED(ChapterInfoOutlineHdl, Edit&, void);
- DECL_LINK_TYPED(NumberFormatHdl, ListBox&, void);
-
- DECL_LINK_TYPED(AllLevelsHdl, Button*, void);
+ DECL_LINK(StyleSelectHdl, ListBox&, void);
+ DECL_LINK(EditStyleHdl, Button*, void);
+ DECL_LINK(InsertTokenHdl, Button*, void);
+ DECL_LINK(LevelHdl, SvTreeListBox*, void);
+ DECL_LINK(AutoRightHdl, Button*, void);
+ DECL_LINK(TokenSelectedHdl, SwFormToken&, void);
+ DECL_LINK(TabPosHdl, Edit&, void);
+ DECL_LINK(FillCharHdl, Edit&, void);
+ DECL_LINK(RemoveInsertAuthHdl, Button*, void);
+ DECL_LINK(SortKeyHdl, Button*, void);
+ DECL_LINK(ChapterInfoHdl, ListBox&, void);
+ DECL_LINK(ChapterInfoOutlineHdl, Edit&, void);
+ DECL_LINK(NumberFormatHdl, ListBox&, void);
+
+ DECL_LINK(AllLevelsHdl, Button*, void);
void WriteBackLevel();
void UpdateDescriptor();
- DECL_LINK_TYPED(ModifyHdl, LinkParamNone*, void);
+ DECL_LINK(ModifyHdl, LinkParamNone*, void);
void OnModify(void*);
- DECL_LINK_TYPED(ModifyClickHdl, Button*, void);
+ DECL_LINK(ModifyClickHdl, Button*, void);
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
@@ -466,11 +466,11 @@ class SwTOXStylesTabPage : public SfxTabPage
SwForm* m_pCurrentForm;
- DECL_LINK_TYPED( EditStyleHdl, Button *, void );
- DECL_LINK_TYPED( StdHdl, Button*, void );
- DECL_LINK_TYPED(EnableSelectHdl, ListBox&, void);
- DECL_LINK_TYPED( DoubleClickHdl, ListBox&, void );
- DECL_LINK_TYPED( AssignHdl, Button*, void );
+ DECL_LINK( EditStyleHdl, Button *, void );
+ DECL_LINK( StdHdl, Button*, void );
+ DECL_LINK(EnableSelectHdl, ListBox&, void);
+ DECL_LINK( DoubleClickHdl, ListBox&, void );
+ DECL_LINK( AssignHdl, Button*, void );
void Modify();
SwForm& GetForm()
diff --git a/sw/source/uibase/inc/swuiidxmrk.hxx b/sw/source/uibase/inc/swuiidxmrk.hxx
index a6c084f53ff1..06687dd029be 100644
--- a/sw/source/uibase/inc/swuiidxmrk.hxx
+++ b/sw/source/uibase/inc/swuiidxmrk.hxx
@@ -108,21 +108,21 @@ class SwIndexMarkPane
void InsertMark();
void UpdateMark();
- DECL_LINK_TYPED( InsertHdl, Button *, void );
- DECL_LINK_TYPED( CloseHdl, Button*, void );
- DECL_LINK_TYPED( SyncSelectionHdl, Button*, void );
- DECL_LINK_TYPED( DelHdl, Button*, void );
- DECL_LINK_TYPED( NextHdl, Button*, void );
- DECL_LINK_TYPED( NextSameHdl, Button*, void );
- DECL_LINK_TYPED( PrevHdl, Button*, void );
- DECL_LINK_TYPED( PrevSameHdl, Button*, void );
- DECL_LINK_TYPED( ModifyListBoxHdl, ListBox&, void );
- DECL_LINK_TYPED( ModifyEditHdl, Edit&, void );
+ DECL_LINK( InsertHdl, Button *, void );
+ DECL_LINK( CloseHdl, Button*, void );
+ DECL_LINK( SyncSelectionHdl, Button*, void );
+ DECL_LINK( DelHdl, Button*, void );
+ DECL_LINK( NextHdl, Button*, void );
+ DECL_LINK( NextSameHdl, Button*, void );
+ DECL_LINK( PrevHdl, Button*, void );
+ DECL_LINK( PrevSameHdl, Button*, void );
+ DECL_LINK( ModifyListBoxHdl, ListBox&, void );
+ DECL_LINK( ModifyEditHdl, Edit&, void );
void ModifyHdl(Control*);
- DECL_LINK_TYPED( KeyDCBModifyHdl, Edit&, void );
- DECL_LINK_TYPED( NewUserIdxHdl, Button*, void );
- DECL_LINK_TYPED( SearchTypeHdl, Button*, void );
- DECL_LINK_TYPED( PhoneticEDModifyHdl, Edit&, void );
+ DECL_LINK( KeyDCBModifyHdl, Edit&, void );
+ DECL_LINK( NewUserIdxHdl, Button*, void );
+ DECL_LINK( SearchTypeHdl, Button*, void );
+ DECL_LINK( PhoneticEDModifyHdl, Edit&, void );
//this method updates the values from 'nLangForPhoneticReading' and 'bIsPhoneticReadingEnabled'
//it needs to be called ones if this dialog is opened to create a new entry (in InitControls),
@@ -210,13 +210,13 @@ class SwAuthorMarkPane
css::uno::Reference< css::container::XNameAccess > xBibAccess;
- DECL_LINK_TYPED(InsertHdl, Button*, void);
- DECL_LINK_TYPED(CloseHdl, Button*, void);
- DECL_LINK_TYPED(CreateEntryHdl, Button*, void);
- DECL_LINK_TYPED(CompEntryHdl, ListBox&, void);
- DECL_LINK_TYPED(ChangeSourceHdl, Button*, void);
- DECL_LINK_TYPED(IsEntryAllowedHdl, Edit*, bool);
- DECL_LINK_TYPED(EditModifyHdl, Edit&, void);
+ DECL_LINK(InsertHdl, Button*, void);
+ DECL_LINK(CloseHdl, Button*, void);
+ DECL_LINK(CreateEntryHdl, Button*, void);
+ DECL_LINK(CompEntryHdl, ListBox&, void);
+ DECL_LINK(ChangeSourceHdl, Button*, void);
+ DECL_LINK(IsEntryAllowedHdl, Edit*, bool);
+ DECL_LINK(EditModifyHdl, Edit&, void);
void InitControls();
void Activate();
diff --git a/sw/source/uibase/inc/syncbtn.hxx b/sw/source/uibase/inc/syncbtn.hxx
index 88729b8c3698..4934b41f9b9a 100644
--- a/sw/source/uibase/inc/syncbtn.hxx
+++ b/sw/source/uibase/inc/syncbtn.hxx
@@ -27,7 +27,7 @@ class SwSyncBtnDlg : public SfxFloatingWindow
{
VclPtr<PushButton> m_pSyncBtn;
- DECL_STATIC_LINK_TYPED( SwSyncBtnDlg, BtnHdl, Button*, void );
+ DECL_STATIC_LINK( SwSyncBtnDlg, BtnHdl, Button*, void );
public:
SwSyncBtnDlg(SfxBindings*, SfxChildWindow*, vcl::Window *pParent);
diff --git a/sw/source/uibase/inc/tautofmt.hxx b/sw/source/uibase/inc/tautofmt.hxx
index bf790bfe4611..169b741a150a 100644
--- a/sw/source/uibase/inc/tautofmt.hxx
+++ b/sw/source/uibase/inc/tautofmt.hxx
@@ -70,12 +70,12 @@ class SwAutoFormatDlg : public SfxModalDialog
void Init( const SwTableAutoFormat* pSelFormat );
void UpdateChecks( const SwTableAutoFormat&, bool bEnableBtn );
- DECL_LINK_TYPED( CheckHdl, Button*, void );
- DECL_LINK_TYPED(OkHdl, Button*, void);
- DECL_LINK_TYPED( AddHdl, Button*, void );
- DECL_LINK_TYPED( RemoveHdl, Button*, void );
- DECL_LINK_TYPED( RenameHdl, Button*, void );
- DECL_LINK_TYPED( SelFormatHdl, ListBox&, void );
+ DECL_LINK( CheckHdl, Button*, void );
+ DECL_LINK(OkHdl, Button*, void);
+ DECL_LINK( AddHdl, Button*, void );
+ DECL_LINK( RemoveHdl, Button*, void );
+ DECL_LINK( RenameHdl, Button*, void );
+ DECL_LINK( SelFormatHdl, ListBox&, void );
public:
SwAutoFormatDlg( vcl::Window* pParent, SwWrtShell* pShell,
diff --git a/sw/source/uibase/inc/textsh.hxx b/sw/source/uibase/inc/textsh.hxx
index 69f42eb31b57..b99290e632d5 100644
--- a/sw/source/uibase/inc/textsh.hxx
+++ b/sw/source/uibase/inc/textsh.hxx
@@ -44,8 +44,8 @@ private:
static void InitInterface_Impl();
public:
- DECL_LINK_TYPED( RedlineNextHdl, AbstractSvxPostItDialog&, void );
- DECL_LINK_TYPED( RedlinePrevHdl, AbstractSvxPostItDialog&, void );
+ DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog&, void );
+ DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog&, void );
void Execute(SfxRequest &);
void GetState(SfxItemSet &);
diff --git a/sw/source/uibase/inc/titlepage.hxx b/sw/source/uibase/inc/titlepage.hxx
index f83fc93a32bd..de709bc702f5 100644
--- a/sw/source/uibase/inc/titlepage.hxx
+++ b/sw/source/uibase/inc/titlepage.hxx
@@ -53,13 +53,13 @@ private:
sal_uInt16 GetInsertPosition() const;
- DECL_LINK_TYPED(OKHdl, Button*, void);
- DECL_LINK_TYPED(EditHdl, Button*, void);
- DECL_LINK_TYPED(RestartNumberingHdl, Button*, void);
- DECL_LINK_TYPED(SetPageNumberHdl, Button*, void);
- DECL_LINK_TYPED(UpHdl, SpinField&, void);
- DECL_LINK_TYPED(DownHdl, SpinField&, void);
- DECL_LINK_TYPED(StartPageHdl, Button*, void);
+ DECL_LINK(OKHdl, Button*, void);
+ DECL_LINK(EditHdl, Button*, void);
+ DECL_LINK(RestartNumberingHdl, Button*, void);
+ DECL_LINK(SetPageNumberHdl, Button*, void);
+ DECL_LINK(UpHdl, SpinField&, void);
+ DECL_LINK(DownHdl, SpinField&, void);
+ DECL_LINK(StartPageHdl, Button*, void);
public:
SwTitlePageDlg( vcl::Window *pParent );
virtual ~SwTitlePageDlg() override;
diff --git a/sw/source/uibase/inc/unotools.hxx b/sw/source/uibase/inc/unotools.hxx
index 71a96fc908f8..a79b85a0b529 100644
--- a/sw/source/uibase/inc/unotools.hxx
+++ b/sw/source/uibase/inc/unotools.hxx
@@ -89,8 +89,8 @@ class SW_DLLPUBLIC SwOneExampleFrame
static bool bShowServiceNotAvailableMessage;
- DECL_DLLPRIVATE_LINK_TYPED( TimeoutHdl, Idle*, void );
- DECL_DLLPRIVATE_LINK_TYPED( PopupHdl, Menu*, bool );
+ DECL_DLLPRIVATE_LINK( TimeoutHdl, Idle*, void );
+ DECL_DLLPRIVATE_LINK( PopupHdl, Menu*, bool );
SAL_DLLPRIVATE void CreateControl();
SAL_DLLPRIVATE void DisposeControl();
diff --git a/sw/source/uibase/inc/wordcountdialog.hxx b/sw/source/uibase/inc/wordcountdialog.hxx
index a494df7e5dcd..dde606841299 100644
--- a/sw/source/uibase/inc/wordcountdialog.hxx
+++ b/sw/source/uibase/inc/wordcountdialog.hxx
@@ -50,7 +50,7 @@ class SwWordCountFloatDlg : public SfxModelessDialog
VclPtr<CloseButton> m_pClosePB;
- DECL_STATIC_LINK_TYPED( SwWordCountFloatDlg, CloseHdl, Button*, void );
+ DECL_STATIC_LINK( SwWordCountFloatDlg, CloseHdl, Button*, void );
public:
SwWordCountFloatDlg( SfxBindings* pBindings,
SfxChildWindow* pChild,
diff --git a/sw/source/uibase/inc/workctrl.hxx b/sw/source/uibase/inc/workctrl.hxx
index 81b9d85c90fd..afc83927b7fe 100644
--- a/sw/source/uibase/inc/workctrl.hxx
+++ b/sw/source/uibase/inc/workctrl.hxx
@@ -68,7 +68,7 @@ public:
SfxItemState eState,
const SfxPoolItem* pState ) override;
- DECL_STATIC_LINK_TYPED(SwTbxAutoTextCtrl, PopupHdl, Menu*, bool);
+ DECL_STATIC_LINK(SwTbxAutoTextCtrl, PopupHdl, Menu*, bool);
};
class SwScrollNaviPopup;
@@ -103,7 +103,7 @@ class SwScrollNaviPopup : public SfxPopupWindow
using Window::GetQuickHelpText;
protected:
- DECL_LINK_TYPED(SelectHdl, ToolBox*, void);
+ DECL_LINK(SelectHdl, ToolBox*, void);
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
public:
diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx
index 802ff82e6b81..b596dc511158 100644
--- a/sw/source/uibase/inc/wrap.hxx
+++ b/sw/source/uibase/inc/wrap.hxx
@@ -85,10 +85,10 @@ class SwWrapTabPage: public SfxTabPage
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
- DECL_LINK_TYPED( RangeModifyHdl, SpinField&, void );
- DECL_LINK_TYPED( RangeLoseFocusHdl, Control&, void );
- DECL_LINK_TYPED( WrapTypeHdl, Button *, void );
- DECL_LINK_TYPED( ContourHdl, Button *, void);
+ DECL_LINK( RangeModifyHdl, SpinField&, void );
+ DECL_LINK( RangeLoseFocusHdl, Control&, void );
+ DECL_LINK( WrapTypeHdl, Button *, void );
+ DECL_LINK( ContourHdl, Button *, void);
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index f8ec6a41797a..72cc0e066ccd 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -242,7 +242,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
bool GotoPage( sal_uInt16 nPage, bool bRecord );
// setting the cursor; remember the old position for turning back
- DECL_LINK_TYPED( ExecFlyMac, const SwFlyFrameFormat*, void );
+ DECL_LINK( ExecFlyMac, const SwFlyFrameFormat*, void );
bool PageCursor(SwTwips lOffset, bool bSelect);
@@ -439,7 +439,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
void AutoUpdatePara(SwTextFormatColl* pColl, const SfxItemSet& rStyleSet, SwPaM* pPaM = nullptr );
// link for inserting ranges via Drag&Drop/Clipboard
- DECL_LINK_TYPED( InsertRegionDialog, void*, void );
+ DECL_LINK( InsertRegionDialog, void*, void );
// ctor, the first one is a kind of a controlled copy ctor for more views of a document
SwWrtShell( SwWrtShell&, vcl::Window *pWin, SwView &rShell);