summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-20 10:20:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-20 10:20:30 +0100
commit9cad46b36427aba3082dc096a19f96fc63276ed1 (patch)
treefff7fa221741aa2275092a79a5829da679ca231b
parent7543a4165be9333054ab14f8a0d99af52fc71530 (diff)
move comment into assert
Change-Id: I230fdf40dc2df552b8cfbdee33e8d3bd25fb81de
-rw-r--r--sw/source/core/bastyp/index.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index f180ce08f5bc..cdf89e1170a2 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(