Kaydet (Commit) 13cd7ea2 authored tarafından Michael Stahl's avatar Michael Stahl

dbaccess: fix windows build breakage

Change-Id: I69f45dd2d7426ecd99dca7e80e98e95c3e52d4a0
üst 68efa6f5
......@@ -102,7 +102,7 @@ bool ODatasourceSelectDialog::Close()
}
#ifdef HAVE_ODBC_ADMINISTRATION
IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl)
IMPL_LINK_NOARG_TYPED(ODatasourceSelectDialog, ManageClickHdl, Button*, void)
{
if ( !m_pODBCManagement.get() )
m_pODBCManagement.reset( new OOdbcManagement( LINK( this, ODatasourceSelectDialog, ManageProcessFinished ) ) );
......@@ -112,7 +112,7 @@ IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl)
// TODO: error message
m_pDatasource->GrabFocus();
m_pManageDatasources->Disable();
return 1L;
return;
}
m_pDatasource->Disable();
......@@ -121,7 +121,6 @@ IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl)
m_pManageDatasources->Disable();
SAL_WARN_IF( !m_pODBCManagement->isRunning(), "dbaccess.ui", "ODatasourceSelectDialog::ManageClickHdl: success, but not running - you were *fast*!" );
return 0L;
}
IMPL_LINK_NOARG( ODatasourceSelectDialog, ManageProcessFinished )
......
......@@ -63,7 +63,7 @@ public:
protected:
DECL_LINK( ListDblClickHdl, ListBox * );
#ifdef HAVE_ODBC_ADMINISTRATION
DECL_LINK( ManageClickHdl, void* );
DECL_LINK_TYPED(ManageClickHdl, Button*, void);
DECL_LINK( ManageProcessFinished, void* );
#endif
void fillListBox(const StringBag& _rDatasources);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment