diff options
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TEditControl.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index e0606f90d6fe..7032c987f178 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -495,7 +495,7 @@ void OTableEditorCtrl::InitController(CellControllerRef&, long nRow, sal_uInt16 EditBrowseBox::RowStatus OTableEditorCtrl::GetRowStatus(long nRow) const { DBG_CHKTHIS(OTableEditorCtrl,NULL); - ( (OTableEditorCtrl*)this )->SetDataPtr( nRow ); + (const_cast<OTableEditorCtrl*>(this))->SetDataPtr( nRow ); if( !pActRow ) return EditBrowseBox::CLEAN; if (nRow >= 0 && nRow == m_nDataPos) |