[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Fri Jun 28 02:22:51 PDT 2013


 sw/source/core/layout/frmtool.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 296c2af27a189e8406957ac44eb412ec3f9a74fd
Author: Julien Nabet <serval2412 at 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 <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

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;
             }
         }


More information about the Libreoffice-commits mailing list