diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-10-27 17:28:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-10-27 17:29:41 +0200 |
commit | ac1eb33bfc4ce95779e8a1ed252d928c799afa40 (patch) | |
tree | 3bbb122ecf1ebbbebb51564a6782c05cb09ec825 /dbaccess/source/ui/tabledesign | |
parent | 4b32624c1890dd8ff146b00b0c1699d75f4a0513 (diff) |
C-Style casting replaced by C++ style
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-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) |