convert Link<> to typed
Change-Id: Ica5093e29630d6d6974ccba034609129887ac85b Reviewed-on: https://gerrit.libreoffice.org/18802 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
@@ -311,10 +311,9 @@ namespace frm
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK_NOARG( RichTextControlImpl, OnInvalidateAllAttributes )
|
||||
IMPL_LINK_NOARG_TYPED( RichTextControlImpl, OnInvalidateAllAttributes, LinkParamNone*, void )
|
||||
{
|
||||
updateAllAttributes();
|
||||
return 0L;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -173,7 +173,7 @@ namespace frm
|
||||
virtual void EditEngineStatusChanged( const EditStatus& _rStatus ) SAL_OVERRIDE;
|
||||
|
||||
private:
|
||||
DECL_LINK( OnInvalidateAllAttributes, void* );
|
||||
DECL_LINK_TYPED( OnInvalidateAllAttributes, LinkParamNone*, void );
|
||||
DECL_LINK_TYPED( OnHScroll, ScrollBar*, void );
|
||||
DECL_LINK_TYPED( OnVScroll, ScrollBar*, void );
|
||||
};
|
||||
|
@@ -29,7 +29,7 @@ namespace frm
|
||||
{
|
||||
private:
|
||||
EditView* m_pView;
|
||||
Link<> m_aInvalidationHandler;
|
||||
Link<LinkParamNone*,void> m_aInvalidationHandler;
|
||||
bool m_bHideInactiveSelection;
|
||||
|
||||
public:
|
||||
@@ -37,7 +37,7 @@ namespace frm
|
||||
|
||||
void setView( EditView& _rView );
|
||||
|
||||
inline void setAttributeInvalidationHandler( const Link<>& _rHandler ) { m_aInvalidationHandler = _rHandler; }
|
||||
inline void setAttributeInvalidationHandler( const Link<LinkParamNone*,void>& _rHandler ) { m_aInvalidationHandler = _rHandler; }
|
||||
|
||||
void SetHideInactiveSelection( bool _bHide );
|
||||
bool GetHideInactiveSelection() const { return m_bHideInactiveSelection; }
|
||||
|
Reference in New Issue
Block a user