diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 5 | ||||
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.hxx | 2 |
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 ); |