diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
commit | bd205223ec029a875c662474bb6d423d3cdd1994 (patch) | |
tree | 6531a292edb0d2a13103a4c55cbd10e7137b8a58 /sw/source/ui/inc/optpage.hxx | |
parent | 32781c2d268ed94eb46318a0398385baf31368c4 (diff) |
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
Diffstat (limited to 'sw/source/ui/inc/optpage.hxx')
-rw-r--r-- | sw/source/ui/inc/optpage.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/inc/optpage.hxx b/sw/source/ui/inc/optpage.hxx index d78ee967f40d..e89c945b94a1 100644 --- a/sw/source/ui/inc/optpage.hxx +++ b/sw/source/ui/inc/optpage.hxx @@ -135,8 +135,8 @@ class SwAddPrinterTabPage : public SfxTabPage sal_Bool bPreview; void Init(); - DECL_LINK( AutoClickHdl, CheckBox * ); - DECL_LINK( SelectHdl, ListBox * ); + DECL_LINK(AutoClickHdl, void *); + DECL_LINK(SelectHdl, void *); SwAddPrinterTabPage( Window* pParent, @@ -219,7 +219,7 @@ class SwStdFontTabPage : public SfxTabPage String sScriptAsian; String sScriptComplex; - DECL_LINK( StandardHdl, PushButton * ); + DECL_LINK(StandardHdl, void *); DECL_LINK( ModifyHdl, ComboBox * ); DECL_LINK( ModifyHeightHdl, FontSizeBox * ); DECL_LINK( LoseFocusHdl, ComboBox * ); @@ -278,7 +278,7 @@ class SwTableOptionsTabPage : public SfxTabPage SwWrtShell* pWrtShell; sal_Bool bHTMLMode; - DECL_LINK(CheckBoxHdl, CheckBox *pCB); + DECL_LINK(CheckBoxHdl, void *); SwTableOptionsTabPage( Window* pParent, @@ -429,7 +429,7 @@ class SwRedlineOptionsTabPage : public SfxTabPage ~SwRedlineOptionsTabPage(); DECL_LINK( AttribHdl, ListBox *pLB ); - DECL_LINK( ChangedMaskPrevHdl, ListBox *pLB = 0 ); + DECL_LINK(ChangedMaskPrevHdl, void * = 0); DECL_LINK( ColorHdl, ColorListBox *pColorLB ); void InitFontStyle(SvxFontPrevWindow& rExampleWin); @@ -476,7 +476,7 @@ private: sal_Bool bAttrModified; void Init(); - DECL_LINK( AutoClickHdl, CheckBox * ); + DECL_LINK(AutoClickHdl, void *); }; #endif // DBG_UTIL @@ -496,8 +496,8 @@ class SwCompareOptionsTabPage : public SfxTabPage SwCompareOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); ~SwCompareOptionsTabPage(); - DECL_LINK( ComparisonHdl, RadioButton *pRB); - DECL_LINK( IgnoreHdl, CheckBox *pCB); + DECL_LINK(ComparisonHdl, void *); + DECL_LINK(IgnoreHdl, void *); public: |