[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source

Julien Nabet serval2412 at yahoo.fr
Thu Nov 21 07:39:15 PST 2013


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

New commits:
commit 1d3c75a4ccaee7097ddecd39bed5d43e343a91dc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Nov 17 17:48:31 2013 +0100

    Resolves: fdo#67263 CRASH when deleting applied bulleted paragraph style
    
    Change-Id: I70dc18363480e6c07577a93279ddd083631f6cc3
    Reviewed-on: https://gerrit.libreoffice.org/6702
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit 899c5ea9dc3c34892edfde642510514779132910)

diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index a2478fb..6317f38 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -141,7 +141,7 @@ namespace {
     {
         bool bRet( false );
 
-        if ( rTxtNode.AreListLevelIndentsApplicable() )
+        if ( rTxtNode.GetNumRule() && rTxtNode.AreListLevelIndentsApplicable() )
         {
             int nListLevel = rTxtNode.GetActualListLevel();
 


More information about the Libreoffice-commits mailing list