summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-22 15:04:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-22 18:55:43 +0000
commita829ba593c921a2b6b5fce7f216f48ee9d6c3812 (patch)
treecccda72ee2403d91b0129d0011e38cb65721092a /cui
parentconvert Link<> to typed (diff)
downloadcore-a829ba593c921a2b6b5fce7f216f48ee9d6c3812.tar.gz
core-a829ba593c921a2b6b5fce7f216f48ee9d6c3812.zip
convert Link<> to typed
Change-Id: I99710933b818ebb0e2d70262c3edd7937e5f03ca Reviewed-on: https://gerrit.libreoffice.org/18772 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx4
-rw-r--r--cui/source/factory/dlgfact.cxx2
-rw-r--r--cui/source/factory/dlgfact.hxx2
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx6
4 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 3bdc83734fb4..36570b951304 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -706,7 +706,7 @@ namespace svx
}
- void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link<>& _rHdl )
+ void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link<CheckBox*,void>& _rHdl )
{
m_aClickByCharacterLink = _rHdl;
}
@@ -733,7 +733,7 @@ namespace svx
IMPL_LINK_TYPED( HangulHanjaConversionDialog, ClickByCharacterHdl, Button*, pBox, void )
{
- m_aClickByCharacterLink.Call( pBox );
+ m_aClickByCharacterLink.Call( static_cast<CheckBox*>(pBox) );
bool bByCharacter = static_cast<CheckBox*>(pBox)->IsChecked();
m_pSuggestions->DisplayListBox( !bByCharacter );
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index e31ce96bde5b..f18a3ec86cb1 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -286,7 +286,7 @@ void AbstractHangulHanjaConversionDialog_Impl::SetChangeAllHdl( const Link<Butto
pDlg->SetChangeAllHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetClickByCharacterHdl( const Link<>& _rHdl )
+void AbstractHangulHanjaConversionDialog_Impl::SetClickByCharacterHdl( const Link<CheckBox*,void>& _rHdl )
{
pDlg->SetClickByCharacterHdl(_rHdl );
}
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 51171636821c..7b803b4e2699 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -144,7 +144,7 @@ class AbstractHangulHanjaConversionDialog_Impl: public AbstractHangulHanjaConver
virtual void SetIgnoreAllHdl( const Link<Button*,void>& _rHdl ) SAL_OVERRIDE ;
virtual void SetChangeHdl( const Link<Button*,void>& _rHdl ) SAL_OVERRIDE ;
virtual void SetChangeAllHdl( const Link<Button*,void>& _rHdl ) SAL_OVERRIDE ;
- virtual void SetClickByCharacterHdl( const Link<>& _rHdl ) SAL_OVERRIDE ;
+ virtual void SetClickByCharacterHdl( const Link<CheckBox*,void>& _rHdl ) SAL_OVERRIDE ;
virtual void SetConversionFormatChangedHdl( const Link<Button*,void>& _rHdl ) SAL_OVERRIDE ;
virtual void SetFindHdl( const Link<Button*,void>& _rHdl ) SAL_OVERRIDE;
virtual bool GetUseBothDirections( ) const SAL_OVERRIDE;
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index fca9f5007b41..42a85b2ac6f0 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -129,10 +129,10 @@ namespace svx
the user uses the "find" functionality, we switch to working
with what the user entered, which then does not have any relation to
the document anymore. Some functionality must be disabled then */
- bool m_bDocumentMode;
+ bool m_bDocumentMode;
Link<LinkParamNone*,void> m_aOptionsChangedLink;
- Link<> m_aClickByCharacterLink;
+ Link<CheckBox*,void> m_aClickByCharacterLink;
public:
HangulHanjaConversionDialog(
@@ -148,7 +148,7 @@ namespace svx
void SetChangeHdl( const Link<Button*,void>& _rHdl );
void SetChangeAllHdl( const Link<Button*,void>& _rHdl );
- void SetClickByCharacterHdl( const Link<>& _rHdl );
+ void SetClickByCharacterHdl( const Link<CheckBox*,void>& _rHdl );
void SetConversionFormatChangedHdl( const Link<Button*,void>& _rHdl );
void SetFindHdl( const Link<Button*,void>& _rHdl );