svx/source/fmcomp/gridcell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ae081cc1137fc0f41612504994d58fe0d9c0a7fc Author: Noel Grandin <[email protected]> AuthorDate: Thu Oct 25 11:09:58 2018 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Oct 25 12:07:39 2018 +0200 tdf#120830 crash opening Form-Based Filters regression from commit 7469e078dc3a7a891bd7f5c44a693e4421d3bcdd loplugin:useuniqueptr in FmXGridCell Change-Id: Ia74fcb518fe568d702101ff088f30dc8c096528f Reviewed-on: https://gerrit.libreoffice.org/62346 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index ae0690c23c4f..3231452d8434 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -4528,7 +4528,7 @@ FmXFilterCell::FmXFilterCell(DbGridColumn* pColumn, std::unique_ptr<DbFilterFiel :FmXGridCell( pColumn, std::move(pControl) ) ,m_aTextListeners(m_aMutex) { - pControl->SetCommitHdl( LINK( this, FmXFilterCell, OnCommit ) ); + static_cast<DbFilterField*>(m_pCellControl.get())->SetCommitHdl( LINK( this, FmXFilterCell, OnCommit ) ); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
