summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-25 11:40:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-26 05:27:04 +0000
commit73b158e00177b7abd3f0c43dfdc3c3de1321e212 (patch)
tree3cc33ace6936730bea6a1e0e9d0ea1b34f4519bc /dbaccess
parent18c196f0190d9920673cdd9a4dbc158f08959cfd (diff)
convert Link<> to typed
Change-Id: If1dcc5e50b08540623bb21067c5f74e47192ef9a Reviewed-on: https://gerrit.libreoffice.org/18859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx6
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx2
2 files changed, 3 insertions, 5 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 10fbab45ed52..b0b8d6bce908 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2404,7 +2404,7 @@ IMPL_LINK_TYPED(SbaXDataBrowserController, OnFoundData, FmFoundRecordInformation
xGrid->setCurrentColumnPosition(nViewPos);
}
-IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformation*, pInfo)
+IMPL_LINK_TYPED(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformation&, rInfo, void)
{
Reference< css::sdbcx::XRowLocate > xCursor(getRowSet(), UNO_QUERY);
@@ -2412,7 +2412,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio
{
OSL_ENSURE(xCursor.is(), "SbaXDataBrowserController::OnCanceledNotFound : xCursor is empty");
// move the cursor
- xCursor->moveToBookmark(pInfo->aPosition);
+ xCursor->moveToBookmark(rInfo.aPosition);
}
catch( const Exception& )
{
@@ -2432,8 +2432,6 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio
{
DBG_UNHANDLED_EXCEPTION();
}
-
- return 0L;
}
IMPL_LINK_NOARG_TYPED(SbaXDataBrowserController, OnAsyncGetCellFocus, void*, void)
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index e340c0426891..4005aaf8009b 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -333,7 +333,7 @@ namespace dbaui
// search callbacks
DECL_LINK_TYPED(OnSearchContextRequest, FmSearchContext&, sal_uInt32);
DECL_LINK_TYPED(OnFoundData, FmFoundRecordInformation&, void);
- DECL_LINK(OnCanceledNotFound, FmFoundRecordInformation*);
+ DECL_LINK_TYPED(OnCanceledNotFound, FmFoundRecordInformation&, void);
DECL_LINK_TYPED( OnAsyncGetCellFocus, void*, void );
DECL_LINK_TYPED( OnAsyncDisplayError, void*, void );