sw/source/core/layout/frmtool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7af9fea258fe9429d0ff06a705fe294eb36d1c86 Author: Julien Nabet <serval2...@yahoo.fr> Date: Wed Jun 26 22:31:11 2013 +0200 fdo#66101: lowriter crashed when trying to open .docx file Change-Id: I516bcb4bc18806d5a83f94c0776bd0f918a1e927 Reviewed-on: https://gerrit.libreoffice.org/4550 Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/4610 diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 9123987..06dc22c 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -1913,7 +1913,7 @@ static bool lcl_hasTabFrm(const SwTxtFrm* pTxtFrm) if (pObject->IsA(TYPE(SwFlyFrm))) { SwFlyFrm* pFly = (SwFlyFrm*)pObject; - if (pFly->Lower()->IsTabFrm()) + if (pFly->Lower() && pFly->Lower()->IsTabFrm()) return true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits