summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-17 17:48:31 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-25 07:47:04 -0600
commit509f1f456d6a7d3ec3aca6620a8a3c1302045c6b (patch)
treef47364ff725e09cfe8e99c15e1004a11553d7822
parent01fc9d77764e49583be626d0955ccf872f9b4117 (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) Reviewed-on: https://gerrit.libreoffice.org/6755 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@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 3befea223a83..389139052621 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -139,7 +139,7 @@ namespace {
{
bool bRet( false );
- if ( rTxtNode.AreListLevelIndentsApplicable() )
+ if ( rTxtNode.GetNumRule() && rTxtNode.AreListLevelIndentsApplicable() )
{
const SwNumFmt& rNumFmt =
rTxtNode.GetNumRule()->Get( static_cast<sal_uInt16>(rTxtNode.GetActualListLevel()) );