summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/dbgui/foptmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/dbgui/foptmgr.cxx')
-rw-r--r--sc/source/ui/dbgui/foptmgr.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sc/source/ui/dbgui/foptmgr.cxx b/sc/source/ui/dbgui/foptmgr.cxx
index 847b5b737b0f..8d3b82a0aa48 100644
--- a/sc/source/ui/dbgui/foptmgr.cxx
+++ b/sc/source/ui/dbgui/foptmgr.cxx
@@ -174,7 +174,7 @@ void ScFilterOptionsMgr::Init()
pBtnCopyResult->Check();
pEdCopyArea->SetText( aString );
- EdAreaModifyHdl( pEdCopyArea );
+ EdAreaModifyHdl( *pEdCopyArea );
pLbCopyArea->Enable();
pEdCopyArea->Enable();
pRbCopyArea->Enable();
@@ -223,11 +223,11 @@ IMPL_LINK_TYPED( ScFilterOptionsMgr, LbAreaSelHdl, ListBox&, rLb, void )
}
}
-IMPL_LINK( ScFilterOptionsMgr, EdAreaModifyHdl, Edit*, pEd )
+IMPL_LINK_TYPED( ScFilterOptionsMgr, EdAreaModifyHdl, Edit&, rEd, void )
{
- if ( pEd == pEdCopyArea )
+ if ( &rEd == pEdCopyArea )
{
- OUString theCurPosStr = pEd->GetText();
+ OUString theCurPosStr = rEd.GetText();
sal_uInt16 nResult = ScAddress().Parse( theCurPosStr, pDoc, pDoc->GetAddressConvention() );
if ( SCA_VALID == (nResult & SCA_VALID) )
@@ -240,15 +240,13 @@ IMPL_LINK( ScFilterOptionsMgr, EdAreaModifyHdl, Edit*, pEd )
if (theCurPosStr == *pStr)
{
pLbCopyArea->SelectEntryPos( i );
- return 0;
+ return;
}
}
}
pLbCopyArea->SelectEntryPos( 0 );
}
-
- return 0;
}
IMPL_LINK_TYPED( ScFilterOptionsMgr, BtnCopyResultHdl, CheckBox&, rBox, void )