sw/source/core/fields/cellfml.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 08e43e50a6bb3b41c84fb784701eed0128ef3ab9 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Jan 24 16:33:33 2015 +0000 there's no way that cast is right Change-Id: If036975000b79c8bda196c9d842242b2d0d25118 diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx index b760014..2262c39 100644 --- a/sw/source/core/fields/cellfml.cxx +++ b/sw/source/core/fields/cellfml.cxx @@ -163,11 +163,10 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const switch ( pFld->GetTyp()->Which() ) { case RES_SETEXPFLD: - nRet = static_cast<const SwSetExpField*>( pFld )->GetValue(); + nRet = static_cast<const SwSetExpField*>(pFld)->GetValue(); break; case RES_USERFLD: - nRet = reinterpret_cast<SwUserFieldType const *>(pFld)->GetValue(); - //TODO: is that reinterpret_cast sound? + nRet = static_cast<const SwUserField*>(pFld)->GetValue(); break; case RES_TABLEFLD: {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits