[Libreoffice-commits] core.git: forms/source
Noel Grandin
noelgrandin at gmail.com
Wed Sep 23 06:07:55 PDT 2015
forms/source/richtext/richtextimplcontrol.cxx | 3 +--
forms/source/richtext/richtextimplcontrol.hxx | 2 +-
forms/source/richtext/richtextviewport.hxx | 4 ++--
3 files changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 146fe08382999faf77d268a24ba3ef3bfea18a7e
Author: Noel Grandin <noelgrandin at gmail.com>
Date: Wed Sep 23 09:55:11 2015 +0200
convert Link<> to typed
Change-Id: Ica5093e29630d6d6974ccba034609129887ac85b
Reviewed-on: https://gerrit.libreoffice.org/18802
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index 32b512a..2bece2f 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -311,10 +311,9 @@ namespace frm
}
- IMPL_LINK_NOARG( RichTextControlImpl, OnInvalidateAllAttributes )
+ IMPL_LINK_NOARG_TYPED( RichTextControlImpl, OnInvalidateAllAttributes, LinkParamNone*, void )
{
updateAllAttributes();
- return 0L;
}
diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx
index 48087c0..7d0f348 100644
--- a/forms/source/richtext/richtextimplcontrol.hxx
+++ b/forms/source/richtext/richtextimplcontrol.hxx
@@ -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 );
};
diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx
index f67025e..f6f380e 100644
--- a/forms/source/richtext/richtextviewport.hxx
+++ b/forms/source/richtext/richtextviewport.hxx
@@ -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; }
More information about the Libreoffice-commits
mailing list