[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sw/source
Julien Nabet
serval2412 at yahoo.fr
Mon Nov 25 05:47:27 PST 2013
sw/source/core/text/itrcrsr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 509f1f456d6a7d3ec3aca6620a8a3c1302045c6b
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)
Reviewed-on: https://gerrit.libreoffice.org/6755
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 3befea2..3891390 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()) );
More information about the Libreoffice-commits
mailing list