summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-17 17:48:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-11-21 15:38:36 +0000
commit1d3c75a4ccaee7097ddecd39bed5d43e343a91dc (patch)
treec96cf370ecf5ed533f5a073627786b72f4052f80
parentaf0909f1b88a47db1ea0ea53cdac59daee42db0b (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 899c5ea9dc3c34892edfde642510514779132910)
-rw-r--r--sw/source/core/text/itrcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index a2478fb5ebd4..6317f388e789 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();