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

Caolán McNamara caolanm at redhat.com
Wed Aug 20 02:22:04 PDT 2014


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

New commits:
commit 9cad46b36427aba3082dc096a19f96fc63276ed1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 20 10:20:30 2014 +0100

    move comment into assert
    
    Change-Id: I230fdf40dc2df552b8cfbdee33e8d3bd25fb81de

diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index f180ce0..cdf89e1 100644
--- a/sw/source/core/bastyp/index.cxx
+++ b/sw/source/core/bastyp/index.cxx
@@ -214,7 +214,7 @@ SwIndexReg::SwIndexReg()
 
 SwIndexReg::~SwIndexReg()
 {
-    assert(!m_pFirst && !m_pLast); // There are still indices registered
+    assert(!m_pFirst && !m_pLast && "There are still indices registered");
 }
 
 void SwIndexReg::Update(


More information about the Libreoffice-commits mailing list