[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Mon Feb 17 12:06:32 CET 2014


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

New commits:
commit e16614f440aae289316531113050c6b70d194b7a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Feb 17 12:05:45 2014 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: Ibb9b21806e73ddb0071e906fd200efce515055a0

diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index b907831..9689f86 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -2083,7 +2083,7 @@ bool SwDoc::NumOrNoNum( const SwNodeIndex& rIdx, sal_Bool bDel )
                 GetIDocumentUndoRedo().AppendUndo(pUndo);
             }
         }
-        else if (bDel && pTxtNd->GetNumRule(sal_False) &&
+        else if (bDel && pTxtNd->GetNumRule(false) &&
                  pTxtNd->GetActualListLevel() >= 0 &&
                  pTxtNd->GetActualListLevel() < MAXLEVEL)
         {


More information about the Libreoffice-commits mailing list