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 08:18:57 -0600
commit899c5ea9dc3c34892edfde642510514779132910 (patch)
tree39afffc037096382c799272ff094f46442771699
parent31b91f6f8a7cacb062005d6ca2a7b5b2645a9799 (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>
-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();