sw/source/core/layout/ftnfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 40194dc12fd93720c3bea0b3ae2bba54d0b7a82f Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jul 3 22:34:24 2014 +0200 error: reference cannot be bound to dereferenced null pointer ...and SwTxtAttr::GetAttr already asserts non-null-ness. Change-Id: I978f86103e8121e41bf95a2a79cd2263d6e47853 diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx index 88157cc..32f05de 100644 --- a/sw/source/core/layout/ftnfrm.cxx +++ b/sw/source/core/layout/ftnfrm.cxx @@ -479,7 +479,7 @@ SwTwips SwFtnFrm::ShrinkFrm( SwTwips nDist, bool bTst, bool bInfo ) if( nNum != USHRT_MAX ) { SwTxtFtn* pTxtFtn = GetAttr(); - if( &pTxtFtn->GetAttr() && pTxtFtn->GetFtn().GetNumber() == nNum ) + if( pTxtFtn->GetFtn().GetNumber() == nNum ) { int bla = 5; (void)bla; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits