Kaydet (Commit) ac1eb33b authored tarafından Julien Nabet's avatar Julien Nabet

C-Style casting replaced by C++ style

üst 4b32624c
...@@ -495,7 +495,7 @@ void OTableEditorCtrl::InitController(CellControllerRef&, long nRow, sal_uInt16 ...@@ -495,7 +495,7 @@ void OTableEditorCtrl::InitController(CellControllerRef&, long nRow, sal_uInt16
EditBrowseBox::RowStatus OTableEditorCtrl::GetRowStatus(long nRow) const EditBrowseBox::RowStatus OTableEditorCtrl::GetRowStatus(long nRow) const
{ {
DBG_CHKTHIS(OTableEditorCtrl,NULL); DBG_CHKTHIS(OTableEditorCtrl,NULL);
( (OTableEditorCtrl*)this )->SetDataPtr( nRow ); (const_cast<OTableEditorCtrl*>(this))->SetDataPtr( nRow );
if( !pActRow ) if( !pActRow )
return EditBrowseBox::CLEAN; return EditBrowseBox::CLEAN;
if (nRow >= 0 && nRow == m_nDataPos) if (nRow >= 0 && nRow == m_nDataPos)
......
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