summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) );
}