diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 14:01:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | e126468e5dbc4ef85fc4b6146e0ba73e85281f70 (patch) | |
tree | 929c0344bcb272fe6fb4d158ec70abc775568b7d /starmath | |
parent | b4deeef405fc4200c1b33d2cecf7b301417b2398 (diff) |
convert Link<> to typed
Change-Id: I1140910c8e90a3022cc88ff33fa37db62007b745
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/dialog.hxx | 2 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 7ac0f97ce6b0..1c7642c32cc7 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -438,7 +438,7 @@ class SmSymDefineDialog : public ModalDialog DECL_LINK(FontChangeHdl, ListBox *); DECL_LINK(SubsetChangeHdl, ListBox*); DECL_LINK(StyleChangeHdl, ComboBox *); - DECL_LINK(CharHighlightHdl, void *); + DECL_LINK_TYPED(CharHighlightHdl, SvxShowCharSet*, void); DECL_LINK_TYPED(AddClickHdl, Button *, void); DECL_LINK_TYPED(ChangeClickHdl, Button *, void); DECL_LINK_TYPED(DeleteClickHdl, Button *, void); diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 417594c26ee1..f43e831566e0 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1878,7 +1878,7 @@ IMPL_LINK( SmSymDefineDialog, StyleChangeHdl, ComboBox *, pComboBox ) } -IMPL_LINK_NOARG(SmSymDefineDialog, CharHighlightHdl) +IMPL_LINK_NOARG_TYPED(SmSymDefineDialog, CharHighlightHdl, SvxShowCharSet*, void) { sal_UCS4 cChar = pCharsetDisplay->GetSelectCharacter(); @@ -1905,8 +1905,6 @@ IMPL_LINK_NOARG(SmSymDefineDialog, CharHighlightHdl) aUnicodePos += aHex; pSymbols->SetText( aUnicodePos ); pSymbolName->SetText( aUnicodePos ); - - return 0; } |