summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-09 07:23:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-09 08:10:11 +0000
commitbe73c1602dbe4d0f09d0e9c4853ec89df3eb37ad (patch)
tree90fea0177273fd5a9499fa66e84f3316de3fe6d7 /extensions
parent61afb4bebafe6e615611e74b17ce0fc43648813f (diff)
convert Link<> to typed
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c Reviewed-on: https://gerrit.libreoffice.org/18431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx5
-rw-r--r--extensions/source/propctrlr/standardcontrol.hxx2
2 files changed, 2 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index 2a9005a3e9ef..b1c205ef4827 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -1303,9 +1303,8 @@ namespace pcr
}
- IMPL_LINK( DropDownEditControl, ReturnHdl, OMultilineFloatingEdit*, /*pMEd*/)
+ IMPL_LINK_NOARG_TYPED( DropDownEditControl, ReturnHdl, FloatingWindow*, void)
{
-
OUString aStr = m_pFloatingEdit->getEdit().GetText();
OUString aStr2 = GetText();
ShowDropDown(false);
@@ -1315,8 +1314,6 @@ namespace pcr
if ( m_pHelper )
m_pHelper->notifyModifiedValue();
}
-
- return 0;
}
diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx
index e88111c453f7..7345543ffd5e 100644
--- a/extensions/source/propctrlr/standardcontrol.hxx
+++ b/extensions/source/propctrlr/standardcontrol.hxx
@@ -406,7 +406,7 @@ namespace pcr
long FindPos(long nSinglePos);
private:
- DECL_LINK( ReturnHdl, OMultilineFloatingEdit* );
+ DECL_LINK_TYPED( ReturnHdl, FloatingWindow*, void );
DECL_LINK_TYPED( DropDownHdl, Button*, void );
bool ShowDropDown( bool bShow );