editeng/source/items/frmitems.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 1489254311e75a379a129bceeab49643ebea04e0 Author: Dezsi Szabolcs <dezsisz...@hotmail.com> Date: Fri Apr 20 14:10:56 2012 +0530 fdo#47436: Fixed crash while opening odt file. diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index efdcadb..d4b876b 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -1951,7 +1951,8 @@ bool SvxBoxItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) for (int n(0); n != SAL_N_ELEMENTS(aBorders); ++n) { editeng::SvxBorderLine* pLine = const_cast< editeng::SvxBorderLine* >( GetLine( aBorders[n] ) ); - pLine->SetStyle( eBorderStyle ); + if( pLine ) + pLine->SetStyle( eBorderStyle ); } return sal_True; } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits