summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/source/stortree.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx
index 8e91cf03dfa6..5e96a6e4819a 100644
--- a/store/source/stortree.cxx
+++ b/store/source/stortree.cxx
@@ -297,8 +297,7 @@ storeError OStoreBTreeNodeObject::remove (
void OStoreBTreeRootObject::testInvariant (char const * message)
{
OSL_PRECOND(m_xPage.get() != 0, "OStoreBTreeRootObject::testInvariant(): Null pointer");
- bool result = ((m_xPage->location() - m_xPage->size()) == 0);
- SAL_WARN_IF( !result, "store", message);
+ SAL_WARN_IF( (m_xPage->location() - m_xPage->size()) != 0, "store", message);
}
/*